Code

nagiosplug.git
17 years agoTest installs into temporary directories
Ton Voon [Wed, 25 Apr 2007 22:21:35 +0000 (22:21 +0000)]
Test installs into temporary directories

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

17 years agocheck_load can optionally divide by number of cpus
Ton Voon [Wed, 25 Apr 2007 22:10:13 +0000 (22:10 +0000)]
check_load can optionally divide by number of cpus

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

17 years ago#ifdef can only test a single macro, not an expression.
Holger Weiss [Mon, 23 Apr 2007 07:30:47 +0000 (07:30 +0000)]
#ifdef can only test a single macro, not an expression.

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

17 years agoRemove unused variables.
Holger Weiss [Fri, 20 Apr 2007 17:55:09 +0000 (17:55 +0000)]
Remove unused variables.

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

17 years agoInclude "utils_base.h".
Holger Weiss [Fri, 20 Apr 2007 17:46:38 +0000 (17:46 +0000)]
Include "utils_base.h".

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

17 years agoDeclare print_thresholds().
Holger Weiss [Fri, 20 Apr 2007 17:45:44 +0000 (17:45 +0000)]
Declare print_thresholds().

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

17 years agoPredeclare functions and remove unused variables.
Holger Weiss [Fri, 20 Apr 2007 17:39:52 +0000 (17:39 +0000)]
Predeclare functions and remove unused variables.

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

17 years agoUse the 'server identifier' option instead of the 'siaddr' field as the
Holger Weiss [Fri, 20 Apr 2007 17:25:40 +0000 (17:25 +0000)]
Use the 'server identifier' option instead of the 'siaddr' field as the
DHCP server address; see RFC 2131, 2. (Denis Knauf - 1667488)

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

17 years agoFix compilation of check_ldap, check_radius and check_pgsql (*ding*)
Thomas Guyot-Sionnest [Thu, 19 Apr 2007 03:46:14 +0000 (03:46 +0000)]
Fix compilation of check_ldap, check_radius and check_pgsql (*ding*)

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

17 years agoRevert my previous change to "-S/--skip" in favour of the two options
Holger Weiss [Wed, 18 Apr 2007 19:31:29 +0000 (19:31 +0000)]
Revert my previous change to "-S/--skip" in favour of the two options
"-E/--skip-stderr" and "-S/--skip-stdout".  Both of them support
omitting the number of lines to skip, in which case all output on the
respective file descriptor is skipped.  "--skip" is kept as an alias for
"--skip-stdout" for backwards compatibility with recent releases.

Also, print a message if no (non-skipped) stdout/stderr output is
available.  This fixes a segfault if the remote command prints no
output.

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

17 years agoLocalization and help fixes (Thanks Benoit M.)
Thomas Guyot-Sionnest [Sun, 15 Apr 2007 15:17:26 +0000 (15:17 +0000)]
Localization and help fixes (Thanks Benoit M.)

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

17 years agoCosmetic change
Thomas Guyot-Sionnest [Sun, 15 Apr 2007 09:03:42 +0000 (09:03 +0000)]
Cosmetic change

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

17 years agoMore details about the changes
Thomas Guyot-Sionnest [Sun, 15 Apr 2007 08:56:20 +0000 (08:56 +0000)]
More details about the changes

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

17 years agoAdd thresholds support for check_cluster + lots of standardization.
Thomas Guyot-Sionnest [Sun, 15 Apr 2007 08:50:59 +0000 (08:50 +0000)]
Add thresholds support for check_cluster + lots of standardization.
Add forgotten items to NEWS.

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

17 years agoFix bug #1344584: Counter64 values not handled correctly
Thomas Guyot-Sionnest [Sun, 15 Apr 2007 06:44:46 +0000 (06:44 +0000)]
Fix bug #1344584: Counter64 values not handled correctly

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

17 years agoWorks for me
Thomas Guyot-Sionnest [Sat, 14 Apr 2007 15:07:37 +0000 (15:07 +0000)]
Works for me

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

