summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2006-01-31Changed configure option to --with-libtap-srcdir because requiresTon Voon1-4/+6
tap.h as well as tap.o git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1305 f882894a-f735-0410-b71e-b25c423dba1c
2006-01-30Clearly defined thresholds & ranges in docs. Added get_status routine. AddedTon Voon4-54/+195
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 Voon21-126/+244
test files git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1303 f882894a-f735-0410-b71e-b25c423dba1c
2006-01-21Have to use own id for cvs checkout. Change compile server becauseTon Voon1-2/+2
old one not working consistently git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1302 f882894a-f735-0410-b71e-b25c423dba1c
2005-12-19Break out of testing if a new parameter is requiredTon Voon1-0/+6
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1301 f882894a-f735-0410-b71e-b25c423dba1c
2005-12-16Added ability to output critical on error. Fixed open so it properly fails ↵Harper Mann1-5/+22
if the log file open throws an error, turned on -w in the perl call, fixed warnings git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1300 f882894a-f735-0410-b71e-b25c423dba1c
2005-12-15Display errors with slave queries correctly. Added extra tests for slavesTon Voon3-16/+57
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 Voon3-26/+88
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-15Allow directories and links to be tested by check_file_age. Sanitise output.Ton Voon2-8/+96
Added tests git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1297 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 Voon2-0/+6
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1295 f882894a-f735-0410-b71e-b25c423dba1c
2005-12-02Support for Nagios 1 and Nagios 2 status files (Gerhard Lausser - 1296242)Ton Voon6-31/+257
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1294 f882894a-f735-0410-b71e-b25c423dba1c
2005-12-02Ignore temporary files created for testsTon Voon1-0/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1293 f882894a-f735-0410-b71e-b25c423dba1c
2005-12-01Run longer test on redhat for spopen/pthread problem. Allow enable/disable ofTon Voon3-25/+50
pthread fix via configure option git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1292 f882894a-f735-0410-b71e-b25c423dba1c
2005-11-30Nagiosplug bug # 1251096Harper Mann1-4/+11
check_ntp wasn't properly handing a bad exit status from the external programs it calls (ntpdate and ntpq), so jitter wasn't set. Added check of $? on close and proper error output if status from the sub program call completion is non-zero. This includes "host not found". git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1291 f882894a-f735-0410-b71e-b25c423dba1c
2005-11-29UNKNOWN exit status was returning status of "-1", changed to "3"Harper Mann1-2/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1290 f882894a-f735-0410-b71e-b25c423dba1c
2005-11-29Bug: 1355304 Added patch for ePN and perl warnings. Fixed some text andHarper Mann1-5/+19
a warning about type comparison. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1289 f882894a-f735-0410-b71e-b25c423dba1c
2005-11-18Create a permanent link to HEAD snapshotTon Voon1-1/+8
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1288 f882894a-f735-0410-b71e-b25c423dba1c
2005-11-18Updated with more detailed description of UNKNOWN statesTon Voon1-10/+6
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1287 f882894a-f735-0410-b71e-b25c423dba1c
2005-11-16Fixed some compile errors with new translations. Also reintroduced formattingTon Voon1-139/+35
after discussion with Benoit git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1286 f882894a-f735-0410-b71e-b25c423dba1c
2005-11-15Updated tests to minimise false positives. Breaking down so more obviousTon Voon1-51/+113
what the tests are doing git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1285 f882894a-f735-0410-b71e-b25c423dba1c
2005-11-14Added section re: translationsTon Voon1-0/+19
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1284 f882894a-f735-0410-b71e-b25c423dba1c
2005-11-14localization cleaning ...Benoit Mortier1-959/+962
last commit before sleeping git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1283 f882894a-f735-0410-b71e-b25c423dba1c
2005-11-14start of the cleaning of the localizationBenoit Mortier6-1618/+1806
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1282 f882894a-f735-0410-b71e-b25c423dba1c
2005-11-12Updated check_disk tests to use Test::More (Serhan Kiymaz)Ton Voon2-11/+78
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1281 f882894a-f735-0410-b71e-b25c423dba1c
2005-11-09Using Test::MoreTon Voon1-16/+15
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1280 f882894a-f735-0410-b71e-b25c423dba1c
2005-11-09Added new NPTest->testCmd which returns objects back for testingTon Voon3-38/+98
at the test script level. Updated check_swap and check_imap to this new format git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1279 f882894a-f735-0410-b71e-b25c423dba1c
2005-11-09Problem where absolute thresholds not working on /proc/meminfoTon Voon1-87/+94
systems. Suffixed all variables with the unit of measurement git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1278 f882894a-f735-0410-b71e-b25c423dba1c
2005-11-09Typo with predetermined valuesTon Voon1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1277 f882894a-f735-0410-b71e-b25c423dba1c
2005-11-09Added copyright/license info required in submissionsTon Voon1-0/+3
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1276 f882894a-f735-0410-b71e-b25c423dba1c
2005-11-09Updated dev guidelines to link to NagiosExchange. Removed project adminTon Voon2-71/+39
notes from guidelines into separate file git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1275 f882894a-f735-0410-b71e-b25c423dba1c
2005-11-07incorporated patch from Elan Ruusamäe (ahmake) to overrideM. Sean Finney1-42/+159
program autodetection (see Feature Requests-1341528). i would not call this quite complete just yet (i'll explain more in the tracker), but should be functional and useful enough to commit now, in any case. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1274 f882894a-f735-0410-b71e-b25c423dba1c
2005-11-04Fixed --mismatch option for check_tcp. Added tests into check_imapTon Voon3-2/+6
(Rick Fey - 1339134) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1273 f882894a-f735-0410-b71e-b25c423dba1c
2005-11-03Adding new tinderbox build scriptTon Voon2-1/+281
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1272 f882894a-f735-0410-b71e-b25c423dba1c
2005-11-03Invalid mount point doesn't make sense because most df implementationsTon Voon2-6/+2
would work out the actual mount point. And fixed typo in check_procs.t git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1271 f882894a-f735-0410-b71e-b25c423dba1c
2005-11-03Fixing some test failuresTon Voon3-6/+9
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1270 f882894a-f735-0410-b71e-b25c423dba1c
2005-11-02#995761: patch from ben o'hara to include inode calculations inM. Sean Finney1-35/+105
check_disk.c. previous commit also had a patch for smtp auth support, but i accidentally sent a blank commit message. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1269 f882894a-f735-0410-b71e-b25c423dba1c
2005-11-02check_smtp.cM. Sean Finney1-8/+164
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1268 f882894a-f735-0410-b71e-b25c423dba1c
2005-10-31code cleanups, largely resulting from turning on -Wall. mostlyM. Sean Finney11-20/+24
unused variables and explicit casting issues, but there were a couple gotchas in there too. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1267 f882894a-f735-0410-b71e-b25c423dba1c
2005-10-30turned on -Wall in plugins/Makefile.am via AM_CFLAGS. shouldn't keepM. Sean Finney1-0/+1
our heads in the sand for potential errors, after all :) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1266 f882894a-f735-0410-b71e-b25c423dba1c
2005-10-30another fix from alex: check for '/' in the server_address beforeM. Sean Finney1-1/+1
trying to resolve it via is_host(). git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1265 f882894a-f735-0410-b71e-b25c423dba1c
2005-10-30fixes for some bugs found in my merging of the tcp socket patchM. Sean Finney1-3/+3
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1264 f882894a-f735-0410-b71e-b25c423dba1c
2005-10-29check_log fixes from Ade RixonM. Sean Finney1-4/+6
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1263 f882894a-f735-0410-b71e-b25c423dba1c
2005-10-29patch from nsturm: Makefile.am should have been checking for check_ldapM. Sean Finney1-1/+1
instead of check_ldaps. the result was that check_ldaps was not being created during the build process. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1262 f882894a-f735-0410-b71e-b25c423dba1c
2005-10-25- added code to allow check_tcp (via np_net_connect) work with localM. Sean Finney9-389/+411
unix sockets. some testing would be welcome. based on idea from Alex Samorukov. - also introduced a check_clamd behavior in check_tcp. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1261 f882894a-f735-0410-b71e-b25c423dba1c
2005-10-24initial merging of ae's np_runcmd code into selected plugins.M. Sean Finney10-391/+293
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1260 f882894a-f735-0410-b71e-b25c423dba1c
2005-10-23whoops, missed this one, same as last commitM. Sean Finney1-98/+97
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1259 f882894a-f735-0410-b71e-b25c423dba1c
2005-10-23- compartmentalized ssl code into seperate sslutils.cM. Sean Finney3-137/+175
- ssl-related cleanups in configure.in, and now openssl/gnutls options automatically disable each other. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1258 f882894a-f735-0410-b71e-b25c423dba1c
2005-10-19all plugins now using centralized ssl functions in netutils.cM. Sean Finney5-572/+134
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1257 f882894a-f735-0410-b71e-b25c423dba1c
2005-10-19endif was a few lines off of where it should beM. Sean Finney1-3/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1256 f882894a-f735-0410-b71e-b25c423dba1c