Code

nagiosplug.git
17 years ago1.4.7 release
Ton Voon [Thu, 29 Mar 2007 10:32:02 +0000 (10:32 +0000)]
1.4.7 release

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

17 years agoAdding help text for jitter flags
Ton Voon [Thu, 29 Mar 2007 10:25:01 +0000 (10:25 +0000)]
Adding help text for jitter flags

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

17 years agoFix bug #1494629 - check_icmp fails after some time on FreeBSD
Thomas Guyot-Sionnest [Tue, 27 Mar 2007 06:53:57 +0000 (06:53 +0000)]
Fix bug #1494629 - check_icmp fails after some time on FreeBSD

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

17 years agoReinstate --with-nagios-user/group and new --without-group-permissions ./configure...
Ton Voon [Sun, 25 Mar 2007 13:55:14 +0000 (13:55 +0000)]
Reinstate --with-nagios-user/group and new --without-group-permissions ./configure options

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

17 years agoIncrease MAX_INPUT_BUFFER from 1k to 8k in order to increase I/O
Holger Weiss [Thu, 22 Mar 2007 17:54:16 +0000 (17:54 +0000)]
Increase MAX_INPUT_BUFFER from 1k to 8k in order to increase I/O
performance (Stefan Meier)

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

17 years agoFix bogus 'eq ( || )' constructions in check_ifoperstatus.pl.
Gavin Carr [Fri, 16 Mar 2007 12:11:46 +0000 (12:11 +0000)]
Fix bogus 'eq (  ||  )' constructions in check_ifoperstatus.pl.

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

17 years agocheck_ping's timeout interval is only +1 if ping command has a timeout value.
Ton Voon [Mon, 12 Mar 2007 10:51:06 +0000 (10:51 +0000)]
check_ping's timeout interval is only +1 if ping command has a timeout value.
Tests updated to check for 100% packet loss (always if ping has timeout), otherwise
will check for "timed out" string

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

17 years agoAdd tests for new check_icmp switch -m
Thomas Guyot-Sionnest [Sun, 11 Mar 2007 06:51:26 +0000 (06:51 +0000)]
Add tests for new check_icmp switch -m

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

17 years agoConverted check_ping.t to new-style testcases. Added test case for check_icmp -
Ton Voon [Sun, 11 Mar 2007 02:27:21 +0000 (02:27 +0000)]
Converted check_ping.t to new-style testcases. Added test case for check_icmp -
requires sudo access

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

17 years agoFixed some help display. Removed -L from usage as deprecated option
Ton Voon [Sun, 11 Mar 2007 01:57:52 +0000 (01:57 +0000)]
Fixed some help display. Removed -L from usage as deprecated option

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

17 years agoNew switch to check_icmp to set the minimum required hosts for success.
Thomas Guyot-Sionnest [Thu, 8 Mar 2007 09:09:38 +0000 (09:09 +0000)]
New switch to check_icmp to set the minimum required hosts for success.

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

17 years agoFicing C++ style comments
Thomas Guyot-Sionnest [Thu, 8 Mar 2007 06:12:36 +0000 (06:12 +0000)]
Ficing C++ style comments

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

17 years agoFixed C++ style comments, but I don't get why those lines were originally commented...
Thomas Guyot-Sionnest [Thu, 8 Mar 2007 06:09:50 +0000 (06:09 +0000)]
Fixed C++ style comments, but I don't get why those lines were originally commented out.

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

17 years agoFix option handling (Nobuhiro Ban - 1657280)
Ton Voon [Tue, 6 Mar 2007 22:45:57 +0000 (22:45 +0000)]
Fix option handling (Nobuhiro Ban - 1657280)

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

17 years agoFixed compile errors in check_smtp.c
Ton Voon [Tue, 6 Mar 2007 22:29:27 +0000 (22:29 +0000)]
Fixed compile errors in check_smtp.c

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

17 years agoFixed broken HELO cmd (Enrico Scholz - 1675279)
Ton Voon [Tue, 6 Mar 2007 22:17:04 +0000 (22:17 +0000)]
Fixed broken HELO cmd (Enrico Scholz - 1675279)

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

17 years agoUse /usr/ucb/ps on Solaris in preference to pst3 (problems in 64bit mode)
Ton Voon [Tue, 6 Mar 2007 17:29:15 +0000 (17:29 +0000)]
Use /usr/ucb/ps on Solaris in preference to pst3 (problems in 64bit mode)

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

