Code

nagiosplug.git
18 years agofix for (tracker id 1420741)
M. Sean Finney [Mon, 13 Mar 2006 17:59:23 +0000 (17:59 +0000)]
fix for (tracker id 1420741)
"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

18 years agoChange warning message if there is stderr output. This catches a problem
Ton Voon [Mon, 13 Mar 2006 11:08:28 +0000 (11:08 +0000)]
Change warning message if there is stderr output. This catches a problem
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

18 years agoAdded tests for two external websites with certificates
Ton Voon [Tue, 7 Mar 2006 10:33:00 +0000 (10:33 +0000)]
Added tests for two external websites with certificates

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1321 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoTests re-written in new object format
Ton Voon [Tue, 7 Mar 2006 10:23:31 +0000 (10:23 +0000)]
Tests re-written in new object format

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1320 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoUpdated doc as tap library is now automatically discovered
Ton Voon [Fri, 24 Feb 2006 17:03:57 +0000 (17:03 +0000)]
Updated doc as tap library is now automatically discovered

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1319 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoUse the installed tap library instead of requesting a compiled object
Ton Voon [Fri, 24 Feb 2006 16:41:06 +0000 (16:41 +0000)]
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

18 years agoSIGALRM could be received before child_process is created (Jason Crawford)
Ton Voon [Fri, 17 Feb 2006 09:08:08 +0000 (09:08 +0000)]
SIGALRM could be received before child_process is created (Jason Crawford)

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1317 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoset LC_NUMERIC to POSIX in check_procs.c
M. Sean Finney [Fri, 17 Feb 2006 06:24:53 +0000 (06:24 +0000)]
set LC_NUMERIC to POSIX in check_procs.c

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1316 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoIf a mysql server has anonymous login, tests will always fail
Ton Voon [Wed, 1 Feb 2006 13:23:38 +0000 (13:23 +0000)]
If a mysql server has anonymous login, tests will always fail

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1315 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoNeed to distribute perl test file
Ton Voon [Wed, 1 Feb 2006 11:53:24 +0000 (11:53 +0000)]
Need to distribute perl test file

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1314 f882894a-f735-0410-b71e-b25c423dba1c

18 years agocheck_mysql_query included
Ton Voon [Tue, 31 Jan 2006 16:48:33 +0000 (16:48 +0000)]
check_mysql_query included

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1313 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoNote on MacOSX difference in mysql package
Ton Voon [Tue, 31 Jan 2006 16:47:28 +0000 (16:47 +0000)]
Note on MacOSX difference in mysql package

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1312 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoClean compile of check_mysql_query on MacOSX
Ton Voon [Tue, 31 Jan 2006 16:45:29 +0000 (16:45 +0000)]
Clean compile of check_mysql_query on MacOSX

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1311 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoSort ordering of tests
Ton Voon [Tue, 31 Jan 2006 15:40:20 +0000 (15:40 +0000)]
Sort ordering of tests

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1310 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoAdding check_mysql_query, using new ranges and threshold checking
Ton Voon [Tue, 31 Jan 2006 14:52:49 +0000 (14:52 +0000)]
Adding check_mysql_query, using new ranges and threshold checking

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1309 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoExtra explanation in tests
Ton Voon [Tue, 31 Jan 2006 14:37:11 +0000 (14:37 +0000)]
Extra explanation in tests

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1308 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoFixed invalid free
Ton Voon [Tue, 31 Jan 2006 14:36:23 +0000 (14:36 +0000)]
Fixed invalid free

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1307 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoUpdated instructions on using libtap as configure option changed
Ton Voon [Tue, 31 Jan 2006 10:06:10 +0000 (10:06 +0000)]
Updated instructions on using libtap as configure option changed

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1306 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoChanged configure option to --with-libtap-srcdir because requires
Ton Voon [Tue, 31 Jan 2006 10:05:20 +0000 (10:05 +0000)]
Changed configure option to --with-libtap-srcdir because requires
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

18 years agoClearly defined thresholds & ranges in docs. Added get_status routine. Added
Ton Voon [Mon, 30 Jan 2006 22:24:31 +0000 (22:24 +0000)]
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

18 years agoAdded libtap tests for utils.c library functions. Removed redundant
Ton Voon [Mon, 30 Jan 2006 16:10:50 +0000 (16:10 +0000)]
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

