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
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
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
e7cdcfee2a
check_http: add --onredirect=stickyport - also follow the same port
2009-03-21 02:32:50 -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
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
d41a33a434
Add timezone support and fix checks around cert expiration
2009-03-18 03:34:25 -04: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
Ton Voon
674841e279
Create expired cert for testing purposes. Updated tests to check
...
expired and unexpired certificates
2009-03-06 00:24:38 +00:00
Ton Voon
8580335779
Added inline tests for HTTPS using HTTP::Daemon::SSL
2009-03-05 23:37:45 +00:00
Ton Voon
31efea1b49
Fixed coredump from check_nt when drive not found (Olli Hauer - SF 2179754)
2009-02-19 23:43:15 +00:00
Ton Voon
6c5f781bc5
Fixed bug where extra headers and redirect caused segfault (Dieter Van de Walle - 2089159)
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2076 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-08 02:32:03 +00:00
Ton Voon
288b742ed6
check_http now has options to specify the HTTP method (Jan - 2155152)
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2075 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-08 02:08:56 +00:00
Ton Voon
4181892bcc
Fix small test failure
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2056 f882894a-f735-0410-b71e-b25c423dba1c
2008-09-25 08:04:42 +00:00
Ton Voon
3b4d0bb292
Fix HTTP::Daemon::VERSION to get a fixed header size for tests
...
(Sven Nierlein)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2048 f882894a-f735-0410-b71e-b25c423dba1c
2008-08-25 18:39:27 +00:00
Ton Voon
bb5ce4be01
Updated with more tests re: multiple status codes (Sven Nierlein)
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2047 f882894a-f735-0410-b71e-b25c423dba1c
2008-08-25 13:26:11 +00:00
Holger Weiss
c349438e32
The "-e" option now accepts a comma-delimited list of expected status
...
lines (Sven Nierlein - 1894496).
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2046 f882894a-f735-0410-b71e-b25c423dba1c
2008-08-25 11:42:57 +00:00
Ton Voon
e61022df19
Added HTTP tests for status codes
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2045 f882894a-f735-0410-b71e-b25c423dba1c
2008-08-22 13:08:08 +00:00
Ton Voon
baf76c7ffa
Include test for check_procs, using input file
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1955 f882894a-f735-0410-b71e-b25c423dba1c
2008-03-18 10:59:55 +00:00
Ton Voon
a36696e454
Updated check_procs with a hidden --input-file option.
...
Include some sample outputs for testing
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1954 f882894a-f735-0410-b71e-b25c423dba1c
2008-03-18 01:21:54 +00:00
Ton Voon
548083b2ea
Move new util_* functions to lib/
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1451 f882894a-f735-0410-b71e-b25c423dba1c
2006-07-13 12:50:23 +00:00
Ton Voon
4edea20b86
Moving parameter_list into utils_disk.h. Given list of mount points, can
...
now work out best match or exact match.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1448 f882894a-f735-0410-b71e-b25c423dba1c
2006-07-12 19:30:20 +00:00
Ton Voon
ee03f1415a
Moving check_disk functions into utils_disk.c and testing them
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1447 f882894a-f735-0410-b71e-b25c423dba1c
2006-07-12 12:15:42 +00:00
Ton Voon
a8cd7705e7
Synchronise with coreutils 2.95. Gettext now synced with coreutils,
...
so no longer development platform requirement
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1394 f882894a-f735-0410-b71e-b25c423dba1c
2006-05-18 22:05:43 +00:00
Ton Voon
34cb16d283
Internal version of basename if one not found in system
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1383 f882894a-f735-0410-b71e-b25c423dba1c
2006-04-27 13:25:10 +00:00
Ton Voon
f5c1cf6dd4
New function to for escaped strings from command line for send/quit.
...
Adapted from Sebastian Wiesinger's patch (1292404)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1365 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-29 16:33:36 +00:00
Ton Voon
b3b7354467
mysql discovery based on mysql_config (Johan Fischer - 1359414)
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1333 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-21 11:42:59 +00:00
Ton Voon
0d838e4312
Better error message re: tap library
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1328 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-17 14:08:42 +00:00
Ton Voon
dc35902e30
Using libtool to get runpath for tap library
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1325 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-16 17:31:11 +00:00
Ton Voon
6aa8cc090d
Use the installed tap library instead of requesting a compiled object
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1318 f882894a-f735-0410-b71e-b25c423dba1c
2006-02-24 16:41:06 +00:00
Ton Voon
fec8900e4f
Need to distribute perl test file
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1314 f882894a-f735-0410-b71e-b25c423dba1c
2006-02-01 11:53:24 +00:00
Ton Voon
bec6af5108
Fixed invalid free
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1307 f882894a-f735-0410-b71e-b25c423dba1c
2006-01-31 14:36:23 +00:00
Ton Voon
e0688a6911
Clearly defined thresholds & ranges in docs. Added get_status routine. Added
...
set_thresholds routine. Tests enhanced to check new routines
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1304 f882894a-f735-0410-b71e-b25c423dba1c
2006-01-30 22:24:31 +00:00
Ton Voon
795100ae51
Added libtap tests for utils.c library functions. Removed redundant
...
test files
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1303 f882894a-f735-0410-b71e-b25c423dba1c
2006-01-30 16:10:50 +00:00
Ethan Galstad
44a321cb8a
Initial revision
...
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2 f882894a-f735-0410-b71e-b25c423dba1c
2002-02-28 06:42:51 +00:00