17 years agoTest failure if a filesystem which is a subset of another fails the inode
Ton Voon [Tue, 6 Mar 2007 17:26:43 +0000 (17:26 +0000)]
Test failure if a filesystem which is a subset of another fails the inode
check (Matthias Elbe - 1660953)

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

17 years agoDetect if check_mysql compile will work at ./configure time, due to some
Ton Voon [Tue, 6 Mar 2007 14:18:11 +0000 (14:18 +0000)]
Detect if check_mysql compile will work at ./configure time, due to some
Redhat systems distributing mysql_config, but not the include files

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

17 years agoClearer message when --with-nagios-user is used for ./configure
Ton Voon [Tue, 6 Mar 2007 11:03:35 +0000 (11:03 +0000)]
Clearer message when --with-nagios-user is used for ./configure

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

17 years agoRoot plugins installed with world executable permissions. Removed references
Ton Voon [Tue, 6 Mar 2007 10:48:32 +0000 (10:48 +0000)]
Root plugins installed with world executable permissions. Removed references
to --with-nagios-user and --with-nagios-group in README

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

17 years agoFix for broken check_mrtgtraf
Ethan Galstad [Fri, 2 Mar 2007 01:38:04 +0000 (01:38 +0000)]
Fix for broken check_mrtgtraf

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

17 years agoFix the makefile ('[[' is bash-specific, 'rm -f' don't remove directories)
Thomas Guyot-Sionnest [Sat, 24 Feb 2007 01:03:40 +0000 (01:03 +0000)]
Fix the makefile ('[[' is bash-specific, 'rm -f' don't remove directories)

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

17 years agocheck_sybase now maintained in NagiosExchange
Ton Voon [Wed, 14 Feb 2007 20:56:17 +0000 (20:56 +0000)]
check_sybase now maintained in NagiosExchange

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

17 years agoFixed typo in help for -M
Ton Voon [Wed, 14 Feb 2007 20:52:24 +0000 (20:52 +0000)]
Fixed typo in help for -M

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

17 years agoDocumentation fix re: --escape flag. Fix of ./check_tcp test to webservers
Ton Voon [Wed, 14 Feb 2007 10:11:07 +0000 (10:11 +0000)]
Documentation fix re: --escape flag. Fix of ./check_tcp test to webservers
to make it more standards compliant

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

17 years agoFixed MKINSTALLDIRS problem on some systems - Lars Stavholm
Ton Voon [Fri, 9 Feb 2007 14:35:41 +0000 (14:35 +0000)]
Fixed MKINSTALLDIRS problem on some systems - Lars Stavholm

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

17 years agoAdded test files to test the parse_ini.c routines. Requires libtap
Ton Voon [Wed, 7 Feb 2007 14:46:50 +0000 (14:46 +0000)]
Added test files to test the parse_ini.c routines. Requires libtap

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

17 years agoInclude <sys/param.h> before <sys/swap.h> in order to fix compilation on
Holger Weiss [Wed, 7 Feb 2007 14:06:11 +0000 (14:06 +0000)]
Include <sys/param.h> before <sys/swap.h> in order to fix compilation on
OpenBSD (nsturm - 1653934)

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

17 years agoCorrect vim typo in comment block :P
Thomas Guyot-Sionnest [Tue, 6 Feb 2007 23:30:54 +0000 (23:30 +0000)]
Correct vim typo in comment block :P

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

17 years agocorrecting some translation problems
Benoit Mortier [Tue, 6 Feb 2007 21:03:21 +0000 (21:03 +0000)]
correcting some translation problems

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

17 years agoinitial version of ini file parsing routines in C
M. Sean Finney [Tue, 6 Feb 2007 19:33:55 +0000 (19:33 +0000)]
initial version of ini file parsing routines in C

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

17 years agoadding PACKAGE_BUGREPORT to fix Report-Msgid-Bugs-To:
Benoit Mortier [Tue, 6 Feb 2007 18:34:33 +0000 (18:34 +0000)]
adding PACKAGE_BUGREPORT to fix Report-Msgid-Bugs-To:

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

17 years agoUpdate list of team members. More notes on new releases
Ton Voon [Mon, 5 Feb 2007 13:51:53 +0000 (13:51 +0000)]
Update list of team members. More notes on new releases

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

17 years agoFor 1.4.6 release
Ton Voon [Mon, 5 Feb 2007 13:13:05 +0000 (13:13 +0000)]
For 1.4.6 release

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

17 years agoFix parsing of multiple OIDs sets needmibs = TRUE
Thomas Guyot-Sionnest [Fri, 2 Feb 2007 09:10:22 +0000 (09:10 +0000)]
Fix parsing of multiple OIDs sets needmibs = TRUE

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

17 years agoFix progname being partly set to upper case
Thomas Guyot-Sionnest [Thu, 1 Feb 2007 06:53:12 +0000 (06:53 +0000)]
Fix progname being partly set to upper case
Change formating of invalid hostname output

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

17 years agoAdding NEWS entry for check_jabber
Thomas Guyot-Sionnest [Thu, 1 Feb 2007 05:37:08 +0000 (05:37 +0000)]
Adding NEWS entry for check_jabber

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

17 years agoFix bug #1593073 Check_Log problem with log rotation
Thomas Guyot-Sionnest [Thu, 1 Feb 2007 05:33:07 +0000 (05:33 +0000)]
Fix bug #1593073 Check_Log problem with log rotation

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

17 years agoConverted to new style object and Test::More testing. Skipped jabber server
Ton Voon [Wed, 31 Jan 2007 22:50:54 +0000 (22:50 +0000)]
Converted to new style object and Test::More testing. Skipped jabber server
tests if not defined

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

17 years agoAdd check_jabber test. Will ask for a jabber host (default should be OK)
Thomas Guyot-Sionnest [Wed, 31 Jan 2007 06:18:37 +0000 (06:18 +0000)]
Add check_jabber test. Will ask for a jabber host (default should be OK)

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

17 years agoFix Debian Bug #392610: check_jabber always return warning
Thomas Guyot-Sionnest [Wed, 31 Jan 2007 04:47:30 +0000 (04:47 +0000)]
Fix Debian Bug #392610: check_jabber always return warning

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

17 years agoJail does not requires any arguments
Thomas Guyot-Sionnest [Tue, 30 Jan 2007 14:24:10 +0000 (14:24 +0000)]
Jail does not requires any arguments

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

17 years agomake dist failing without config.rpath in top level. File copied
Ton Voon [Tue, 30 Jan 2007 09:56:47 +0000 (09:56 +0000)]
make dist failing without config.rpath in top level. File copied
from build-aux/

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

17 years agoFix reporting bug using expect, affecting (not fixing) Debian bug #392610: check_jabb...
Thomas Guyot-Sionnest [Tue, 30 Jan 2007 05:01:00 +0000 (05:01 +0000)]
Fix reporting bug using expect, affecting (not fixing) Debian bug #392610: check_jabber always return warning

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

17 years agogrep(1) "-q" isn't portable (e.g., it won't work on Solaris 8), redirect
Holger Weiss [Tue, 30 Jan 2007 02:22:28 +0000 (02:22 +0000)]
grep(1) "-q" isn't portable (e.g., it won't work on Solaris 8), redirect
output to /dev/null instead.

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

