aboutsummaryrefslogtreecommitdiff
path: root/plugins
AgeCommit message (Collapse)Author
2012-06-07check_users: Whitespace fixes, etc.Gravatar Holger Weiss
2012-06-07check_users: improve performanceGravatar M. Remy
This patch use the utxent function family to collect the user data. It improve the check speed. Need a system conforming to POSIX.1-2001.
2012-06-06sslutils: Check if OpenSSL supports SSLv2.Gravatar Sebastian Harl
Recent versions/builds seem to disable that feature.
2012-05-29check_http: Fix -C/--certificate option handlingGravatar Holger Weiss
The support for specifying the desired SSL protocol version via an optional -S/--ssl argument broke the -C/--certificate option. This is fixed now.
2012-05-28check_http: Don't ignore SSL initialization errorsGravatar Holger Weiss
SSL initialization errors are now handled properly by check_http (#3095106 - Eric Schoeller).
2012-05-28Add support for specifying SSL protocol versionGravatar Holger Weiss
The check_http -S/--ssl option now takes an optional argument which specifies the desired SSL/TLS protocol version (#3285367 - Jason Lunn).
2012-05-07Disable stateless SSL session resumptionGravatar Holger Weiss
Some versions of OpenSSL fail to negotiate the SSL connection with at least some versions of Tomcat if stateless SSL session resumption support (see RFC4507) is enabled: | CRITICAL - Cannot make SSL connection | 140099330348712:error:140943F2:SSL routines:SSL3_READ_BYTES:sslv3 alert unexpected message:s3_pkt.c:1195:SSL alert number 10 The problem is reproducible with OpenSSL 1.0.0h, but not with OpenSSL 0.9.8o-4squeeze12 (as shipped with Debian 6.0.4). We work around it by disabling the RFC4507 functionality when using OpenSSL versions which support it. Thanks to Dag Bakke for reporting the issue and for giving me access to a server I could use to reproduce the problem.
2012-04-10Merge branch 'master' of ↵Gravatar Matthias Eble
ssh://nagiosplug.git.sourceforge.net/gitroot/nagiosplug/nagiosplug
2012-04-09check_by_ssh: added -F config file to specify alternative ssh configGravatar Sven Nierlein
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
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-08-13Fix: check_ldap now correctly handles the long option --hostname for -HGravatar Matthias Eble
The undocumented --host has been changed to --hostname which is actually mentioned in --help. Thanks to lgarrett (#3191388)
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-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-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-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-15check_nt: make UPTIME accept warning/critical levelsGravatar Thomas Guyot-Sionnest
Patch originally by Ryan Kelly
2010-08-31Fix typos in -f help textGravatar 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-06-30Corrected rate_multiplier calculationGravatar tonvoon
2010-06-30Removed suffix of "-rate" and let user decide label via --labelGravatar tonvoon
2010-06-30Tests for --rate-multiplier optionGravatar tonvoon
2010-06-30Fixed rate-multiplier optionGravatar Ton Voon
2010-06-23Added option to invert search resultsGravatar tonvoon
2010-06-23Display missing search string and URL when failed (Duncan Ferguson #2999924)Gravatar tonvoon
2010-06-23Added state retention APIs. Implemented for check_snmp with --rate option.Gravatar Ton Voon
See http://nagiosplugin.org/c-api-private for more details on the API. Also updated check_snmp -l option to change the perfdata label.
2010-05-08Add missing --fqdn help (Jan Wagner)Gravatar Thomas Guyot-Sionnest
2010-04-28Update extra-opts help text based on ML agreementGravatar Thomas Guyot-Sionnest
2010-04-22Add newline after "Usage:" in --helpGravatar Thomas Guyot-Sionnest
2010-04-22Split long line in check_cluster --helpGravatar Thomas Guyot-Sionnest
2010-04-21Standardize the extra-opts notesGravatar Thomas Guyot-Sionnest
2010-04-21Fix tests and update NEWS fileGravatar Thomas Guyot-Sionnest
2010-04-21Replace the lousy multiline parser with a robust one.Gravatar Thomas Guyot-Sionnest
This one counts double quotes and backslashes so it should handle any level of escaping.
2010-04-21Attempt at fixing check_snmp multiline output:Gravatar Thomas Guyot-Sionnest
This patch tries to detect and output nicely multi-line strings. This method is broken by design; only a count of double-quotes and escapes could work in every situation.
2010-04-14Fix translations when extra-opts aren't enabledGravatar Thomas Guyot-Sionnest
Bug #2832884 reported problem with translations outputting pot file headers. This is caused by "" matching the header of the translation files. This patch moves gettext macros inside utils macros and update some french translations.