17 years agoUp to revision 1.35, the "-S" option skipped the specified number of
Holger Weiss [Sat, 14 Apr 2007 03:09:39 +0000 (03:09 +0000)]
Up to revision 1.35, the "-S" option skipped the specified number of
lines written to stderr.  With revision 1.36 and newer, "-S" skipped the
specified number of lines written to stdout.  Now, "-S" skips the
specified number of lines written to stderr; and if the number specified
via "-S" minus the number of lines written to stderr is larger than 0,
the difference is used as the number of lines written to stdout to skip.
Also, the "--help" output was fixed.  (Hector - 1675286)

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

17 years ago... Some CVS magic too
Thomas Guyot-Sionnest [Fri, 13 Apr 2007 11:38:24 +0000 (11:38 +0000)]
... Some CVS magic too

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

17 years agoautomake magic for check_cluster
Thomas Guyot-Sionnest [Fri, 13 Apr 2007 11:35:13 +0000 (11:35 +0000)]
automake magic for check_cluster

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

17 years agoAdd news item to nagiosplugins.org
Ton Voon [Wed, 11 Apr 2007 14:43:03 +0000 (14:43 +0000)]
Add news item to nagiosplugins.org

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

17 years ago1.4.8 release
Ton Voon [Wed, 11 Apr 2007 12:08:06 +0000 (12:08 +0000)]
1.4.8 release

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

17 years agoAdd some check_ntp translations
Thomas Guyot-Sionnest [Tue, 10 Apr 2007 07:17:55 +0000 (07:17 +0000)]
Add some check_ntp translations

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

17 years ago- Fix possibility of printing scientific numbers in perfdata
Thomas Guyot-Sionnest [Tue, 10 Apr 2007 07:17:18 +0000 (07:17 +0000)]
- Fix possibility of printing scientific numbers in perfdata
- Use fperfdata function for perfdata formatting
- Make the printing part a bit more flexible (similar to check_disk)

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

17 years agoHopefully this is correct. Need to make more changes so I'm commiting these.
Thomas Guyot-Sionnest [Tue, 10 Apr 2007 05:58:41 +0000 (05:58 +0000)]
Hopefully this is correct. Need to make more changes so I'm commiting these.

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

17 years agoFix for getting dispersion instead of jitter on older servers (like xntpd on Solaris).
Thomas Guyot-Sionnest [Wed, 4 Apr 2007 20:08:59 +0000 (20:08 +0000)]
Fix for getting dispersion instead of jitter on older servers (like xntpd on Solaris).

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

17 years agoFix the synchronization source selection on big-endian systems.
Holger Weiss [Tue, 3 Apr 2007 17:19:04 +0000 (17:19 +0000)]
Fix the synchronization source selection on big-endian systems.

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

17 years agoTemporary fix for jitter calculation
Thomas Guyot-Sionnest [Tue, 3 Apr 2007 01:31:25 +0000 (01:31 +0000)]
Temporary fix for jitter calculation

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

17 years agoDon't rely on the assumption that the size of a READSTAT response is a
Holger Weiss [Mon, 2 Apr 2007 12:39:30 +0000 (12:39 +0000)]
Don't rely on the assumption that the size of a READSTAT response is a
multiple of sizeof(ntp_assoc_status_pair).

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

17 years agoAdd libgnu.a as regex functions required
Ton Voon [Mon, 2 Apr 2007 09:28:42 +0000 (09:28 +0000)]
Add libgnu.a as regex functions required

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

17 years agoFix byte order in verbose logging
Thomas Guyot-Sionnest [Mon, 2 Apr 2007 07:32:30 +0000 (07:32 +0000)]
Fix byte order in verbose logging

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

17 years agoSeems like we don't get any jitter sometimes. While this needs to be fixed we should...
Thomas Guyot-Sionnest [Mon, 2 Apr 2007 06:00:59 +0000 (06:00 +0000)]
Seems like we don't get any jitter sometimes. While this needs to be fixed we should at least handle it gracefully.

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