17 years agoRevert 1643463 (reversed disk thresholds) keeping the thresholds checks.
Thomas Guyot-Sionnest [Mon, 29 Jan 2007 14:14:05 +0000 (14:14 +0000)]
Revert 1643463 (reversed disk thresholds) keeping the thresholds checks.

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

17 years agoAutomake 1.10 says: "compiling `test_disk.c' with per-target flags
Holger Weiss [Mon, 29 Jan 2007 12:13:08 +0000 (12:13 +0000)]
Automake 1.10 says: "compiling `test_disk.c' with per-target flags
requires `AM_PROG_CC_C_O' in `configure.in'".

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

17 years agoMove config.rpath into build-aux for automake 1.10
Ton Voon [Mon, 29 Jan 2007 10:06:46 +0000 (10:06 +0000)]
Move config.rpath into build-aux for automake 1.10

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

17 years agoRemove description of deprecated ./configure --with-nagios-{user,group}
Holger Weiss [Sun, 28 Jan 2007 22:00:23 +0000 (22:00 +0000)]
Remove description of deprecated ./configure --with-nagios-{user,group}
options.

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

17 years agoDon't try to print `optarg' (which will be a NULL pointer) if an unknown
Holger Weiss [Sun, 28 Jan 2007 21:46:41 +0000 (21:46 +0000)]
Don't try to print `optarg' (which will be a NULL pointer) if an unknown
command line option was used, as this leads to a segfault on some
systems.  The unknown option will be printed by getopt(3) anyway.  So,
simply call print_usage() and exit UNKNOWN via the new usage5() instead.

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

