Code

nagiosplug.git
18 years agoReminder of no inline variable declarations
Ton Voon [Wed, 24 May 2006 09:23:50 +0000 (09:23 +0000)]
Reminder of no inline variable declarations

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

18 years agoVariables need to be declared at top of code for better portability
Ton Voon [Wed, 24 May 2006 09:05:35 +0000 (09:05 +0000)]
Variables need to be declared at top of code for better portability
(Gerhard Lausser)

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

18 years agoRequirement of automake 1.8.3, as coreutils needs it
Ton Voon [Fri, 19 May 2006 21:41:03 +0000 (21:41 +0000)]
Requirement of automake 1.8.3, as coreutils needs it

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

18 years agoAdding more required files from gettext
Ton Voon [Fri, 19 May 2006 21:30:59 +0000 (21:30 +0000)]
Adding more required files from gettext

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

18 years agoBug in Makefile.am creation
Ton Voon [Thu, 18 May 2006 23:17:40 +0000 (23:17 +0000)]
Bug in Makefile.am creation

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

18 years agoFixes from coreutils sync: some files now required and removed generateable files
Ton Voon [Thu, 18 May 2006 23:09:03 +0000 (23:09 +0000)]
Fixes from coreutils sync: some files now required and removed generateable files

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

18 years agoSynchronise with coreutils 2.95. Gettext now synced with coreutils,
Ton Voon [Thu, 18 May 2006 22:05:43 +0000 (22:05 +0000)]
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

18 years agoFix for loading SSL libraries at runtime
Ton Voon [Wed, 17 May 2006 10:10:10 +0000 (10:10 +0000)]
Fix for loading SSL libraries at runtime

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

18 years agoFix compile problems on Solaris for pst3 and ssl libs
Ton Voon [Wed, 17 May 2006 08:56:06 +0000 (08:56 +0000)]
Fix compile problems on Solaris for pst3 and ssl libs

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

18 years agocheck_disk_snmp.pl removed. Notice added to CHANGES
Ton Voon [Mon, 15 May 2006 13:20:51 +0000 (13:20 +0000)]
check_disk_snmp.pl removed. Notice added to CHANGES

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

18 years agoChanged snapshot generator due to cvs changes on SF
Ton Voon [Mon, 15 May 2006 13:07:19 +0000 (13:07 +0000)]
Changed snapshot generator due to cvs changes on SF

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

18 years agoLeavers process documented
Ton Voon [Wed, 3 May 2006 14:12:38 +0000 (14:12 +0000)]
Leavers process documented

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

18 years agoInode thresholds not always being initialised (James Fidell - 1476457)
Ton Voon [Tue, 2 May 2006 08:30:21 +0000 (08:30 +0000)]
Inode thresholds not always being initialised (James Fidell - 1476457)

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

18 years agoNew check_ntp and check_apt plugins by Sean
Ton Voon [Tue, 2 May 2006 08:21:38 +0000 (08:21 +0000)]
New check_ntp and check_apt plugins by Sean

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

18 years ago- check_ntp:
M. Sean Finney [Mon, 1 May 2006 21:52:42 +0000 (21:52 +0000)]
- check_ntp:
  - now roughly feature-complete.
  - various bugfixes, esp. offset calculation.
  - enhanced the asynchronous offset polling to set requests that
    haven't recieved a response in >= 1 second to stale and retransmit them,
    which results in much better performance on unreliable networks.
  - we only spend timeout/2 seconds polling offsets, and if we don't get
    everything by that point we work with what we have and set status to
    warning/critical depending on how much data we have.
  - set the same defaults as the perl script.
- commit changes to configure.in to support automatic building of check_apt
  (if apt-get is installed and regex libraries available) and check_ntp
  (unconditionally), now defaulting to check_ntp.c instead of the perl script.
  if this is an issue we can back out the commit of course.  an eye
  should be kept on check_ntp building and running correctly in different
  environments, esp. 64-bit and big-endian platforms, and those with more
  "esoteric" API's (do any of the platforms not have poll()?).
- similar changes to Makefile.am's.
- common.h: add statement to include sys/poll.h
- runcmd.c: exit STATE_UNKNOWN if execve() fails.

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

18 years agoRemove stupid error where pst3 was always compiled
Ton Voon [Fri, 28 Apr 2006 15:52:31 +0000 (15:52 +0000)]
Remove stupid error where pst3 was always compiled

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

18 years agoAdded pst3 into distribution (Jason Kau - 1476451)
Ton Voon [Fri, 28 Apr 2006 08:45:24 +0000 (08:45 +0000)]
Added pst3 into distribution (Jason Kau - 1476451)

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