18 years agoHave to use own id for cvs checkout. Change compile server because
Ton Voon [Sat, 21 Jan 2006 21:46:38 +0000 (21:46 +0000)]
Have to use own id for cvs checkout. Change compile server because
old one not working consistently

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1302 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoBreak out of testing if a new parameter is required
Ton Voon [Mon, 19 Dec 2005 09:25:19 +0000 (09:25 +0000)]
Break out of testing if a new parameter is required

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1301 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoAdded ability to output critical on error. Fixed open so it properly fails if the...
Harper Mann [Fri, 16 Dec 2005 18:41:45 +0000 (18:41 +0000)]
Added ability to output critical on error. Fixed open so it properly fails 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

18 years agoDisplay errors with slave queries correctly. Added extra tests for slaves
Ton Voon [Thu, 15 Dec 2005 17:06:55 +0000 (17:06 +0000)]
Display errors with slave queries correctly. Added extra tests for slaves

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1299 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoNew 3 parameter version of getTestParameters. Updated check_disk.t to reflect.
Ton Voon [Thu, 15 Dec 2005 15:19:55 +0000 (15:19 +0000)]
New 3 parameter version of getTestParameters. Updated check_disk.t to reflect.
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

18 years agoAllow directories and links to be tested by check_file_age. Sanitise output.
Ton Voon [Thu, 15 Dec 2005 15:17:49 +0000 (15:17 +0000)]
Allow directories and links to be tested by check_file_age. Sanitise output.
Added tests

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1297 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoNagiosplug bug 1266977. Added code to insert the closing </A> after the plugin outpu...
Harper Mann [Wed, 7 Dec 2005 19:32:37 +0000 (19:32 +0000)]
Nagiosplug bug 1266977.  Added code to insert the closing </A> after the 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

18 years agoNo floorf on Solaris 9 (Jon Vandegrift - 1374705)
Ton Voon [Wed, 7 Dec 2005 15:10:27 +0000 (15:10 +0000)]
No floorf on Solaris 9 (Jon Vandegrift - 1374705)

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1295 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoSupport for Nagios 1 and Nagios 2 status files (Gerhard Lausser - 1296242)
Ton Voon [Fri, 2 Dec 2005 22:28:06 +0000 (22:28 +0000)]
Support for Nagios 1 and Nagios 2 status files (Gerhard Lausser - 1296242)

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1294 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoIgnore temporary files created for tests
Ton Voon [Fri, 2 Dec 2005 22:25:22 +0000 (22:25 +0000)]
Ignore temporary files created for tests

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1293 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoRun longer test on redhat for spopen/pthread problem. Allow enable/disable of
Ton Voon [Thu, 1 Dec 2005 01:05:12 +0000 (01:05 +0000)]
Run longer test on redhat for spopen/pthread problem. Allow enable/disable of
pthread fix via configure option

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1292 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoNagiosplug bug # 1251096
Harper Mann [Wed, 30 Nov 2005 00:49:47 +0000 (00:49 +0000)]
Nagiosplug bug # 1251096
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

18 years agoUNKNOWN exit status was returning status of "-1", changed to "3"
Harper Mann [Tue, 29 Nov 2005 23:21:06 +0000 (23:21 +0000)]
UNKNOWN exit status was returning status of "-1", changed to "3"

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1290 f882894a-f735-0410-b71e-b25c423dba1c

18 years agoBug: 1355304 Added patch for ePN and perl warnings. Fixed some text and
Harper Mann [Tue, 29 Nov 2005 23:19:06 +0000 (23:19 +0000)]
Bug: 1355304 Added patch for ePN and perl warnings.  Fixed some text and
a warning about type comparison.

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1289 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoCreate a permanent link to HEAD snapshot
Ton Voon [Fri, 18 Nov 2005 12:56:08 +0000 (12:56 +0000)]
Create a permanent link to HEAD snapshot

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1288 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoUpdated with more detailed description of UNKNOWN states
Ton Voon [Fri, 18 Nov 2005 11:56:00 +0000 (11:56 +0000)]
Updated with more detailed description of UNKNOWN states

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1287 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoFixed some compile errors with new translations. Also reintroduced formatting
Ton Voon [Wed, 16 Nov 2005 17:26:58 +0000 (17:26 +0000)]
Fixed some compile errors with new translations. Also reintroduced formatting
after discussion with Benoit

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1286 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoUpdated tests to minimise false positives. Breaking down so more obvious
Ton Voon [Tue, 15 Nov 2005 16:26:42 +0000 (16:26 +0000)]
Updated tests to minimise false positives. Breaking down so more obvious
what the tests are doing

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1285 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoAdded section re: translations
Ton Voon [Mon, 14 Nov 2005 14:43:14 +0000 (14:43 +0000)]
Added section re: translations

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1284 f882894a-f735-0410-b71e-b25c423dba1c