17 years agoFix #1643463: Miscalculating thresholds check_disk
Thomas Guyot-Sionnest [Sat, 27 Jan 2007 21:49:21 +0000 (21:49 +0000)]
Fix #1643463: Miscalculating thresholds check_disk

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

17 years agoChange the variable names `true' and `false' (which are keywords in C99)
Holger Weiss [Sat, 27 Jan 2007 17:49:08 +0000 (17:49 +0000)]
Change the variable names `true' and `false' (which are keywords in C99)
to `yes' and `no'.  Fixes compilation when using SGI's MIPSpro c99(1).

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

17 years agoInclude GNULib's "dirname.h" in order to pull in the base_name()
Holger Weiss [Sat, 27 Jan 2007 17:42:53 +0000 (17:42 +0000)]
Include GNULib's "dirname.h" in order to pull in the base_name()
prototype, fixes compilation of check_procs using SGI's MIPSpro C.

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

17 years agoFix typos.
Holger Weiss [Sat, 27 Jan 2007 16:56:33 +0000 (16:56 +0000)]
Fix typos.

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

17 years agoAdded "-o,--ssh-option=OPTION" which hands "-o OPTION" over to ssh(1) and
Holger Weiss [Sat, 27 Jan 2007 16:51:57 +0000 (16:51 +0000)]
Added "-o,--ssh-option=OPTION" which hands "-o OPTION" over to ssh(1) and
"-q,--quiet" which tells ssh(1) to suppress warnings (Gerhard Lausser - 1472491)

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

17 years agoInclude <sys/param.h> which is a prerequisite for <sys/sysctl.h> on
Holger Weiss [Sat, 27 Jan 2007 16:37:34 +0000 (16:37 +0000)]
Include <sys/param.h> which is a prerequisite for <sys/sysctl.h> on
NetBSD and OpenBSD (at least).

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

17 years agoUpdate references to NEWS instead of CHANGES. Fix compile of libtap
Ton Voon [Thu, 25 Jan 2007 00:58:14 +0000 (00:58 +0000)]
Update references to NEWS instead of CHANGES. Fix compile of libtap
test programs

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

17 years agoUse build-aux directory. Removed unnecessary checks in configure.in.
Ton Voon [Thu, 25 Jan 2007 00:26:20 +0000 (00:26 +0000)]
Use build-aux directory. Removed unnecessary checks in configure.in.
Keeping libtool to link to libtap - can't find a suitable replacement method

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

17 years agoVarious cleanups in the syncing with gnulib
Ton Voon [Wed, 24 Jan 2007 23:18:05 +0000 (23:18 +0000)]
Various cleanups in the syncing with gnulib

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

17 years agoSync with gnulib - lots of extraneous code removed in preference to GNU code
Ton Voon [Wed, 24 Jan 2007 22:47:25 +0000 (22:47 +0000)]
Sync with gnulib - lots of extraneous code removed in preference to GNU code

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

17 years agoSupport `check_ssh --hostname=ADDRESS' (but keep `--host=ADDRESS' for backward
Holger Weiss [Tue, 23 Jan 2007 18:34:45 +0000 (18:34 +0000)]
Support `check_ssh --hostname=ADDRESS' (but keep `--host=ADDRESS' for backward
compatibility) (Ville Mattila - 1642780)

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

17 years agoLocation updates
Holger Weiss [Tue, 23 Jan 2007 18:20:49 +0000 (18:20 +0000)]
Location updates

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

17 years agoAdd missing `break' to the switch-case block that handles the `-m' option
Holger Weiss [Tue, 23 Jan 2007 17:20:43 +0000 (17:20 +0000)]
Add missing `break' to the switch-case block that handles the `-m' option
(Nobuhiro Ban - 1642682)

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

17 years agoInitialize `data' to zero, fixes potential segfault (Nobuhiro Ban - 1642658)
Holger Weiss [Tue, 23 Jan 2007 16:42:01 +0000 (16:42 +0000)]
Initialize `data' to zero, fixes potential segfault (Nobuhiro Ban - 1642658)

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

17 years agoAdd support for statvfs(2) which is needed in order to compile the plugins on
Holger Weiss [Tue, 23 Jan 2007 14:39:09 +0000 (14:39 +0000)]
Add support for statvfs(2) which is needed in order to compile the plugins on
NetBSD 3.0 and newer.  The current coreutils release supports statvfs(2), so
this patch won't be needed anymore when updating the coreutils files.

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