17 years agocheck_http.t: - added internet_access variable to skip tests where internet access...
Matthias Eble [Sun, 1 Apr 2007 14:21:09 +0000 (14:21 +0000)]
check_http.t: - added internet_access variable to skip tests where internet access is required.
              - added host_tcp_http2 variable for a webserver serving the string 'nagios' in index
              - no tests are skipped if the new vars are not defined (existing installations)

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

17 years agoutils_disk: fixed handling if check_disk -p is a device (np_set_best_match())
Matthias Eble [Sun, 1 Apr 2007 11:17:16 +0000 (11:17 +0000)]
utils_disk: fixed handling if check_disk -p is a device (np_set_best_match())

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

17 years agoVarious check_ntp fixes
Holger Weiss [Sat, 31 Mar 2007 18:49:48 +0000 (18:49 +0000)]
Various check_ntp fixes

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

17 years agoFix an out-of-bounds memcpy(3) and add a realloc(3) error check in
Holger Weiss [Sat, 31 Mar 2007 18:48:17 +0000 (18:48 +0000)]
Fix an out-of-bounds memcpy(3) and add a realloc(3) error check in
jitter_request().

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

17 years agoAdd a warning to the verbose output if jitter_request() found no
Holger Weiss [Sat, 31 Mar 2007 17:35:08 +0000 (17:35 +0000)]
Add a warning to the verbose output if jitter_request() found no
synchronization source.

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

17 years agoAvoid division by zero.
Holger Weiss [Sat, 31 Mar 2007 17:29:50 +0000 (17:29 +0000)]
Avoid division by zero.

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

17 years agoRemove the '-O' option, as it's ignored.
Holger Weiss [Sat, 31 Mar 2007 17:25:43 +0000 (17:25 +0000)]
Remove the '-O' option, as it's ignored.

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

17 years agoUse AS_HELP_STRING instead of ACX_HELP_STRING
Ton Voon [Fri, 30 Mar 2007 15:45:57 +0000 (15:45 +0000)]
Use AS_HELP_STRING instead of ACX_HELP_STRING

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

17 years agoFix AC_CHECK_LIB for mysql_init - add dependent libraries. mysql detection
Ton Voon [Fri, 30 Mar 2007 14:08:27 +0000 (14:08 +0000)]
Fix AC_CHECK_LIB for mysql_init - add dependent libraries. mysql detection
separated into external m4 file

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

17 years agoTest Cases for check_disk's -r, -R, -C and -g
Matthias Eble [Fri, 30 Mar 2007 09:00:06 +0000 (09:00 +0000)]
Test Cases for check_disk's -r, -R, -C and -g

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

17 years agocheck_disk: minor fix for -C if bestmatch != -p
Matthias Eble [Fri, 30 Mar 2007 08:56:47 +0000 (08:56 +0000)]
check_disk: minor fix for -C if bestmatch != -p

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

17 years agocheck_disk: added regex functionality -r and -R. see np-devel mail (2007-02-10)
Matthias Eble [Fri, 30 Mar 2007 08:53:58 +0000 (08:53 +0000)]
check_disk: added regex functionality -r and -R. see np-devel mail (2007-02-10)

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

17 years agocheck_disk: added grouping functionality. see np-devel mail (2007-02-10)
Matthias Eble [Fri, 30 Mar 2007 08:52:28 +0000 (08:52 +0000)]
check_disk: added grouping functionality. see np-devel mail (2007-02-10)

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

17 years agocheck_disk -C is more flexible now. See np-devel post (2007-02-10)
Matthias Eble [Fri, 30 Mar 2007 08:48:50 +0000 (08:48 +0000)]
check_disk -C is more flexible now. See np-devel post (2007-02-10)

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

17 years agoFix argument processing (Felix Frank - 1690697)
Holger Weiss [Thu, 29 Mar 2007 17:58:28 +0000 (17:58 +0000)]
Fix argument processing (Felix Frank - 1690697)

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

17 years agoSet the "read" and "execute" bits only for "user" and "group" in order
Holger Weiss [Thu, 29 Mar 2007 17:34:26 +0000 (17:34 +0000)]
Set the "read" and "execute" bits only for "user" and "group" in order
to not overwrite "--without-world-permissions" for the root plugins.

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

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