Code

nagiosplug.git
16 years agoDisable dynamic versionning for releases, and allow generating version out of subversion.
Thomas Guyot-Sionnest [Wed, 26 Nov 2008 10:42:48 +0000 (05:42 -0500)]
Disable dynamic versionning for releases, and allow generating version out of subversion.

This should be a definitive fix for systems with non-compilant make programs as the version will be taken from $(PACKAGE_VERSION) instead.

At the same time I added code for generating svn-based version strings.

16 years agoWorkaround to support more make programs
Thomas Guyot-Sionnest [Tue, 25 Nov 2008 05:33:23 +0000 (00:33 -0500)]
Workaround to support more make programs

Avoid the use of "-include". Since "include" is interpreted by Automake, we have to use a special macro instead.

16 years agoExporting ENV vars from Makefile is supported only with GNU Make. Use the shell instead.
Thomas Guyot-Sionnest [Tue, 25 Nov 2008 05:28:51 +0000 (00:28 -0500)]
Exporting ENV vars from Makefile is supported only with GNU Make. Use the shell instead.

16 years agotools/distclean: No need to bailout on distclean failures
Thomas Guyot-Sionnest [Mon, 24 Nov 2008 07:08:39 +0000 (02:08 -0500)]
tools/distclean: No need to bailout on distclean failures

16 years agoRevert "tinderbox: Comment out additional PATH conponent added for SunOS builds"
Thomas Guyot-Sionnest [Mon, 24 Nov 2008 06:45:17 +0000 (01:45 -0500)]
Revert "tinderbox: Comment out additional PATH conponent added for SunOS builds"

This reverts commit 088452683cf881c6ed717cc559ca2eee3faa95ca.

16 years agotinderbox: Comment out additional PATH conponent added for SunOS builds
Thomas Guyot-Sionnest [Sun, 23 Nov 2008 22:52:09 +0000 (17:52 -0500)]
tinderbox: Comment out additional PATH conponent added for SunOS builds