17 years agoAdded "-o,--ssh-option=OPTION" which hands "-o OPTION" over to ssh(1) and
Holger Weiss [Mon, 22 Jan 2007 04:05:37 +0000 (04:05 +0000)]
Added "-o,--ssh-option=OPTION" which hands "-o OPTION" over to ssh(1) and
"-q,--quiet" which tells ssh(1) to suppress warnings (Gerhard Lausser - 1472491)

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

17 years agoUpdated policy on contributed plugins
Ton Voon [Sat, 20 Jan 2007 20:45:44 +0000 (20:45 +0000)]
Updated policy on contributed plugins

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

17 years agoAdministrative notes
Ton Voon [Sat, 20 Jan 2007 20:06:42 +0000 (20:06 +0000)]
Administrative notes

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

17 years agocompilation fixes for check_ntp.c:
M. Sean Finney [Sat, 20 Jan 2007 10:59:25 +0000 (10:59 +0000)]
compilation fixes for check_ntp.c:
- check_ntp.c:290: warning: overflow in implicit constant conversion
  fixed with an explicit cast to int8_t.
- check_ntp.c:544: warning: pointer of type â\80\98void *â\80\99 used in arithmetic
  fixed by casting to ptrdiff_t before arithmetic and (void*) afterwards
- in TVtoNTP64, cast arithmetic result passed to R32 as uint64_t.

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

17 years agoFix bug #1632091: printf format string typos. Add some more cosmetic changes.
Thomas Guyot-Sionnest [Sat, 20 Jan 2007 07:18:12 +0000 (07:18 +0000)]
Fix bug #1632091: printf format string typos. Add some more cosmetic changes.

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

17 years agoFix bug #1632078: critical threshold % incorrectly displayed by check_icmp
Thomas Guyot-Sionnest [Sat, 20 Jan 2007 06:27:17 +0000 (06:27 +0000)]
Fix bug #1632078: critical threshold % incorrectly displayed by check_icmp

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

17 years agoFix bug #1632072 pointer error in plugins/netutils.c. Add changelog entry for previou...
Thomas Guyot-Sionnest [Sat, 20 Jan 2007 06:07:48 +0000 (06:07 +0000)]
Fix bug #1632072 pointer error in plugins/netutils.c. Add changelog entry for previous commit.

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

17 years agoFix bug #1630970 Fix for buffer overflow of check_procs procprog string
Thomas Guyot-Sionnest [Wed, 17 Jan 2007 05:28:22 +0000 (05:28 +0000)]
Fix bug #1630970 Fix for buffer overflow of check_procs procprog string

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

17 years agoAdded notes about check_disk perf data fix. Added test to check perf data is
Ton Voon [Mon, 8 Jan 2007 11:05:55 +0000 (11:05 +0000)]
Added notes about check_disk perf data fix. Added test to check perf data is
same when mount points reversed

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

17 years agoFix bug #1627970: check_disk performance output for more then one partition
Thomas Guyot-Sionnest [Sun, 7 Jan 2007 07:14:04 +0000 (07:14 +0000)]
Fix bug #1627970: check_disk performance output for more then one partition

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

17 years agoFix bug #1629008: check_ping fails to handle Packet filtered error
Thomas Guyot-Sionnest [Sat, 6 Jan 2007 06:41:47 +0000 (06:41 +0000)]
Fix bug #1629008: check_ping fails to handle Packet filtered error

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

17 years agoRevert last patch: it works but not really for the reason I though.
Thomas Guyot-Sionnest [Sat, 6 Jan 2007 06:33:17 +0000 (06:33 +0000)]
Revert last patch: it works but not really for the reason I though.

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

17 years agoFix the way check_ping calculate the maximum run time
Thomas Guyot-Sionnest [Sat, 6 Jan 2007 04:52:58 +0000 (04:52 +0000)]
Fix the way check_ping calculate the maximum run time

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

17 years agoFix bug #1574863: check_real does not accept the '-v' option
Thomas Guyot-Sionnest [Thu, 4 Jan 2007 11:51:04 +0000 (11:51 +0000)]
Fix bug #1574863: check_real does not accept the '-v' option

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

17 years agoFix bug #1592605: check_ping times out
Thomas Guyot-Sionnest [Thu, 4 Jan 2007 11:35:56 +0000 (11:35 +0000)]
Fix bug #1592605: check_ping times out

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