18 years agoInternal version of basename if one not found in system
Ton Voon [Thu, 27 Apr 2006 13:25:10 +0000 (13:25 +0000)]
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

18 years agoFix check_nagios tests on MacOSX 10.4
Ton Voon [Wed, 19 Apr 2006 09:33:44 +0000 (09:33 +0000)]
Fix check_nagios tests on MacOSX 10.4

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

18 years agoChangeLog update - release pending
Subhendu Ghosh [Wed, 19 Apr 2006 03:47:46 +0000 (03:47 +0000)]
ChangeLog update - release pending

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

18 years agoversion update - release pending
Subhendu Ghosh [Wed, 19 Apr 2006 03:42:34 +0000 (03:42 +0000)]
version update - release pending

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

18 years agoFinal commit of fr.po
Benoit Mortier [Mon, 17 Apr 2006 21:08:52 +0000 (21:08 +0000)]
Final commit of fr.po

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

18 years agoanother big chunk of fr.po
Benoit Mortier [Mon, 17 Apr 2006 13:54:41 +0000 (13:54 +0000)]
another big chunk of fr.po

Still 20 to go ;)

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

18 years agobig revision of po file for 1.4.3
Benoit Mortier [Sun, 16 Apr 2006 14:24:02 +0000 (14:24 +0000)]
big revision of po file for 1.4.3

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

18 years agosecond part of fr.po updating
Benoit Mortier [Sat, 15 Apr 2006 10:46:06 +0000 (10:46 +0000)]
second part of fr.po updating

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

18 years agoupdated pot file
Benoit Mortier [Fri, 14 Apr 2006 22:44:35 +0000 (22:44 +0000)]
updated pot file
sarted updating fr.po for nagios 1.4.3

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

18 years agothe offset_requests are now parallelized. still stuff needs to be
M. Sean Finney [Wed, 12 Apr 2006 10:00:23 +0000 (10:00 +0000)]
the offset_requests are now parallelized.  still stuff needs to be
done (conveniently marked with XXX), but on well behaving networks
the plugin should behave more or less identical to check_ntp.pl now.

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

18 years agoadded a currently unused but "good for reference" version of offset_request
M. Sean Finney [Wed, 12 Apr 2006 06:33:14 +0000 (06:33 +0000)]
added a currently unused but "good for reference" version of offset_request
which attempts to behave more like ntpdate, but this doesn't yet and
the code isn't actually used yet.

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

18 years agoanother big code-commit to check_ntp. jitter calculations now work, and
M. Sean Finney [Tue, 11 Apr 2006 23:24:07 +0000 (23:24 +0000)]
another big code-commit to check_ntp.  jitter calculations now work, and
the program is becoming much closer on the packet-for-packet level to
how check_ntp.pl behaves.  i'll send an email in the morning :)

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

18 years agoStop coredump on Solaris if arg not specified (Jason Kau - 1465288)
Ton Voon [Thu, 6 Apr 2006 10:08:57 +0000 (10:08 +0000)]
Stop coredump on Solaris if arg not specified (Jason Kau - 1465288)

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

18 years agoNotice added re: check_udp in next release
Ton Voon [Wed, 5 Apr 2006 08:11:12 +0000 (08:11 +0000)]
Notice added re: check_udp in next release

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

18 years agoUse pid_t for pids (1463853)
Ton Voon [Wed, 5 Apr 2006 08:06:19 +0000 (08:06 +0000)]
Use pid_t for pids (1463853)

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

18 years agoAllow multiple -k parameters (Gerd Mueller - 1457726)
Ton Voon [Wed, 5 Apr 2006 07:58:29 +0000 (07:58 +0000)]
Allow multiple -k parameters (Gerd Mueller - 1457726)

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

18 years agofinally??? cvs works again???? let me dig up my week-old cvs
M. Sean Finney [Wed, 5 Apr 2006 06:58:34 +0000 (06:58 +0000)]
finally??? cvs works again????  let me dig up my week-old cvs
commit message.....

i'm becoming very happy with check_apt now :)
- now has support for an externally (configure.in) path to apt-get,
  though i still have that in #ifdefs for the time being.
- support for defining what packages are "critical updates", via
  the already-existing security regexp or overridable on the cmdline
- allow overriding of apt-get cmdline options
- introduce a "no upgrade" in case someone just wants to check that
  they can download the package lists with -u but not check for upgrades.
  might need to change the name of this option to prevent confusion.
- improved -h documentation

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