19 years agolocalization cleaning ...
Benoit Mortier [Mon, 14 Nov 2005 01:18:57 +0000 (01:18 +0000)]
localization cleaning ...
last commit before sleeping

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1283 f882894a-f735-0410-b71e-b25c423dba1c

19 years agostart of the cleaning of the localization
Benoit Mortier [Mon, 14 Nov 2005 00:51:44 +0000 (00:51 +0000)]
start of the cleaning of the localization

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1282 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoUpdated check_disk tests to use Test::More (Serhan Kiymaz)
Ton Voon [Sat, 12 Nov 2005 23:48:29 +0000 (23:48 +0000)]
Updated check_disk tests to use Test::More (Serhan Kiymaz)

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1281 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoUsing Test::More
Ton Voon [Wed, 9 Nov 2005 17:27:36 +0000 (17:27 +0000)]
Using Test::More

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1280 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoAdded new NPTest->testCmd which returns objects back for testing
Ton Voon [Wed, 9 Nov 2005 16:40:12 +0000 (16:40 +0000)]
Added new NPTest->testCmd which returns objects back for testing
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

19 years agoProblem where absolute thresholds not working on /proc/meminfo
Ton Voon [Wed, 9 Nov 2005 16:37:55 +0000 (16:37 +0000)]
Problem where absolute thresholds not working on /proc/meminfo
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

19 years agoTypo with predetermined values
Ton Voon [Wed, 9 Nov 2005 16:34:50 +0000 (16:34 +0000)]
Typo with predetermined values

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1277 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoAdded copyright/license info required in submissions
Ton Voon [Wed, 9 Nov 2005 14:10:57 +0000 (14:10 +0000)]
Added copyright/license info required in submissions

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1276 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoUpdated dev guidelines to link to NagiosExchange. Removed project admin
Ton Voon [Wed, 9 Nov 2005 09:31:58 +0000 (09:31 +0000)]
Updated dev guidelines to link to NagiosExchange. Removed project admin
notes from guidelines into separate file

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1275 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoincorporated patch from Elan RuusamƤe (ahmake) to override
M. Sean Finney [Mon, 7 Nov 2005 12:46:10 +0000 (12:46 +0000)]
incorporated patch from Elan RuusamƤe (ahmake) to override
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

19 years agoFixed --mismatch option for check_tcp. Added tests into check_imap
Ton Voon [Fri, 4 Nov 2005 09:38:24 +0000 (09:38 +0000)]
Fixed --mismatch option for check_tcp. Added tests into check_imap
(Rick Fey - 1339134)

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1273 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoAdding new tinderbox build script
Ton Voon [Thu, 3 Nov 2005 15:21:31 +0000 (15:21 +0000)]
Adding new tinderbox build script

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1272 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoInvalid mount point doesn't make sense because most df implementations
Ton Voon [Thu, 3 Nov 2005 15:13:13 +0000 (15:13 +0000)]
Invalid mount point doesn't make sense because most df implementations
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

19 years agoFixing some test failures
Ton Voon [Thu, 3 Nov 2005 15:04:16 +0000 (15:04 +0000)]
Fixing some test failures

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1270 f882894a-f735-0410-b71e-b25c423dba1c

19 years ago#995761: patch from ben o'hara to include inode calculations in
M. Sean Finney [Wed, 2 Nov 2005 08:59:33 +0000 (08:59 +0000)]
#995761: patch from ben o'hara to include inode calculations in
         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

19 years agocheck_smtp.c
M. Sean Finney [Wed, 2 Nov 2005 08:47:26 +0000 (08:47 +0000)]
check_smtp.c

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1268 f882894a-f735-0410-b71e-b25c423dba1c

19 years agocode cleanups, largely resulting from turning on -Wall. mostly
M. Sean Finney [Mon, 31 Oct 2005 20:03:19 +0000 (20:03 +0000)]
code cleanups, largely resulting from turning on -Wall.  mostly
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