16 years agoAvoid the use of .PHONY (target s created twice and I have no idea if it's right).
Thomas Guyot-Sionnest [Sun, 23 Nov 2008 16:19:27 +0000 (11:19 -0500)]
Avoid the use of .PHONY (target s created twice and I have no idea if it's right).

16 years agoUpdate .gitignore to include missing file/extention
Thomas Guyot-Sionnest [Sun, 23 Nov 2008 08:43:20 +0000 (03:43 -0500)]
Update .gitignore to include missing file/extention

16 years agoAdd .gitignore (Imported from svn:ignore)
Thomas Guyot-Sionnest [Sun, 23 Nov 2008 07:45:41 +0000 (02:45 -0500)]
Add .gitignore (Imported from svn:ignore)

16 years agoRemoving CVS/SVN tags and replacing with git-based versioning
Thomas Guyot-Sionnest [Sun, 23 Nov 2008 05:38:47 +0000 (05:38 +0000)]
Removing CVS/SVN tags and replacing with git-based versioning
For contrib/, full tags have been imported from subversion

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

16 years agoAdd comment to recent check_disk patch
Thomas Guyot-Sionnest [Thu, 20 Nov 2008 08:14:41 +0000 (08:14 +0000)]
Add comment to recent check_disk patch

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

16 years agoBulk EOL cleanup
Thomas Guyot-Sionnest [Wed, 19 Nov 2008 06:45:18 +0000 (06:45 +0000)]
Bulk EOL cleanup

$ git diff --ignore-space-change|diffstat
 0 files changed

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

16 years agoFixed buffer overflow in check_ntp/check_ntp_peer (#1999319, Ubuntu #291265)
Thomas Guyot-Sionnest [Wed, 19 Nov 2008 05:59:33 +0000 (05:59 +0000)]
Fixed buffer overflow in check_ntp/check_ntp_peer (#1999319, Ubuntu #291265)

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

16 years agocheck_disk: rerpopulate the mount list after doing a stat() on paths specified with...
Thomas Guyot-Sionnest [Wed, 19 Nov 2008 05:59:22 +0000 (05:59 +0000)]
check_disk: rerpopulate the mount list after doing a stat() on paths specified with -p for better automount support.

NB: There's a memory leak here - properly freeing the mount list would invlove
    much more work - there's many other places where leaks can happen so it
    should be a project on its own.

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

16 years agoHelper script to upload tarballs to SF and create md5sum
Ton Voon [Fri, 14 Nov 2008 20:38:26 +0000 (20:38 +0000)]
Helper script to upload tarballs to SF and create md5sum

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

16 years agoUpdated tinderbox link
Ton Voon [Tue, 11 Nov 2008 15:17:23 +0000 (15:17 +0000)]
Updated tinderbox link

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

16 years agoAdd missing long options for check_nt (for use with extra-opts)
Thomas Guyot-Sionnest [Sat, 8 Nov 2008 16:33:28 +0000 (16:33 +0000)]
Add missing long options for check_nt (for use with extra-opts)

Extra-opts (ini files) requires long-options for setting up arguments. Added
the missing ones for check_nt so that it can be properly used with extra-opts.

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

16 years agoFix long options parsing in check_disk, check_dns, check_mrtg and check_mrtgtraf...
Thomas Guyot-Sionnest [Sat, 8 Nov 2008 16:33:15 +0000 (16:33 +0000)]
Fix long options parsing in check_disk, check_dns, check_mrtg and check_mrtgtraf (check_tcp was done in an earlier commit)

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

16 years agoAdded Jan for check_http method patch
Ton Voon [Sat, 8 Nov 2008 08:38:46 +0000 (08:38 +0000)]
Added Jan for check_http method patch

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

16 years agoFixed bug where extra headers and redirect caused segfault (Dieter Van de Walle ...
Ton Voon [Sat, 8 Nov 2008 02:32:03 +0000 (02:32 +0000)]
Fixed bug where extra headers and redirect caused segfault (Dieter Van de Walle - 2089159)

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

16 years agocheck_http now has options to specify the HTTP method (Jan - 2155152)
Ton Voon [Sat, 8 Nov 2008 02:08:56 +0000 (02:08 +0000)]
check_http now has options to specify the HTTP method (Jan - 2155152)

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

16 years agoFix for tar on Solaris
Ton Voon [Sat, 8 Nov 2008 01:03:39 +0000 (01:03 +0000)]
Fix for tar on Solaris

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

16 years agocheck_icmp now reports min and max round trip time perfdata (Steve Rader)
Thomas Guyot-Sionnest [Fri, 7 Nov 2008 01:41:17 +0000 (01:41 +0000)]
check_icmp now reports min and max round trip time perfdata (Steve Rader)

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

16 years agoFix check_tcp longoptions handling
Thomas Guyot-Sionnest [Wed, 5 Nov 2008 21:36:43 +0000 (21:36 +0000)]
Fix check_tcp longoptions handling

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

16 years agoNeed to add in the libgnu.la for Solaris and other platforms
Ton Voon [Wed, 5 Nov 2008 17:07:40 +0000 (17:07 +0000)]
Need to add in the libgnu.la for Solaris and other platforms
where missing functions have been replaced by GNUlib

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

16 years agoMissing NEWS item
Thomas Guyot-Sionnest [Wed, 5 Nov 2008 16:22:03 +0000 (16:22 +0000)]
Missing NEWS item

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

16 years agoFix calculation of extra-opts parameters.
Thomas Guyot-Sionnest [Wed, 5 Nov 2008 16:15:59 +0000 (16:15 +0000)]
Fix calculation of extra-opts parameters.

By reading the current list instead of the additional one when counting parameters, extra-opts calculation was allocating insuficient space for the final array if later sections contained more arguments than the sum of all previously parsed sections.

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

16 years agoFixed libtap dependency issue. Warning: will install tap into lib directories
Ton Voon [Wed, 5 Nov 2008 12:19:44 +0000 (12:19 +0000)]
Fixed libtap dependency issue. Warning: will install tap into lib directories
if ./configure --enable-libtap is used, but as development tool, will be okay

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

16 years agoFix check_http test (altinity.com redirects now).
Thomas Guyot-Sionnest [Wed, 5 Nov 2008 00:14:37 +0000 (00:14 +0000)]
Fix check_http test (altinity.com redirects now).

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

16 years agoFixed the test (not the bug yet) and added similar one to test_ini (that one works)
Thomas Guyot-Sionnest [Tue, 4 Nov 2008 21:52:45 +0000 (21:52 +0000)]
Fixed the test (not the bug yet) and added similar one to test_ini (that one works)

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

16 years agoCorrected test_opts plan
Thomas Guyot-Sionnest [Tue, 4 Nov 2008 21:31:10 +0000 (21:31 +0000)]
Corrected test_opts plan

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

16 years agoAdding extra-opts check that crash on my prod servers (*** glibc detected *** malloc...
Thomas Guyot-Sionnest [Tue, 4 Nov 2008 21:29:36 +0000 (21:29 +0000)]
Adding extra-opts check that crash on my prod servers (*** glibc detected *** malloc(): memory corruption: 0x0804e248 ***)

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

16 years agoMake extra-opts (C plugins) behave more like N::P:
Thomas Guyot-Sionnest [Tue, 4 Nov 2008 17:41:53 +0000 (17:41 +0000)]
Make extra-opts (C plugins) behave more like N::P:

  N::P allows both '#' and ';' for comments. Extra-opts used to allow only '#', it now allows both (';' is the standard for ini files)
  Extra-opts does not allow trailing comments anymore (like N::P)

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

16 years agocheck_ups now sends a LOGOUT string (debian bug #387001)
Thomas Guyot-Sionnest [Tue, 4 Nov 2008 04:46:31 +0000 (04:46 +0000)]
check_ups now sends a LOGOUT string (debian bug #387001)

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

16 years agocheck_ifoperstatus -n flag now works as expected (sf.net #1569488)
Matthias Eble [Wed, 22 Oct 2008 21:35:15 +0000 (21:35 +0000)]
check_ifoperstatus -n flag now works as expected (sf.net #1569488)
check_ifoperstatus now supports ifType based lookup for ifIndex

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

16 years agoUpdated tinderbox server
Ton Voon [Tue, 21 Oct 2008 09:11:48 +0000 (09:11 +0000)]
Updated tinderbox server

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

16 years agocheck-users thresholds was >= rather than > as documented.
Thomas Guyot-Sionnest [Sun, 5 Oct 2008 15:28:18 +0000 (15:28 +0000)]
check-users thresholds was >= rather than > as documented.

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

16 years agoPreparation for 1.4.13
Ton Voon [Thu, 25 Sep 2008 08:15:58 +0000 (08:15 +0000)]
Preparation for 1.4.13

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

16 years agoFix small test failure
Ton Voon [Thu, 25 Sep 2008 08:04:42 +0000 (08:04 +0000)]
Fix small test failure

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

16 years agoMoving project administration documents to nagiosplugins.org site
Ton Voon [Thu, 25 Sep 2008 08:01:27 +0000 (08:01 +0000)]
Moving project administration documents to nagiosplugins.org site

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

16 years agoTypo
Thomas Guyot-Sionnest [Tue, 2 Sep 2008 12:28:04 +0000 (12:28 +0000)]
Typo

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

16 years agoSome HTTP server applications/configurations cause trouble if the port is
Holger Weiss [Tue, 2 Sep 2008 11:26:31 +0000 (11:26 +0000)]
Some HTTP server applications/configurations cause trouble if the port is
explicitly specified in our "Host:" header line.  Therefore, we now specify the
port only if we're using a non-default port (Erik Wasser - 2082501).

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

16 years agoFix possible segfault in check_ntp_peer with deliberately invalid packets
Thomas Guyot-Sionnest [Tue, 2 Sep 2008 03:42:16 +0000 (03:42 +0000)]
Fix possible segfault in check_ntp_peer with deliberately invalid packets

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

16 years agocheck_ntp_peer/check_ntp_time used to show port in --help but ignored the argument...
Thomas Guyot-Sionnest [Mon, 1 Sep 2008 14:04:22 +0000 (14:04 +0000)]
check_ntp_peer/check_ntp_time used to show port in --help but ignored the argument - now implemented.

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

16 years agoRevert "Re-structure the HTTP 1.1 headers to prevent 301s on servers with virtual...
Thomas Guyot-Sionnest [Mon, 1 Sep 2008 14:04:04 +0000 (14:04 +0000)]
Revert "Re-structure the HTTP 1.1 headers to prevent 301s on servers with virtual hosts"

This reverts commit 2030

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

16 years agoUnder some circumstances, the 'url' path of a redirection target missed
Holger Weiss [Mon, 1 Sep 2008 12:20:32 +0000 (12:20 +0000)]
Under some circumstances, the 'url' path of a redirection target missed
a leading slash.  While this was fixed later on, the incomplete 'url'
was used for redirection loop detection and error messages.  This is now
fixed by adding the missing slash immediately.

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

16 years agoFix HTTP::Daemon::VERSION to get a fixed header size for tests
Ton Voon [Mon, 25 Aug 2008 18:39:27 +0000 (18:39 +0000)]
Fix HTTP::Daemon::VERSION to get a fixed header size for tests
(Sven Nierlein)

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

16 years agoUpdated with more tests re: multiple status codes (Sven Nierlein)
Ton Voon [Mon, 25 Aug 2008 13:26:11 +0000 (13:26 +0000)]
Updated with more tests re: multiple status codes (Sven Nierlein)

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

16 years agoThe "-e" option now accepts a comma-delimited list of expected status
Holger Weiss [Mon, 25 Aug 2008 11:42:57 +0000 (11:42 +0000)]
The "-e" option now accepts a comma-delimited list of expected status
lines (Sven Nierlein - 1894496).

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

16 years agoAdded HTTP tests for status codes
Ton Voon [Fri, 22 Aug 2008 13:08:08 +0000 (13:08 +0000)]
Added HTTP tests for status codes

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

16 years agoOnly include extra-opts tests if libtap is enabled
Ton Voon [Thu, 21 Aug 2008 21:52:05 +0000 (21:52 +0000)]
Only include extra-opts tests if libtap is enabled

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

16 years agoNote re: --enable-libtap
Ton Voon [Thu, 21 Aug 2008 15:21:11 +0000 (15:21 +0000)]
Note re: --enable-libtap

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

16 years agoCorrectly link to included libtap. Simplify invoking test scripts.
Ton Voon [Thu, 21 Aug 2008 15:18:58 +0000 (15:18 +0000)]
Correctly link to included libtap. Simplify invoking test scripts.
Removed basename test as we should use base_name from GNUlib which is
tested separately

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

16 years agoFix regexp of version number of snapshot
Ton Voon [Thu, 21 Aug 2008 15:15:54 +0000 (15:15 +0000)]
Fix regexp of version number of snapshot

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

16 years agoRemove .svn files in distribution
Ton Voon [Thu, 21 Aug 2008 15:12:57 +0000 (15:12 +0000)]
Remove .svn files in distribution

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

16 years agoRenamed altered tap file to nagios-plugins
Ton Voon [Thu, 21 Aug 2008 15:12:11 +0000 (15:12 +0000)]
Renamed altered tap file to nagios-plugins

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

16 years agoNothing
Thomas Guyot-Sionnest [Thu, 21 Aug 2008 09:41:11 +0000 (09:41 +0000)]
Nothing

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

16 years agoMisplaced comment
Thomas Guyot-Sionnest [Thu, 21 Aug 2008 04:22:46 +0000 (04:22 +0000)]
Misplaced comment

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

16 years agoComplete rewrite of the extract_value function
Thomas Guyot-Sionnest [Thu, 21 Aug 2008 04:17:35 +0000 (04:17 +0000)]
Complete rewrite of the extract_value function

The original one was flawed (easy to trigger segfaults) and did not allow some whitespaces as permitted by rfc1305. This one has been troughfully tested with tap (the testing code might get included later)

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

16 years agoTypos in comments
Thomas Guyot-Sionnest [Thu, 21 Aug 2008 04:17:25 +0000 (04:17 +0000)]
Typos in comments

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

16 years agoFix assignment written as a comparison in validate_arguments() when db_pass is NULL...
Thomas Guyot-Sionnest [Sat, 16 Aug 2008 04:47:32 +0000 (04:47 +0000)]
Fix assignment written as a comparison in validate_arguments() when db_pass is NULL (Patch from blog.barfoo.org/projects/rpms-for-sles10)

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

16 years agoFix check_fping --help output (Patch from http://blog.barfoo.org/projects/rpms-for...
Thomas Guyot-Sionnest [Sat, 16 Aug 2008 04:47:22 +0000 (04:47 +0000)]
Fix check_fping --help output (Patch from blog.barfoo.org/projects/rpms-for-sles10)

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

16 years agoTypo
Thomas Guyot-Sionnest [Sat, 16 Aug 2008 01:52:38 +0000 (01:52 +0000)]
Typo

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

16 years agoClose on fd
Ton Voon [Fri, 8 Aug 2008 16:12:00 +0000 (16:12 +0000)]
Close on fd

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

16 years agoRe-structure the HTTP 1.1 headers to prevent 301s on servers with virtual hosts
Thomas Guyot-Sionnest [Fri, 8 Aug 2008 02:25:47 +0000 (02:25 +0000)]
Re-structure the HTTP 1.1 headers to prevent 301s on servers with virtual hosts

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

16 years agoTypo in --help output
Thomas Guyot-Sionnest [Fri, 8 Aug 2008 02:08:08 +0000 (02:08 +0000)]
Typo in --help output

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

16 years agoSet -D_FORTIFY_SOURCE=2, and added a comment with link to explaination of this flag.
Thomas Guyot-Sionnest [Tue, 5 Aug 2008 11:14:40 +0000 (11:14 +0000)]
Set -D_FORTIFY_SOURCE=2, and added a comment with link to explaination of this flag.

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

16 years ago-b option now specifies ICMP data bytes instead of packet size
Matthias Eble [Mon, 28 Jul 2008 20:15:52 +0000 (20:15 +0000)]
-b option now specifies ICMP data bytes instead of packet size

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

16 years agoAdd support for packet size modification (-b)
Matthias Eble [Thu, 17 Jul 2008 07:06:33 +0000 (07:06 +0000)]
Add support for packet size modification (-b)

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

16 years agoVerbose should not have to exceed 3 as per developement guidelines
Thomas Guyot-Sionnest [Thu, 10 Jul 2008 10:03:55 +0000 (10:03 +0000)]
Verbose should not have to exceed 3 as per developement guidelines

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

16 years agoAdd -D_FORTIFY_SOURCE
Thomas Guyot-Sionnest [Thu, 10 Jul 2008 10:03:49 +0000 (10:03 +0000)]
Add -D_FORTIFY_SOURCE

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

16 years agoTypo in check_ups
Thomas Guyot-Sionnest [Thu, 10 Jul 2008 10:03:43 +0000 (10:03 +0000)]
Typo in check_ups

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

16 years agorewrote check_snmp.t to use Test::More
Matthias Eble [Wed, 9 Jul 2008 21:54:41 +0000 (21:54 +0000)]
rewrote check_snmp.t to use Test::More
added perfdata checking for string values

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

16 years agocheck_snmp now only prints perfdata for non numeric values (Joerg Linge #1867716)
Matthias Eble [Wed, 9 Jul 2008 21:53:12 +0000 (21:53 +0000)]
check_snmp now only prints perfdata for non numeric values (Joerg Linge #1867716)

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

16 years agoRemoved libtap configuration for the moment, as tinderbox builds
Ton Voon [Tue, 8 Jul 2008 10:09:11 +0000 (10:09 +0000)]
Removed libtap configuration for the moment, as tinderbox builds
are breaking

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

16 years agocheck_procs captures stderr and adds to plugin output. This is
Ton Voon [Tue, 8 Jul 2008 09:31:04 +0000 (09:31 +0000)]
check_procs captures stderr and adds to plugin output. This is
from a merge of branch nagiosplug/branches/new_threshold_syntax 1979:1982

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

16 years agoDon't try to set the "SO_BROADCAST" socket option for unicast requests.
Holger Weiss [Sun, 6 Jul 2008 12:57:11 +0000 (12:57 +0000)]
Don't try to set the "SO_BROADCAST" socket option for unicast requests.
(Also, removed the unused "DHCP_UNICAST_FLAG" macro.)

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

16 years agoUse tap.h from the libtap directory
Ton Voon [Wed, 2 Jul 2008 20:07:00 +0000 (20:07 +0000)]
Use tap.h from the libtap directory

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

16 years agoChange pst3 again, this time to remove use of kvm which is not
Ton Voon [Wed, 2 Jul 2008 20:00:08 +0000 (20:00 +0000)]
Change pst3 again, this time to remove use of kvm which is not
available in Solaris 10 non-global zones. Uses /proc, which is not
available in older versions of Solaris.

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

16 years agoFixed bug in tools/setup if docbook was run
Ton Voon [Mon, 30 Jun 2008 14:32:53 +0000 (14:32 +0000)]
Fixed bug in tools/setup if docbook was run

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

16 years agoHave to list tap_dir manually to get into make dist
Ton Voon [Mon, 30 Jun 2008 09:01:47 +0000 (09:01 +0000)]
Have to list tap_dir manually to get into make dist

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

16 years agoAdding libtap into distribution to help run C based tests
Ton Voon [Thu, 26 Jun 2008 22:00:08 +0000 (22:00 +0000)]
Adding libtap into distribution to help run C based tests

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

16 years agoFixed possible coredump. Removed one level of subroutines (Duncan Ferguson)
Ton Voon [Tue, 17 Jun 2008 14:19:17 +0000 (14:19 +0000)]
Fixed possible coredump. Removed one level of subroutines (Duncan Ferguson)

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

16 years agoAdded testcases for check_dig
Matthias Eble [Mon, 9 Jun 2008 19:47:36 +0000 (19:47 +0000)]
Added testcases for check_dig
check_dig's -l option is mandatory now (#1986306)

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

16 years agoOptimised pst3 for systems with large number of processes (Duncan Ferguson)
Ton Voon [Mon, 2 Jun 2008 16:22:35 +0000 (16:22 +0000)]
Optimised pst3 for systems with large number of processes (Duncan Ferguson)

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

16 years agoUpdated Nagios::Plugin perl modules to 0.27
Ton Voon [Mon, 2 Jun 2008 16:21:09 +0000 (16:21 +0000)]
Updated Nagios::Plugin perl modules to 0.27

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

16 years agoFix Debian bug #460097: check_http --max-age broken (Hilko Bengen)
Thomas Guyot-Sionnest [Fri, 30 May 2008 23:38:00 +0000 (23:38 +0000)]
Fix Debian bug #460097: check_http --max-age broken (Hilko Bengen)

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

16 years agotypo
Thomas Guyot-Sionnest [Thu, 29 May 2008 10:21:50 +0000 (10:21 +0000)]
typo

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

16 years agoChanged SF file release to use sftp instead of ftp
Ton Voon [Tue, 27 May 2008 23:44:12 +0000 (23:44 +0000)]
Changed SF file release to use sftp instead of ftp

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

16 years agoPreparation for 1.4.12 release
Ton Voon [Tue, 27 May 2008 22:01:05 +0000 (22:01 +0000)]
Preparation for 1.4.12 release

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

16 years agoNot picking up solaris systems correctly for check_dhcp. Only
Ton Voon [Tue, 27 May 2008 21:52:36 +0000 (21:52 +0000)]
Not picking up solaris systems correctly for check_dhcp. Only
affected SunStudio compiles of check_dhcp (1890260 - Rob Windsor)

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

16 years agoAddition to help to state that -f will always return OK if ssh command
Ton Voon [Tue, 27 May 2008 21:31:13 +0000 (21:31 +0000)]
Addition to help to state that -f will always return OK if ssh command
is executed (Alain Dewit - 1852198)

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

16 years agoAdd additional PID column heading
Ton Voon [Tue, 27 May 2008 13:35:59 +0000 (13:35 +0000)]
Add additional PID column heading

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

16 years agocorrect typo in NEWS
Thomas Guyot-Sionnest [Mon, 26 May 2008 09:43:58 +0000 (09:43 +0000)]
correct typo in NEWS

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

16 years agoAdd a note about radiusclient
Thomas Guyot-Sionnest [Fri, 23 May 2008 09:09:17 +0000 (09:09 +0000)]
Add a note about radiusclient

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

16 years agoFix linking against OpenSSL where libdl is required
Thomas Guyot-Sionnest [Thu, 22 May 2008 08:25:41 +0000 (08:25 +0000)]
Fix linking against OpenSSL where libdl is required

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

16 years agoFixed passive option in check_by_ssh
Thomas Guyot-Sionnest [Wed, 21 May 2008 08:57:13 +0000 (08:57 +0000)]
Fixed passive option in check_by_ssh
Also:
- On non-skipped stderr, check_by_ssh now returns UNKNOWN or worse (result from command) instead of always UNKNOWN.
- Fixed passive tests and make is always run the specified number of tests (using fail if there's nothing to test).

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

16 years agoOops - forgot to remove the SKIP block (which didn't seem to work fine)
Thomas Guyot-Sionnest [Tue, 20 May 2008 11:37:27 +0000 (11:37 +0000)]
Oops - forgot to remove the SKIP block (which didn't seem to work fine)

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

16 years agoAdd check_by_ssh tests (passive checks are broken - should be fixed before next release!)
Thomas Guyot-Sionnest [Tue, 20 May 2008 11:32:39 +0000 (11:32 +0000)]
Add check_by_ssh tests (passive checks are broken - should be fixed before next release!)

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

16 years agoClobber password in check_radius process list aguments
Thomas Guyot-Sionnest [Tue, 20 May 2008 07:57:13 +0000 (07:57 +0000)]
Clobber password in check_radius process list aguments

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