17 years agoAdding my distclean script
Thomas Guyot-Sionnest [Thu, 4 Jan 2007 11:18:41 +0000 (11:18 +0000)]
Adding my distclean script

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

17 years agoRegexps in check_snmp tests fails where they shouldn't.
Thomas Guyot-Sionnest [Sat, 23 Dec 2006 18:59:36 +0000 (18:59 +0000)]
Regexps in check_snmp tests fails where they shouldn't.

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

17 years ago- Fixing small error (wrong file name) in NPTest.pm documentation.
Thomas Guyot-Sionnest [Thu, 21 Dec 2006 05:25:28 +0000 (05:25 +0000)]
- Fixing small error (wrong file name) in NPTest.pm documentation.

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

17 years agoRemoved unused timestamp variable (Matthias Eble)
Ton Voon [Wed, 20 Dec 2006 22:33:29 +0000 (22:33 +0000)]
Removed unused timestamp variable (Matthias Eble)
Fixed redirection test. Added extra tests for funny syntax when checking
certificates, updated help for more common syntax

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

17 years agoFixed inode thresholds, regressed from previous release
Ton Voon [Wed, 20 Dec 2006 19:25:59 +0000 (19:25 +0000)]
Fixed inode thresholds, regressed from previous release

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

17 years agoupdated the nagios-pulgins.pot files now that localization is clean
Benoit Mortier [Wed, 20 Dec 2006 11:32:48 +0000 (11:32 +0000)]
updated the nagios-pulgins.pot files now that localization is clean
first pass at updating the french locale

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

17 years agoEnhanced test for single letters in fqdn
Ton Voon [Tue, 12 Dec 2006 12:59:06 +0000 (12:59 +0000)]
Enhanced test for single letters in fqdn

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

17 years agoAllow single characters in fqdn (Dave Alden)
Ton Voon [Tue, 12 Dec 2006 08:56:01 +0000 (08:56 +0000)]
Allow single characters in fqdn (Dave Alden)

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

17 years agoFixed HP/UX's swapinfo command for check_procs (Dick van den Burg - 1573700)
Ton Voon [Thu, 7 Dec 2006 22:38:18 +0000 (22:38 +0000)]
Fixed HP/UX's swapinfo command for check_procs (Dick van den Burg - 1573700)

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

17 years agoFix coredump on 64bit Solaris. Also adds more error conditions and moves
Ton Voon [Thu, 7 Dec 2006 16:07:42 +0000 (16:07 +0000)]
Fix coredump on 64bit Solaris. Also adds more error conditions and moves
swap specific includes out of common.h (Duncan Ferguson - 1588031)

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

17 years agoMove SSL libs to correct order per plugin
Ton Voon [Wed, 6 Dec 2006 20:34:31 +0000 (20:34 +0000)]
Move SSL libs to correct order per plugin

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

17 years agoOnly include -lssl for plugins that require it
Ton Voon [Wed, 6 Dec 2006 17:36:13 +0000 (17:36 +0000)]
Only include -lssl for plugins that require it

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

17 years agoFlag common compile error because of no ar on Solaris
Ton Voon [Wed, 6 Dec 2006 17:00:30 +0000 (17:00 +0000)]
Flag common compile error because of no ar on Solaris

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

17 years agoRemove CVS files from distribution
Ton Voon [Wed, 6 Dec 2006 15:58:42 +0000 (15:58 +0000)]
Remove CVS files from distribution

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

17 years agoAdd libtool requirement for development
Ton Voon [Wed, 6 Dec 2006 15:53:50 +0000 (15:53 +0000)]
Add libtool requirement for development

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

17 years agoReduced DNS lookups in check_ping and netutils.c in IPv6 configurations
Ton Voon [Thu, 9 Nov 2006 11:44:16 +0000 (11:44 +0000)]
Reduced DNS lookups in check_ping and netutils.c in IPv6 configurations
(Pawel Malachowski)

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

17 years agoAdd alloca files, required for *BSD
Ton Voon [Fri, 3 Nov 2006 15:40:33 +0000 (15:40 +0000)]
Add alloca files, required for *BSD

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

17 years agoFor 1.4.5 release
Ton Voon [Wed, 1 Nov 2006 21:15:52 +0000 (21:15 +0000)]
For 1.4.5 release

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

17 years agoMore edge testcases. Allow anything if ends with a . as long as correct
Ton Voon [Fri, 27 Oct 2006 15:37:31 +0000 (15:37 +0000)]
More edge testcases. Allow anything if ends with a . as long as correct
characters

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