summaryrefslogtreecommitdiffstats
path: root/plugins
AgeCommit message (Collapse)AuthorFilesLines
2009-08-05Fix segfault in check_snmp (definitive fix is still in the works - see bug ↵Thomas Guyot-Sionnest1-3/+5
#2832451)
2009-07-31Fix check_snmp passing single-quotes as -m argument when it should be emptyThomas Guyot-Sionnest1-3/+3
2009-07-31check_snmp: Add some verbose output and testsThomas Guyot-Sionnest2-3/+10
2009-07-31Add tests using custom snmp agentThomas Guyot-Sionnest3-0/+180
Only multi-line string test for now (regression test), counter rollover tests planed with my snmp_counters_new branch. NB: 64bit counters are broken in NetSNMP::agent from NetSNMP version 5.4.1 and lower, but might come in handy one day
2009-07-31Fix check_snmp Timetick test with <1 day uptimeThomas Guyot-Sionnest1-2/+2
2009-06-22Added example for check_cluster to alert if more than X non-OK statesTon Voon1-0/+5
2009-06-13Fixed testcases for check_snmp, check_ifstatus and check_ifoperstatus when ↵Matthias Eble1-3/+5
no snmp community is specified The checks for invalid/unavailable hosts need a complete command line. They failed on hosts where no community was specified. Now, an invalid community is used so the tests can run on hosts w/o snmp host/community in NPTest.cache. Execution will fail anyway.
2009-06-01Whitespace indent fixes for check_pgsqlMatthias Eble1-22/+22
2009-06-01Added verbose output to check_pgsql (#2799281 - Jun Kuriyama)Matthias Eble1-1/+20
check_pgsql displayed the -v flag in help output, but didn't accept the verbosity argument. Added -v and basic verbose output.
2009-06-01check_fping now supports passing target timeout and interval to fping ↵Matthias Eble1-4/+30
(#2347686 - Martin Foster) Added support for passing timeout and interval length to check_fping. To protect compatibility, both options use fping's defaults if they are not specified on the command line.
2009-05-28check_snmp: Make use of standard threshold functionsThomas Guyot-Sionnest2-199/+82
This patch makes use of standard threshold functions. This allows using doubles as thresholds. Since SNMP supports only integers, double precision numbers are only printed when parsed from a STRING type. In addition, support for printing properly Timeticks type has been added, and the code has been thoroughly cleaned.
2009-05-27Fix whitespaces in check_snmpThomas Guyot-Sionnest1-73/+73
2009-05-26Fix check_by_ssh interpretation of quotes in -C parameter (#1985246, #2268675)Thomas Guyot-Sionnest2-18/+58
2009-05-22Fixed wrong perfdata label for output traffic in check_mrtgtrafMatthias Eble1-1/+1
check_mrtgtraf used the label "in" for both input and output traffic. This fixed, now.
2009-05-22Removed -n option in check_smtp's help and usage output (#2782784)Matthias Eble1-5/+1
Check_smtp's help showed the -n/--nocommand options to not send an SMTP command. This usage is covered by check_tcp and is thus not needed in check_smtp.
2009-05-20Whitespace changes onlyThomas Guyot-Sionnest1-2/+2
2009-05-20check_http: Add SSL/TLS hostname extension support (SNI) - (#1939022 - Joe ↵Thomas Guyot-Sionnest3-2/+14
Presbrey)
2009-05-20Fix check_mysql* not using password set in my.cnf (#2531905 - Ben Timby)Thomas Guyot-Sionnest2-8/+8
2009-05-19Fix a few minor typosChris Pepper2-9/+9
Signed-off-by: Holger Weiss <holger@zedat.fu-berlin.de>
2009-05-07Fixed typo in check_diskTon Voon1-5/+5
2009-05-01Fixed crash from check_nt when -H unspecified or given multiple times ↵Matthias Eble2-2/+6
(sf.net #2731755, debian #521097)
2009-03-24check_nt: allow returning UNKNOWN on timeouts (-u)Thomas Guyot-Sionnest1-2/+8
2009-03-24Make socket alarm handler customisable (like c459ca07)Thomas Guyot-Sionnest2-6/+12
2009-03-24check_mysql: Fix segfault with old slaves (#2696823 - Oskar Ahner)Thomas Guyot-Sionnest1-1/+2
2009-03-24Whitespace and intend cleanupThomas Guyot-Sionnest1-210/+210
2009-03-21Update check_http short help with new stycky and stickyport options.Thomas Guyot-Sionnest1-4/+4
2009-03-21check_http: die when an invalid --onredirect option is specifiedThomas Guyot-Sionnest1-6/+7
2009-03-21check_http: add --onredirect=stickyport - also follow the same portThomas Guyot-Sionnest2-19/+51
2009-03-20negate: make timeouts configurableThomas Guyot-Sionnest2-8/+37
2009-03-20Make alarm handler customisableThomas Guyot-Sionnest2-3/+5
2009-03-20negate: Fix not printing the real timeout in ALRM handler when timeout is ↵Thomas Guyot-Sionnest1-1/+3
left to default
2009-03-20tests/check_http.t: Add various timeout-related testsThomas Guyot-Sionnest1-3/+51
2009-03-19Fixed check_http not timing-out on redirectsThomas Guyot-Sionnest thomas@aei.ca1-3/+3
2009-03-19Revert "Add timezone support and fix checks around cert expiration" (keep ↵Thomas Guyot-Sionnest2-11/+8
the expiration fix) This reverts commit d41a33a434558189300113c28b26e2d3d681d390.
2009-03-18Add suggested multi-oid test (John A. Barbuto)Thomas Guyot-Sionnest1-1/+5
2009-03-18check_snmp: Fix potential buffer overflow - enforce MAX_OIDS limit (John A. ↵Thomas Guyot-Sionnest1-2/+1
Barbuto)
2009-03-18Add timezone support and fix checks around cert expirationThomas Guyot-Sionnest2-8/+13
2009-03-17Check for existence of pre-instaleld pst3 for Solaris tests in t/check_procs.tThomas Guyot-Sionnest1-1/+1
2009-03-17Fix check_http sending HTTP/1.0 with v1.1 headers (#2638765)Thomas Guyot-Sionnest1-1/+1
2009-03-16Fix check_snmp test on solarisThomas Guyot-Sionnest1-1/+1
2009-03-16Update extended check_http tests for 0d78171...Thomas Guyot-Sionnest1-42/+39
Also add some tests, and make debug mode loop infinitely.
2009-03-16check_http fixes:Thomas Guyot-Sionnest1-3/+3
- Fix broken printf on 500 errors - Add bytes to normal output (accidentally removed in 0d78171)
2009-03-16check_snmp fixes:Thomas Guyot-Sionnest2-6/+6
- Fix broken compilation caused by typo in command ending - Remove extra whitespaces at EOL - Fix invalid host test on Ubuntu Hardy (and possibly others)
2009-03-14Ignore stderr messages unless return code is non-zero or there is no outputTon Voon1-12/+20
2009-03-14Fixed passing of quotes in OID for check_snmp (#1985230 - Jan Wagner, patch ↵Ton Voon3-166/+182
by John Barbuto)
2009-03-06Create expired cert for testing purposes. Updated tests to checkTon Voon3-10/+92
expired and unexpired certificates
2009-03-05Merge branch 'master' of ssh://repo.or.cz/srv/git/nagiospluginsTon Voon1-0/+2
2009-03-05Added inline tests for HTTPS using HTTP::Daemon::SSLTon Voon3-128/+230
2009-02-24check_snmp long help missing retries entry (#2608223)Thomas Guyot-Sionnest1-0/+2
Fix for check_snmp long help, reported by Richard Edward Horner
2009-02-20Typo fixes (Jan Wagner - SF 1878971)Ton Voon9-21/+21