18 years agoNew function to for escaped strings from command line for send/quit.
Ton Voon [Wed, 29 Mar 2006 16:33:36 +0000 (16:33 +0000)]
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

18 years agoWill die if signal received from a testCmd
Ton Voon [Wed, 29 Mar 2006 15:30:34 +0000 (15:30 +0000)]
Will die if signal received from a testCmd

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

18 years agoAllow 1 second delay in check_udp timeout
Ton Voon [Wed, 29 Mar 2006 14:37:58 +0000 (14:37 +0000)]
Allow 1 second delay in check_udp timeout

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

18 years agoFix possible timeout issue on hostname_invalid
Ton Voon [Wed, 29 Mar 2006 08:18:50 +0000 (08:18 +0000)]
Fix possible timeout issue on hostname_invalid

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

18 years agoFix test if response time is one second
Ton Voon [Wed, 29 Mar 2006 08:13:29 +0000 (08:13 +0000)]
Fix test if response time is one second

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

18 years agonow support for detecting critical/security updates, which sets
M. Sean Finney [Wed, 29 Mar 2006 08:01:19 +0000 (08:01 +0000)]
now support for detecting critical/security updates, which sets
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

18 years agoSet timeout within nc, rather than the test script
Ton Voon [Mon, 27 Mar 2006 08:39:28 +0000 (08:39 +0000)]
Set timeout within nc, rather than the test script

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

18 years agoFixed bug with malloc of wrong size
Ton Voon [Mon, 27 Mar 2006 08:19:01 +0000 (08:19 +0000)]
Fixed bug with malloc of wrong size

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

18 years agoFixing defaults to work
Ton Voon [Fri, 24 Mar 2006 17:26:30 +0000 (17:26 +0000)]
Fixing defaults to work

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

18 years agoReintroduced --with-mysql configure option. Note about SSL cleanup
Ton Voon [Fri, 24 Mar 2006 16:49:28 +0000 (16:49 +0000)]
Reintroduced --with-mysql configure option. Note about SSL cleanup

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

18 years ago-C now implies -S/--ssl as well
Ton Voon [Fri, 24 Mar 2006 16:25:46 +0000 (16:25 +0000)]
-C now implies -S/--ssl as well

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

18 years agoTests converted to new style
Ton Voon [Fri, 24 Mar 2006 16:13:40 +0000 (16:13 +0000)]
Tests converted to new style

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

18 years agoudp checks require and send and receive option. Tests updated so if
Ton Voon [Fri, 24 Mar 2006 16:12:05 +0000 (16:12 +0000)]
udp checks require and send and receive option. Tests updated so if
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

18 years ago- addition of include/exclude option for package names in check_apt,
M. Sean Finney [Thu, 23 Mar 2006 22:58:38 +0000 (22:58 +0000)]
- addition of include/exclude option for package names in check_apt,
  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

18 years agocheck_disk now errors if a specified directory does not exist (cf df /foo)
Ton Voon [Thu, 23 Mar 2006 17:16:38 +0000 (17:16 +0000)]
check_disk now errors if a specified directory does not exist (cf df /foo)

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

18 years agoSome versions of Test::More do not like the m#foo# syntax
Ton Voon [Thu, 23 Mar 2006 16:06:00 +0000 (16:06 +0000)]
Some versions of Test::More do not like the m#foo# syntax

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

18 years agoIncorrect output when checking non-existent disk (John Rouillard - 1326050)
Ton Voon [Thu, 23 Mar 2006 12:01:21 +0000 (12:01 +0000)]
Incorrect output when checking non-existent disk (John Rouillard - 1326050)

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

18 years agomore work on check_apt. more graceful error handling and information
M. Sean Finney [Thu, 23 Mar 2006 00:01:29 +0000 (00:01 +0000)]
more work on check_apt.  more graceful error handling and information
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

18 years agoReinstated --with-mysql option
Ton Voon [Wed, 22 Mar 2006 17:32:11 +0000 (17:32 +0000)]
Reinstated --with-mysql option

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

18 years agoAdded warning and critical response times (John Rouillard - 1343159)
Ton Voon [Wed, 22 Mar 2006 16:45:57 +0000 (16:45 +0000)]
Added warning and critical response times (John Rouillard - 1343159)

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

18 years agoConvert to new style tests
Ton Voon [Wed, 22 Mar 2006 15:45:49 +0000 (15:45 +0000)]
Convert to new style tests

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

18 years agoOptions to change line ends for -s and -q (John Rouillard - 1346104)
Ton Voon [Wed, 22 Mar 2006 15:45:20 +0000 (15:45 +0000)]
Options to change line ends for -s and -q (John Rouillard - 1346104)

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

