Thomas Guyot-Sionnest
e7e9a99117
Fix usage of repeated -o options in check_snmp
2009-10-22 03:25:41 -04:00
nagiosplugins
43c187a944
Allow custom versions with the release file...
2009-09-25 09:31:04 +00:00
Thomas Guyot-Sionnest
08199792ba
Add proxy-authorization option to check_http (Peter Doherty - #2863772 , Bryan Irvine - #2863925 )
2009-09-21 21:20:33 -04:00
Ton Voon
aa6563c75c
Fix skip number
2009-09-11 23:58:41 +01:00
Thomas Guyot-Sionnest
181ac1e018
Add a test that succeeds on check_snmp v1.4.13. Newer versions skip additional
...
lines so this new test fails on the current head.
Note: check_snmp v1.4.13 with multi-line strings return somewhat v3 output;
it's not exactly what the specs say but it doesn't appears to break them
either. The fix could eventually supports both v2 and v3 output formats.
2009-09-05 03:16:54 -04:00
Thomas Guyot-Sionnest
b8a64210bd
Fix segfault in check_snmp (definitive fix is still in the works - see bug #2832451 )
2009-08-05 03:13:08 -04:00
Thomas Guyot-Sionnest
1295c93651
Fix check_snmp passing single-quotes as -m argument when it should be empty
2009-07-31 23:35:50 -04:00
Thomas Guyot-Sionnest
43571dba91
check_snmp: Add some verbose output and tests
2009-07-31 03:52:10 -04:00
Thomas Guyot-Sionnest
8a96ee4741
Add tests using custom snmp agent
...
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-31 03:07:38 -04:00
Thomas Guyot-Sionnest
e0be2e6094
Fix check_snmp Timetick test with <1 day uptime
2009-07-31 01:41:03 -04:00
Ton Voon
9ff36ec7e3
Added example for check_cluster to alert if more than X non-OK states
2009-06-22 20:48:57 +01:00
Matthias Eble
38e20a1a33
Fixed testcases for check_snmp, check_ifstatus and check_ifoperstatus when 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-13 18:13:49 +02:00
Matthias Eble
aff6140989
Whitespace indent fixes for check_pgsql
2009-06-01 22:47:34 +02:00
Matthias Eble
28e1b836b1
Added verbose output to check_pgsql ( #2799281 - Jun Kuriyama)
...
check_pgsql displayed the -v flag in help output, but didn't
accept the verbosity argument. Added -v and basic verbose output.
2009-06-01 22:08:07 +02:00
Matthias Eble
843c652768
check_fping now supports passing target timeout and interval to fping ( #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-06-01 16:42:14 +02:00
Thomas Guyot-Sionnest
7cb3ae0933
check_snmp: Make use of standard threshold functions
...
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-28 08:10:49 -04:00
Thomas Guyot-Sionnest
34fe4d62fe
Fix whitespaces in check_snmp
2009-05-27 01:38:28 -04:00
Thomas Guyot-Sionnest
fcc4db5aaa
Fix check_by_ssh interpretation of quotes in -C parameter ( #1985246 , #2268675 )
2009-05-26 04:28:41 -04:00
Matthias Eble
221cb49206
Fixed wrong perfdata label for output traffic in check_mrtgtraf
...
check_mrtgtraf used the label "in" for both input and output traffic.
This fixed, now.
2009-05-22 23:57:36 +02:00
Matthias Eble
6f0665719c
Removed -n option in check_smtp's help and usage output ( #2782784 )
...
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-22 20:17:50 +02:00
Thomas Guyot-Sionnest
ecb33e787c
Whitespace changes only
2009-05-20 14:06:29 -04:00
Thomas Guyot-Sionnest
0489df95fc
check_http: Add SSL/TLS hostname extension support (SNI) - ( #1939022 - Joe Presbrey)
2009-05-20 01:05:35 -04:00
Thomas Guyot-Sionnest
917fcc7c30
Fix check_mysql* not using password set in my.cnf ( #2531905 - Ben Timby)
2009-05-20 00:20:11 -04:00
Chris Pepper
2701ccd500
Fix a few minor typos
...
Signed-off-by: Holger Weiss <holger@zedat.fu-berlin.de>
2009-05-19 14:18:42 +02:00
Ton Voon
430d093a6f
Fixed typo in check_disk
2009-05-07 22:28:56 +01:00
Matthias Eble
8e4c885ee1
Fixed crash from check_nt when -H unspecified or given multiple times (sf.net #2731755 , debian #521097 )
2009-05-01 11:16:37 +02:00
Thomas Guyot-Sionnest
dd52d7e5e7
check_nt: allow returning UNKNOWN on timeouts (-u)
2009-03-24 23:46:09 -04:00
Thomas Guyot-Sionnest
386b791af2
Make socket alarm handler customisable (like c459ca07)
2009-03-24 21:40:06 -04:00
Thomas Guyot-Sionnest
ab3ada9aac
check_mysql: Fix segfault with old slaves ( #2696823 - Oskar Ahner)
2009-03-24 02:01:48 -04:00
Thomas Guyot-Sionnest
f2f2f35240
Whitespace and intend cleanup
2009-03-24 01:50:01 -04:00
Thomas Guyot-Sionnest
8aa84840bb
Update check_http short help with new stycky and stickyport options.
2009-03-21 02:56:35 -04:00
Thomas Guyot-Sionnest
795277d9b1
check_http: die when an invalid --onredirect option is specified
2009-03-21 02:39:49 -04:00
Thomas Guyot-Sionnest
e7cdcfee2a
check_http: add --onredirect=stickyport - also follow the same port
2009-03-21 02:32:50 -04:00
Thomas Guyot-Sionnest
d36c976129
negate: make timeouts configurable
2009-03-20 02:28:02 -04:00
Thomas Guyot-Sionnest
c459ca0770
Make alarm handler customisable
2009-03-20 02:19:42 -04:00
Thomas Guyot-Sionnest
4142e17840
negate: Fix not printing the real timeout in ALRM handler when timeout is left to default
2009-03-20 01:40:00 -04:00
Thomas Guyot-Sionnest
31f2afcf4a
tests/check_http.t: Add various timeout-related tests
2009-03-20 01:21:18 -04:00
Thomas Guyot-Sionnest thomas@aei.ca
3dd27fb063
Fixed check_http not timing-out on redirects
2009-03-19 13:59:43 -07:00
Thomas Guyot-Sionnest
37e432ec77
Revert "Add timezone support and fix checks around cert expiration" (keep the expiration fix)
...
This reverts commit d41a33a434 .
2009-03-19 01:04:33 -04:00
Thomas Guyot-Sionnest
ead340235e
Add suggested multi-oid test (John A. Barbuto)
2009-03-18 03:51:16 -04:00
Thomas Guyot-Sionnest
e9f5442bb3
check_snmp: Fix potential buffer overflow - enforce MAX_OIDS limit (John A. Barbuto)
2009-03-18 03:47:23 -04:00
Thomas Guyot-Sionnest
d41a33a434
Add timezone support and fix checks around cert expiration
2009-03-18 03:34:25 -04:00
Thomas Guyot-Sionnest
9a05e97890
Check for existence of pre-instaleld pst3 for Solaris tests in t/check_procs.t
2009-03-17 01:56:26 -05:00
Thomas Guyot-Sionnest
16030bc497
Fix check_http sending HTTP/1.0 with v1.1 headers ( #2638765 )
2009-03-17 01:53:00 -04:00
Thomas Guyot-Sionnest
c3c528952d
Fix check_snmp test on solaris
2009-03-16 18:49:51 -05:00
Thomas Guyot-Sionnest
d89d0b40f9
Update extended check_http tests for 0d78171...
...
Also add some tests, and make debug mode loop infinitely.
2009-03-16 03:09:15 -04:00
Thomas Guyot-Sionnest
6b8502bee6
check_http fixes:
...
- Fix broken printf on 500 errors
- Add bytes to normal output (accidentally removed in 0d78171 )
2009-03-16 03:06:33 -04:00
Thomas Guyot-Sionnest
e2aec83e61
check_snmp fixes:
...
- 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-16 01:37:00 -04:00
Ton Voon
12c17fe8a2
Ignore stderr messages unless return code is non-zero or there is no output
2009-03-14 02:36:20 +00:00
Ton Voon
36e58ae0c3
Fixed passing of quotes in OID for check_snmp ( #1985230 - Jan Wagner, patch by John Barbuto)
2009-03-14 01:17:50 +00:00