19 years agoturned on -Wall in plugins/Makefile.am via AM_CFLAGS. shouldn't keep
M. Sean Finney [Sun, 30 Oct 2005 22:45:54 +0000 (22:45 +0000)]
turned on -Wall in plugins/Makefile.am via AM_CFLAGS.  shouldn't keep
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

19 years agoanother fix from alex: check for '/' in the server_address before
M. Sean Finney [Sun, 30 Oct 2005 18:05:19 +0000 (18:05 +0000)]
another fix from alex: check for '/' in the server_address before
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

19 years agofixes for some bugs found in my merging of the tcp socket patch
M. Sean Finney [Sun, 30 Oct 2005 10:25:26 +0000 (10:25 +0000)]
fixes for some bugs found in my merging of the tcp socket patch

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1264 f882894a-f735-0410-b71e-b25c423dba1c

19 years agocheck_log fixes from Ade Rixon
M. Sean Finney [Sat, 29 Oct 2005 15:38:40 +0000 (15:38 +0000)]
check_log fixes from Ade Rixon

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1263 f882894a-f735-0410-b71e-b25c423dba1c

19 years agopatch from nsturm: Makefile.am should have been checking for check_ldap
M. Sean Finney [Sat, 29 Oct 2005 12:46:49 +0000 (12:46 +0000)]
patch from nsturm: Makefile.am should have been checking for check_ldap
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

19 years ago- added code to allow check_tcp (via np_net_connect) work with local
M. Sean Finney [Tue, 25 Oct 2005 10:38:02 +0000 (10:38 +0000)]
- added code to allow check_tcp (via np_net_connect) work with local
  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

19 years agoinitial merging of ae's np_runcmd code into selected plugins.
M. Sean Finney [Mon, 24 Oct 2005 11:10:29 +0000 (11:10 +0000)]
initial merging of ae's np_runcmd code into selected plugins.

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1260 f882894a-f735-0410-b71e-b25c423dba1c

19 years agowhoops, missed this one, same as last commit
M. Sean Finney [Sun, 23 Oct 2005 12:01:06 +0000 (12:01 +0000)]
whoops, missed this one, same as last commit

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1259 f882894a-f735-0410-b71e-b25c423dba1c

19 years ago- compartmentalized ssl code into seperate sslutils.c
M. Sean Finney [Sun, 23 Oct 2005 11:59:43 +0000 (11:59 +0000)]
- compartmentalized ssl code into seperate sslutils.c
- 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

19 years agoall plugins now using centralized ssl functions in netutils.c
M. Sean Finney [Wed, 19 Oct 2005 20:22:00 +0000 (20:22 +0000)]
all plugins now using centralized ssl functions in netutils.c

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1257 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoendif was a few lines off of where it should be
M. Sean Finney [Wed, 19 Oct 2005 13:05:41 +0000 (13:05 +0000)]
endif was a few lines off of where it should be

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1256 f882894a-f735-0410-b71e-b25c423dba1c

19 years ago- initial attempt at consolidating ssl-related code into netutils.{c,h}
M. Sean Finney [Wed, 19 Oct 2005 12:59:55 +0000 (12:59 +0000)]
- initial attempt at consolidating ssl-related code into netutils.{c,h}
- added some #ifdefs to common.h and netutils.h to prevent multiple
  inclusions (as netlibs now includes common.h)
- all ssl plugins (tcp/http/smtp) compile cleanly against gnutls, though
  certificate checking still needs to be done.
- modified configure script so you can also explicitly say "without-gnutls"
  too (otherwise if you disable openssl you have no way of disabling
  gnutls too)

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1255 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoinitial "experimental" support for gnutls. by default openssl is still
M. Sean Finney [Tue, 18 Oct 2005 22:35:29 +0000 (22:35 +0000)]
initial "experimental" support for gnutls.  by default openssl is still
used if available, and gnutls is only used if openssl is not available
or explicitly disabled (--without-openssl).   currently the only plugin
i've verified to work is check_tcp, but i had to disable cert checking.

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1254 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoAdded license information to README with exemption for use of OpenSSL
Ton Voon [Tue, 18 Oct 2005 09:26:20 +0000 (09:26 +0000)]
Added license information to README with exemption for use of OpenSSL

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1253 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoRun spopen tests for Redhat ES SMP (Hans Engelen)
Ton Voon [Thu, 13 Oct 2005 11:51:15 +0000 (11:51 +0000)]
Run spopen tests for Redhat ES SMP (Hans Engelen)

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1252 f882894a-f735-0410-b71e-b25c423dba1c