18 years agoRemove PATH restriction
Ton Voon [Wed, 22 Mar 2006 14:32:06 +0000 (14:32 +0000)]
Remove PATH restriction

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

18 years agoNew style tests. Cleanup of presentation of help. Added '' around -a checks
Ton Voon [Wed, 22 Mar 2006 14:17:10 +0000 (14:17 +0000)]
New style tests. Cleanup of presentation of help. Added '' around -a checks

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

18 years agoTypo (Thomas Guettler - 1433447)
Ton Voon [Wed, 22 Mar 2006 13:18:06 +0000 (13:18 +0000)]
Typo (Thomas Guettler - 1433447)

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

18 years agoRemove hardlink to /bin/sed. Leave to PATH (Abs - 1391483)
Ton Voon [Wed, 22 Mar 2006 12:59:36 +0000 (12:59 +0000)]
Remove hardlink to /bin/sed. Leave to PATH (Abs - 1391483)

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

18 years agoinitial version of a check_apt plugin... not editing configure/Makefile.am's
M. Sean Finney [Wed, 22 Mar 2006 00:00:36 +0000 (00:00 +0000)]
initial version of a check_apt plugin... not editing configure/Makefile.am's
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

18 years agoStop check_dns from compiling if nslookup does not exist (Sakari Lehtonen -
Ton Voon [Tue, 21 Mar 2006 14:20:13 +0000 (14:20 +0000)]
Stop check_dns from compiling if nslookup does not exist (Sakari Lehtonen -
1412721)

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

18 years agoUpdated to new Test::More method for testing
Ton Voon [Tue, 21 Mar 2006 13:42:18 +0000 (13:42 +0000)]
Updated to new Test::More method for testing

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

18 years agoFix for mysql 3.x
Ton Voon [Tue, 21 Mar 2006 13:32:58 +0000 (13:32 +0000)]
Fix for mysql 3.x

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

18 years agoReturn CRITICAL if hostname invalid, as per guidelines
Ton Voon [Tue, 21 Mar 2006 13:31:01 +0000 (13:31 +0000)]
Return CRITICAL if hostname invalid, as per guidelines

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

18 years agoPatch to workaround SFnot having libtool installed
Ton Voon [Tue, 21 Mar 2006 12:56:59 +0000 (12:56 +0000)]
Patch to workaround SFnot having libtool installed

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

18 years agomysql discovery based on mysql_config (Johan Fischer - 1359414)
Ton Voon [Tue, 21 Mar 2006 11:42:59 +0000 (11:42 +0000)]
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

18 years ago- shuffling some code around to keep things tidy.
M. Sean Finney [Mon, 20 Mar 2006 22:06:07 +0000 (22:06 +0000)]
- shuffling some code around to keep things tidy.
- 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

18 years agoipv6 support for c-version of check_ntp
M. Sean Finney [Mon, 20 Mar 2006 17:18:44 +0000 (17:18 +0000)]
ipv6 support for c-version of check_ntp

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

18 years agoinitial version of the pure-c check_ntp implementation. jitter not yet
M. Sean Finney [Sat, 18 Mar 2006 19:00:43 +0000 (19:00 +0000)]
initial version of the pure-c check_ntp implementation.  jitter not yet
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

18 years agoreturn-logic related fix for cert checking, thanks to emmet hogan.
M. Sean Finney [Sat, 18 Mar 2006 14:47:51 +0000 (14:47 +0000)]
return-logic related fix for cert checking, thanks to emmet hogan.

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

18 years agoBetter error message re: tap library
Ton Voon [Fri, 17 Mar 2006 14:08:42 +0000 (14:08 +0000)]
Better error message re: tap library

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

18 years agomysql detection cleanup: fixes runtime linking, autodetection of main
Ton Voon [Fri, 17 Mar 2006 14:07:34 +0000 (14:07 +0000)]
mysql detection cleanup: fixes runtime linking, autodetection of main
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

18 years agoAdded requirement for developer system to have gnu libtool
Ton Voon [Fri, 17 Mar 2006 10:20:45 +0000 (10:20 +0000)]
Added requirement for developer system to have gnu libtool

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

18 years agoUsing libtool to get runpath for tap library
Ton Voon [Thu, 16 Mar 2006 17:31:11 +0000 (17:31 +0000)]
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

18 years agoAlert on amount of time a slave is behind (Steven Kreuzer)
Ton Voon [Wed, 15 Mar 2006 19:54:32 +0000 (19:54 +0000)]
Alert on amount of time a slave is behind (Steven Kreuzer)

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

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