summaryrefslogtreecommitdiffstats
path: root/plugins
AgeCommit message (Collapse)AuthorFilesLines
2006-03-29Fix possible timeout issue on hostname_invalidTon Voon1-1/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1362 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-29Fix test if response time is one secondTon Voon1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1361 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-29now support for detecting critical/security updates, which setsM. Sean Finney1-8/+24
the return code to STATE_CRITICAL instead of just STATE_WARNING as it was previously doing. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1360 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-27Set timeout within nc, rather than the test scriptTon Voon1-5/+5
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1359 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-27Fixed bug with malloc of wrong sizeTon Voon1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1358 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-24Fixing defaults to workTon Voon1-3/+3
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1357 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-24-C now implies -S/--ssl as wellTon Voon1-10/+8
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1355 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-24Tests converted to new styleTon Voon2-29/+52
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1354 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-24udp checks require and send and receive option. Tests updated so ifTon Voon2-23/+50
nc is available, will check send and receive working correctly git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1353 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-23- addition of include/exclude option for package names in check_apt,M. Sean Finney1-31/+117
using POSIX regexp support. - various commenting and tidying of code/logic/output. - still haven't committed the Makefile.am/configure.in stuff. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1352 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-23check_disk now errors if a specified directory does not exist (cf df /foo)Ton Voon2-6/+12
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1351 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-23Some versions of Test::More do not like the m#foo# syntaxTon Voon1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1350 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-23Incorrect output when checking non-existent disk (John Rouillard - 1326050)Ton Voon2-4/+18
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1349 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-23more work on check_apt. more graceful error handling and informationM. Sean Finney1-20/+99
reporting, a couple new cmdline options. still not quite ready for prime-time, maybe tomorrow :) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1348 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-22Added warning and critical response times (John Rouillard - 1343159)Ton Voon2-4/+34
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1346 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-22Convert to new style testsTon Voon1-18/+36
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1345 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-22Options to change line ends for -s and -q (John Rouillard - 1346104)Ton Voon1-4/+33
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1344 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-22New style tests. Cleanup of presentation of help. Added '' around -a checksTon Voon2-63/+63
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1342 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-22Typo (Thomas Guettler - 1433447)Ton Voon1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1341 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-22initial version of a check_apt plugin... not editing configure/Makefile.am'sM. Sean Finney1-0/+173
until i'm happier with it (better output, better ways to define warning vs. critical thresholds... etc). git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1339 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-21Updated to new Test::More method for testingTon Voon1-8/+9
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1337 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-21Return CRITICAL if hostname invalid, as per guidelinesTon Voon1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1335 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-21mysql discovery based on mysql_config (Johan Fischer - 1359414)Ton Voon2-1/+3
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1333 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-20- shuffling some code around to keep things tidy.M. Sean Finney1-19/+32
- now average the result of 4 queries just as ntpdate does - put things in place for jitter calculation git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1332 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-20ipv6 support for c-version of check_ntpM. Sean Finney1-2/+12
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1331 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-18initial version of the pure-c check_ntp implementation. jitter not yetM. Sean Finney1-0/+355
implemented, and a couple other misc things to do, so i haven't yet patched Makefile.am git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1330 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-18return-logic related fix for cert checking, thanks to emmet hogan.M. Sean Finney1-5/+3
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1329 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-17Better error message re: tap libraryTon Voon1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1328 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-17mysql detection cleanup: fixes runtime linking, autodetection of mainTon Voon4-5/+7
locations, detection of lib64 and different layouts git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1327 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-16Using libtool to get runpath for tap libraryTon Voon1-2/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1325 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-15Alert on amount of time a slave is behind (Steven Kreuzer)Ton Voon2-21/+71
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1324 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-13fix for (tracker id 1420741)M. Sean Finney1-2/+2
"check_swap: incorrect totals for multiple partitions (BSD)" thanks to scott thompson git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1323 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-13Change warning message if there is stderr output. This catches a problemTon Voon1-3/+16
where time was shifting backwards on a linux VMware guest during the ping git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1322 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-07Added tests for two external websites with certificatesTon Voon1-1/+10
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1321 f882894a-f735-0410-b71e-b25c423dba1c
2006-03-07Tests re-written in new object formatTon Voon1-17/+29
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1320 f882894a-f735-0410-b71e-b25c423dba1c
2006-02-24Use the installed tap library instead of requesting a compiled objectTon Voon1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1318 f882894a-f735-0410-b71e-b25c423dba1c
2006-02-17SIGALRM could be received before child_process is created (Jason Crawford)Ton Voon1-5/+9
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1317 f882894a-f735-0410-b71e-b25c423dba1c
2006-02-17set LC_NUMERIC to POSIX in check_procs.cM. Sean Finney1-0/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1316 f882894a-f735-0410-b71e-b25c423dba1c
2006-02-01If a mysql server has anonymous login, tests will always failTon Voon1-2/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1315 f882894a-f735-0410-b71e-b25c423dba1c
2006-02-01Need to distribute perl test fileTon Voon1-0/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1314 f882894a-f735-0410-b71e-b25c423dba1c
2006-01-31Clean compile of check_mysql_query on MacOSXTon Voon1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1311 f882894a-f735-0410-b71e-b25c423dba1c
2006-01-31Adding check_mysql_query, using new ranges and threshold checkingTon Voon5-1/+375
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1309 f882894a-f735-0410-b71e-b25c423dba1c
2006-01-31Extra explanation in testsTon Voon1-1/+7
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1308 f882894a-f735-0410-b71e-b25c423dba1c
2006-01-31Fixed invalid freeTon Voon1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1307 f882894a-f735-0410-b71e-b25c423dba1c
2006-01-30Clearly defined thresholds & ranges in docs. Added get_status routine. AddedTon Voon3-45/+182
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-30Added libtap tests for utils.c library functions. Removed redundantTon Voon19-121/+215
test files git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1303 f882894a-f735-0410-b71e-b25c423dba1c
2005-12-15Display errors with slave queries correctly. Added extra tests for slavesTon Voon2-15/+54
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1299 f882894a-f735-0410-b71e-b25c423dba1c
2005-12-15New 3 parameter version of getTestParameters. Updated check_disk.t to reflect.Ton Voon1-6/+8
Added notes re: testing in developer guidelines. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1298 f882894a-f735-0410-b71e-b25c423dba1c
2005-12-07Nagiosplug bug 1266977. Added code to insert the closing </A> after the ↵Harper Mann1-3/+22
plugin output but before the performance output. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1296 f882894a-f735-0410-b71e-b25c423dba1c
2005-12-07No floorf on Solaris 9 (Jon Vandegrift - 1374705)Ton Voon1-0/+5
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1295 f882894a-f735-0410-b71e-b25c423dba1c