19 years agodebian bts #313960:
M. Sean Finney [Thu, 13 Oct 2005 10:22:06 +0000 (10:22 +0000)]
debian bts #313960:
- grammatical german fixes.  i'm taking the reporter's word for it :)

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1251 f882894a-f735-0410-b71e-b25c423dba1c

19 years agodebian bts #268044:
M. Sean Finney [Thu, 13 Oct 2005 10:20:50 +0000 (10:20 +0000)]
debian bts #268044:
- use a "less beastly" regex for parsing ntpq output.  probably need
  some more widespread testing on this one.

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1250 f882894a-f735-0410-b71e-b25c423dba1c

19 years agodebian bts #296278:
M. Sean Finney [Thu, 13 Oct 2005 10:18:27 +0000 (10:18 +0000)]
debian bts #296278:
- it seems that when check_disk uses the "df" routines and is told to
  check a non-mountpoint, it would check the filesystem on which the
  directory was mounted (i.e. /var/log -> /var if no /var/log mount).
  the system-call routines now do this too.  might need a bit more
  widespread testing, but looks good for me and i did it without
  modifying any of the system-call-specific codeblocks.

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1249 f882894a-f735-0410-b71e-b25c423dba1c

19 years agodebian bts #307905:
M. Sean Finney [Thu, 13 Oct 2005 10:16:02 +0000 (10:16 +0000)]
debian bts #307905:
- someone changed the cmdline syntax of check game without also
  updating the usage/help function ;p

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1248 f882894a-f735-0410-b71e-b25c423dba1c

19 years agodebian bts #300701:
M. Sean Finney [Thu, 13 Oct 2005 10:14:33 +0000 (10:14 +0000)]
debian bts #300701:
- check_smb fix for freespace threshold parsing from the cmdline options.

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1247 f882894a-f735-0410-b71e-b25c423dba1c

