aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-02-24Clarify that check_http won't verify certificatesGravatar Holger Weiss
Add a note to the --help output which clarifies that check_http doesn't perform certificate verification (beyond what the "-C" option does). (Suggested by Michael Renner in Debian bug report #644627, forwarded by Jan Wagner.)
2012-02-24Cosmetic changeGravatar Holger Weiss
Replace all occurrences of "strstr(s, "c") == s" with "s[0] == 'c'".
2012-02-24Accept multiple labels specified with "-l"Gravatar Holger Weiss
Fix the code which accepts a comma-separated list of labels specified via the "-l" option. (Spotted by Oskar Liljeblad in Debian bug report #647020, forwarded by Jan Wagner.)
2012-02-10Enable compiling on AIX 6.1Gravatar Eric Stanley
2012-01-20Added pst3 to Solaris package.Gravatar Eric Stanley
2011-12-25Updated Nagios::Plugin libraryGravatar Holger Weiss
2011-12-16Commit files which were inadvertently omitted from the previous commit.Gravatar Eric Stanley
2011-12-16Updated Solaris package creation to newer standardsGravatar Eric Stanley
The Solaris package creation has been updated to newer standards to match those of the NRPE package. The following changes have been made: - the plugins now install under /opt/nagios - the name of package is now NGOSplugin - the files installed are now owned by the nagios user - the package includes a pre-installation script that creates a nagios user and a nagios group if one did not previously exist
2011-12-16Fixed issue for compiling mysql plugin on SolarisGravatar Eric Stanley
On Solaris, in the case where the mysql libraries were compiled using a non-gcc compiler, but the plugins are being compiled with gcc, the configure process would incorrectly determine the MYSQLCFLAGS. This has been corrected in the m4/np_mysqlclient.m4 file.
2011-09-07check_sensors: Use symbolic exit codesGravatar Holger Weiss
Specify the exit codes by using the constants from utils.sh.
2011-09-07check_sensors: Minor whitespace fixesGravatar Holger Weiss
2011-09-07check_sensors: Detect FAULT statusGravatar Holger Weiss
Return an UNKNOWN status if a faulty sensor is detected. This can be suppressed with the new "--ignore-fault" option. (Fixes Debian bug #615133, patch suggested by Jan Wagner.)
2011-09-06Make GCC happyGravatar Thomas Guyot-Sionnest
It won't trust us about msg containing no format string, and fail miserably when compiled with -Werror=format-security. Reported by spy6 on IRC.
2011-07-15Fix check_smtp and check_tcp where duplicate messages were displayed for ↵Gravatar Ton Voon
certificate errors (Opsview team)
2011-07-15New option to check_smtp to ignore failures when sending QUIT (#3358348 - ↵Gravatar Ton Voon
Duncan Ferguson)
2011-04-28check_host: Allocate a large-enough buffer for the host table.Gravatar Sebastian Harl
When specifying a host-name on the command line, each of its IPs is added to the host table (and each one is pinged). So, the buffer has to be large enough to hold all of the respective host objects. (argc - 1) only fits hosts with a single IP. Thanks to Max Kosmach <max@tcen.ru> for reporting this in Debian bug #623702.
2011-03-26Add perfdata to check_ssh (#3244097 - Marco Beck)Gravatar Thomas Guyot-Sionnest
2011-02-08check_smtp: Abort on missing/unexpected greetingGravatar Holger Weiss
Abort immediately if we don't receive a server greeting or if the greeting doesn't contain the "--expect"ed string (by default: "220") instead of blindly sending the EHLO/HELO line. Spotted by Daniel Piddock, see Debian bug report #611914.
2011-02-04check_http: check for and print the certificate cnGravatar Thomas Guyot-Sionnest
This patch adds a check for the certificate cn (hostname) to normal certificate checks. It returns CRITICAL if th cn is missing, otherwise it prints it in the normal output. Patch by Stéphane Urbanovski
2011-01-21Fix for regex input of '|', being output causing problems with Nagios' ↵Gravatar Ton Voon
parsing of performance data. Now replaced with ','
2011-01-05Test updates...Gravatar Thomas Guyot-Sionnest
1. Timetick test could fail with uptime > 115 days. Thresholds are double type, so it's safe to put a large number even for 32bit systems. 2. Add a test based on an invalid bug report, worthy anyway.
2011-01-01Update the README textGravatar Thomas Guyot-Sionnest
2011-01-01Make check_http use standard threshold functionsGravatar Thomas Guyot-Sionnest
This enables floating point and ranges, and make the code more standard.
2010-12-23Fix check_ldap overriding the port when --ssl was specified after -pGravatar Thomas Guyot-Sionnest
2010-11-30Fix minor test issuesGravatar Thomas Guyot-Sionnest
My Test::More wouldn't print the total number of tests anymore, moving the plan at the top appears to fix it. At the same time I made check-http.t eval the special modules so it can skip the tests instead of failing.
2010-11-30Revert "check_snmp now considers strings returned by SNMP that contain just"Gravatar Thomas Guyot-Sionnest
This reverts commit 896962a1ad1b7d7c75d42c565b06cc799feb0a7c. Conflicts: NEWS plugins/tests/check_snmp.t Notes: Reverting because I rebased a patch that was doing the same thing, plus fixing more related regressions, and both didn't work together. I kept the tests intact except for one that wouldn't pass on 1.4.14 either
2010-11-30State-based tests enhancementsGravatar Thomas Guyot-Sionnest
- Use /var/tmp for state if no state dir environment variable is set, this avoid the need for a writable localstatedir during tests. - Use "rm -f", mostly to avoid printing out garbage of the directory doesn't exists
2010-11-30check_snmp: Remove that is_numeric madnessGravatar Thomas Guyot-Sionnest
Original patch to make Timeticks works as in check_snmp v1.4.14, it turns out is_numeric isn't so useful and treating all types as numeric works best for backwards-compatibility. This is how it used to work in 1.4.14. As a special case, I also make calculate_rate look up for numeric values as it would otherwise return the last value instead.
2010-11-28add test cases for check_disk_smbGravatar Matthias Eble
2010-11-28check_disk_smb now handles NT_STATUS_ACCESS_DENIED properly (Debian #601696)Gravatar Matthias Eble
2010-11-28Make check_disk_smb accept spaces in share names (#990948, #1370031, Debian ↵Gravatar Matthias Eble
#601699)
2010-11-15Fix check_disk free space calculation if blocksizes differ within a disk ↵Gravatar Matthias Eble
group (Bekar - #2973603) Various values (dused_pct, dfree_pct, inodes_free, inodes_total, ...) are now carried in the parameter_list structure. Assignments have been moved to a subroutine preventing code redundancies. Group metrics are now calculated based on units rather than blocks. This fixes freespace calculation when blocksizes differ within a group.
2010-11-15check_snmp now considers strings returned by SNMP that contain justGravatar nagios
numbers (according to strtod) to be a numeric value for threshold and performance data
2010-10-16Update NEWS for last commitGravatar Thomas Guyot-Sionnest
2010-10-15check_nt: make UPTIME accept warning/critical levelsGravatar Thomas Guyot-Sionnest
Patch originally by Ryan Kelly
2010-10-11sfsnapshotgit: Better handling of remote refsGravatar Thomas Guyot-Sionnest
This commit allow to track branches from unusually-named remote refs and makes possible using external remotes (other than origin) for snapshots.
2010-10-05Patch for check_linux_raid with on linear/raid0 arraysGravatar Thomas Guyot-Sionnest
Fixes bug #3049988, Debian bug #579049
2010-08-31Fix typos in -f help textGravatar Ton Voon
2010-07-27Update the COPYING file to the GPLv3Gravatar Holger Weiss
We switched to the GPLv3 early in 2008, but we forgot to update the COPYING file accordingly.
2010-07-271.4.15 prepGravatar Ton Voon
2010-07-14Merge branch 'master' of ↵Gravatar Ton Voon
ssh://tonvoon@nagiosplug.git.sourceforge.net/gitroot/nagiosplug/nagiosplug
2010-07-14Added text re: MD5SUM updates in nightlies, but tarballs notGravatar Ton Voon
2010-07-09Fix --help output when MAX_OIDS is altered.Gravatar Thomas Guyot-Sionnest
2010-07-07Fix examples in check_disk, where it implied was possible to suffix unit ↵Gravatar Ton Voon
values to warn/crit parameters
2010-07-07Allow check_ifstatus to accept version=2cGravatar Ton Voon
2010-07-02Fix cmd_run overwriting the environmentGravatar Thomas Guyot-Sionnest
Some commands need the environment to function properly. One such example is check_ssh and check_by_ssh when a SOCKS proxy is required. This patch use setenv and extern char **environ to alter and pass the new environment to the child process Those modules have been added to Gnulib for portability.
2010-07-02Import the environ module from gnulib (86ba51)Gravatar Thomas Guyot-Sionnest
2010-07-02git-notify: Be careful with "--no-merge"Gravatar Holger Weiss
The "-X" option (which asks git-notify to not report merge commits) was implemented by setting the "--no-merge" option on each invocation of git-rev-list(1). However, we do not only use git-rev-list(1) to get the list of new commits, but also to check whether the old branch head (or tag) is a parent of the new branch head (or tag). For this latter check, the "--no-merge" option should not be set; otherwise, git-notify would be fooled to believe that the branch has been rewritten if the old head was a merge commit.
2010-06-30Corrected rate_multiplier calculationGravatar tonvoon
2010-06-30Removed suffix of "-rate" and let user decide label via --labelGravatar tonvoon