19 years agomultiple fixes in check_smtp from debian (bts #285554):
M. Sean Finney [Thu, 13 Oct 2005 10:11:25 +0000 (10:11 +0000)]
multiple fixes in check_smtp from debian (bts #285554):
- fix for double free via SSL_CTX_free.  looks like the previous author
  knew this was a problem but didn't care enough to fix it ;p.
- use defines instead of const chars for SMTP strings.
- default to send our fqdn (via gethostbyname lookup on gethostname)
  in the HELO string, as this is an RFC/SMTP requirement.  overridable
  via cmdline.
- use EHLO instead of HELO if using STARTTLS, as it is not SMTP but
  ESMTP.
- verify the server supports STARTTLS before initializing it.
- always send QUIT before disconnecting when possible.

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1246 f882894a-f735-0410-b71e-b25c423dba1c

19 years agowas this plugin even working? i don't think the if/else logic
M. Sean Finney [Thu, 13 Oct 2005 09:58:12 +0000 (09:58 +0000)]
was this plugin even working?  i don't think the if/else logic
was doing what was intended.

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1245 f882894a-f735-0410-b71e-b25c423dba1c

19 years agocheck mysql now reads [client] defaults from my.cnf (debian bug #278817)
M. Sean Finney [Thu, 13 Oct 2005 09:55:31 +0000 (09:55 +0000)]
check mysql now reads [client] defaults from my.cnf (debian bug #278817)

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1244 f882894a-f735-0410-b71e-b25c423dba1c

19 years agofix for misreporting temperature in perfdata output for check_ups
M. Sean Finney [Thu, 6 Oct 2005 12:16:06 +0000 (12:16 +0000)]
fix for misreporting temperature in perfdata output for check_ups
(debian bts id: #316534)

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1243 f882894a-f735-0410-b71e-b25c423dba1c

19 years agowhoops. now using automake conditionals to prevent attempted compiles
M. Sean Finney [Thu, 6 Oct 2005 12:12:47 +0000 (12:12 +0000)]
whoops.  now using automake conditionals to prevent attempted compiles
of pst3 on non solaris systems.

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1242 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoadded rules to Makefile.am for pst3
M. Sean Finney [Sun, 25 Sep 2005 16:34:07 +0000 (16:34 +0000)]
added rules to Makefile.am for pst3

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1241 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoa final change to hardcode the path for where plugins are installed.
M. Sean Finney [Sat, 24 Sep 2005 20:01:44 +0000 (20:01 +0000)]
a final change to hardcode the path for where plugins are installed.
it's a very, very ugly hack... if anyone can think of a better way
to do it, i'm all ears.

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1240 f882894a-f735-0410-b71e-b25c423dba1c

19 years agouse test instead of '[ ... ]' in configure.in. the check_procs/pst3
M. Sean Finney [Thu, 22 Sep 2005 12:10:19 +0000 (12:10 +0000)]
use test instead of '[ ... ]' in configure.in.  the check_procs/pst3
situation is still not quite fixed.

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1239 f882894a-f735-0410-b71e-b25c423dba1c

19 years agofirst version of bob ingraham's pst3 to allow checking for longer
M. Sean Finney [Thu, 22 Sep 2005 09:43:12 +0000 (09:43 +0000)]
first version of bob ingraham's pst3 to allow checking for longer
cmdline names than otherwise possible, by querying solaris kmem
directly (ps forcibly truncates).  added requisite configure.in voodoo
and updated THANKS.in.

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1238 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoMark moving of check_dhcp and check_icmp for translation
Ton Voon [Thu, 22 Sep 2005 08:10:56 +0000 (08:10 +0000)]
Mark moving of check_dhcp and check_icmp for translation

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1237 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoUpdated with contributors and new team member
Ton Voon [Wed, 21 Sep 2005 13:07:40 +0000 (13:07 +0000)]
Updated with contributors and new team member

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1236 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoReopen connections for each query (1296296 - David Sullivan)
Ton Voon [Wed, 21 Sep 2005 13:04:54 +0000 (13:04 +0000)]
Reopen connections for each query (1296296 - David Sullivan)

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1235 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoMoved into plugins-root/
Ton Voon [Wed, 21 Sep 2005 10:09:09 +0000 (10:09 +0000)]
Moved into plugins-root/

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1234 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoSeparation of root setuid plugins into plugins-root/
Ton Voon [Wed, 21 Sep 2005 10:06:37 +0000 (10:06 +0000)]
Separation of root setuid plugins into plugins-root/

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1233 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoIncorrect assignment of procppid in configure.in (1296497 - Pascal Larisch)
Ton Voon [Tue, 20 Sep 2005 16:11:24 +0000 (16:11 +0000)]
Incorrect assignment of procppid in configure.in (1296497 - Pascal Larisch)

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1232 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoSupport for Tru64 for check_procs + additional test cases
Ton Voon [Tue, 20 Sep 2005 11:34:34 +0000 (11:34 +0000)]
Support for Tru64 for check_procs + additional test cases

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1231 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoNote to update version number before creating ChangeLog
Ton Voon [Mon, 19 Sep 2005 14:18:28 +0000 (14:18 +0000)]
Note to update version number before creating ChangeLog

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1230 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoFor 1.4.2 release
Ton Voon [Mon, 19 Sep 2005 13:51:20 +0000 (13:51 +0000)]
For 1.4.2 release

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1228 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoUpdated for 1.4.2 release
Ton Voon [Mon, 19 Sep 2005 13:48:39 +0000 (13:48 +0000)]
Updated for 1.4.2 release

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1227 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoReminders for news item and tag format
Ton Voon [Mon, 19 Sep 2005 13:46:04 +0000 (13:46 +0000)]
Reminders for news item and tag format

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1226 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoUpdated BUGS for 1.4.2 release
Ton Voon [Mon, 19 Sep 2005 13:42:44 +0000 (13:42 +0000)]
Updated BUGS for 1.4.2 release

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1225 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoMore contributors
Ton Voon [Mon, 19 Sep 2005 10:58:24 +0000 (10:58 +0000)]
More contributors

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1224 f882894a-f735-0410-b71e-b25c423dba1c

19 years agoAdded test to make sure hostname has to be specified
Ton Voon [Thu, 15 Sep 2005 08:39:23 +0000 (08:39 +0000)]
Added test to make sure hostname has to be specified

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1223 f882894a-f735-0410-b71e-b25c423dba1c