Code

nagiosplug.git
15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 years agoTypo
Thomas Guyot-Sionnest [Tue, 13 May 2008 09:14:45 +0000 (09:14 +0000)]
Typo

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

16 years agoAdded support for --extra-opts in all C plugins (disabled by default, see configure...
Thomas Guyot-Sionnest [Wed, 7 May 2008 10:02:42 +0000 (10:02 +0000)]
Added support for --extra-opts in all C plugins (disabled by default, see configure --help)

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

16 years agoAdded performance data to check_ping (Christian Schneemann)
Thomas Guyot-Sionnest [Wed, 7 May 2008 10:01:48 +0000 (10:01 +0000)]
Added performance data to check_ping (Christian Schneemann)

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

16 years agonegate now has the ability to replace the status text as well (-s, --substitute)
Thomas Guyot-Sionnest [Fri, 2 May 2008 09:28:15 +0000 (09:28 +0000)]
negate now has the ability to replace the status text as well (-s, --substitute)
Also changed:
 - default timeout to 11 instead of 9 (since it's recommended to have a higher timeout, and many plugins default to 10 seconds)
 - If there's no STDOUT lines returned, still returns the returned result if it's NON-ok instead of forcing it to UNKNOWN

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

16 years agoAdd socket support to check_mysql*
Thomas Guyot-Sionnest [Wed, 30 Apr 2008 12:50:52 +0000 (12:50 +0000)]
Add socket support to check_mysql*
Also clears the password from check_mysql command-line options

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

16 years agoSupport "--without-pgsql" (reported by Alex Songe via IRC).
Holger Weiss [Tue, 29 Apr 2008 14:54:09 +0000 (14:54 +0000)]
Support "--without-pgsql" (reported by Alex Songe via IRC).

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

16 years agoUse UT_THRESHOLDS_NOTES in all plugins
Thomas Guyot-Sionnest [Tue, 29 Apr 2008 09:01:48 +0000 (09:01 +0000)]
Use UT_THRESHOLDS_NOTES in all plugins

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

16 years ago--help output cleanup (plus removal of spaces on blank lines)
Thomas Guyot-Sionnest [Tue, 29 Apr 2008 09:01:31 +0000 (09:01 +0000)]
--help output cleanup (plus removal of spaces on blank lines)

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

16 years ago--help output cleanup (plus removal of spaces on blank lines)
Thomas Guyot-Sionnest [Sun, 27 Apr 2008 14:35:26 +0000 (14:35 +0000)]
--help output cleanup (plus removal of spaces on blank lines)

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

16 years agoCorrect typo and make the --help notes a bit simpler.
Thomas Guyot-Sionnest [Wed, 23 Apr 2008 08:19:13 +0000 (08:19 +0000)]
Correct typo and make the --help notes a bit simpler.

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

16 years agoCorrect the help text
Thomas Guyot-Sionnest [Thu, 17 Apr 2008 10:46:22 +0000 (10:46 +0000)]
Correct the help text

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

16 years agoAllow to repeat -a to set multiple possible addresses
Thomas Guyot-Sionnest [Thu, 17 Apr 2008 10:37:57 +0000 (10:37 +0000)]
Allow to repeat -a to set multiple possible addresses

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

16 years agocheck_ntp and check_ntp_peer now show proper jitter/stratum thresholds longopts in...
Thomas Guyot-Sionnest [Sat, 5 Apr 2008 08:02:47 +0000 (08:02 +0000)]
check_ntp and check_ntp_peer now show proper jitter/stratum thresholds longopts in --help

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

16 years agomake parse_ini die like in N::P if section isn't found
Thomas Guyot-Sionnest [Fri, 4 Apr 2008 10:11:22 +0000 (10:11 +0000)]
make parse_ini die like in N::P if section isn't found

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

16 years agoDelete obsolete files
Thomas Guyot-Sionnest [Wed, 2 Apr 2008 09:19:26 +0000 (09:19 +0000)]
Delete obsolete files

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

16 years ago- Add --enable-extra-opts configure option for compiling extra-opts support
Thomas Guyot-Sionnest [Wed, 2 Apr 2008 09:11:44 +0000 (09:11 +0000)]
- Add --enable-extra-opts configure option for compiling extra-opts support
- Auto-update po/pot files

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

16 years agofix the obvious...
Thomas Guyot-Sionnest [Tue, 1 Apr 2008 09:38:37 +0000 (09:38 +0000)]
fix the obvious...

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

16 years agonp_extra_opts now retain pointers from argv so that plugins can still overwrite sensi...
Thomas Guyot-Sionnest [Tue, 1 Apr 2008 09:31:27 +0000 (09:31 +0000)]
np_extra_opts now retain pointers from argv so that plugins can still overwrite sensitive options

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

16 years agoupdate svn:ignore property (last gnulib update added many auto-generated files)
Thomas Guyot-Sionnest [Mon, 31 Mar 2008 07:07:39 +0000 (07:07 +0000)]
update svn:ignore property (last gnulib update added many auto-generated files)

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

16 years agoFix bug with --extra-opts as last argument with no value
Thomas Guyot-Sionnest [Mon, 31 Mar 2008 07:04:07 +0000 (07:04 +0000)]
Fix bug with --extra-opts as last argument with no value
Fix problem with duplicate function name (function should eventually move to /lib)

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

16 years agoFix for last commit - I accidentaly broke my local Makefile and tests weren't being...
Thomas Guyot-Sionnest [Mon, 31 Mar 2008 05:31:14 +0000 (05:31 +0000)]
Fix for last commit - I accidentaly broke my local Makefile and tests weren't being re-compiled.

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

16 years ago- Remove the last argument of np_extra_opts
Thomas Guyot-Sionnest [Sun, 30 Mar 2008 14:02:13 +0000 (14:02 +0000)]
- Remove the last argument of np_extra_opts
- Code cleanups and comments

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

16 years agoUpdate svn:ignore property
Thomas Guyot-Sionnest [Sat, 29 Mar 2008 15:35:30 +0000 (15:35 +0000)]
Update svn:ignore property

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

16 years agowrite ini-file lookup function + tests
Thomas Guyot-Sionnest [Wed, 26 Mar 2008 09:46:27 +0000 (09:46 +0000)]
write ini-file lookup function + tests

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

16 years agoAdd extra-opts argument parsing with tests
Thomas Guyot-Sionnest [Mon, 24 Mar 2008 07:02:28 +0000 (07:02 +0000)]
Add extra-opts argument parsing with tests

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

16 years agoReplace broken usage of NAGIOS_CONFIG_PATH with a stub function (that will try to...
Thomas Guyot-Sionnest [Mon, 24 Mar 2008 06:28:46 +0000 (06:28 +0000)]
Replace broken usage of NAGIOS_CONFIG_PATH with a stub function (that will try to find a config file in the future...)
Allow NULL locator (default file/section)

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

16 years ago- Fix bug #1920671
Thomas Guyot-Sionnest [Thu, 20 Mar 2008 11:53:29 +0000 (11:53 +0000)]
- Fix bug #1920671
- Make --help output looks nice

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

16 years agoInclude test for check_procs, using input file
Ton Voon [Tue, 18 Mar 2008 10:59:55 +0000 (10:59 +0000)]
Include test for check_procs, using input file

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

16 years agoUpdated check_procs with a hidden --input-file option.
Ton Voon [Tue, 18 Mar 2008 01:21:54 +0000 (01:21 +0000)]
Updated check_procs with a hidden --input-file option.
Include some sample outputs for testing

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

16 years agoDon't run check_nagios tests on Solaris, because of pst3 requirement
Ton Voon [Mon, 17 Mar 2008 23:08:21 +0000 (23:08 +0000)]
Don't run check_nagios tests on Solaris, because of pst3 requirement

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

16 years agoAdd tests:
Thomas Guyot-Sionnest [Sun, 16 Mar 2008 18:10:47 +0000 (18:10 +0000)]
Add tests:
- DOS-newline ini file
- section defined twice

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

16 years agoparse_ini now reads the default section if the request one can't be found.
Thomas Guyot-Sionnest [Sat, 15 Mar 2008 22:42:01 +0000 (22:42 +0000)]
parse_ini now reads the default section if the request one can't be found.
All tests should return ok now.

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

16 years agoOops - this line shouldn't have been here (doesn't even work anyways) ;)
Thomas Guyot-Sionnest [Sat, 15 Mar 2008 21:51:43 +0000 (21:51 +0000)]
Oops - this line shouldn't have been here (doesn't even work anyways) ;)

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

16 years ago- Make equal-less parameters illegal
Thomas Guyot-Sionnest [Sat, 15 Mar 2008 20:47:43 +0000 (20:47 +0000)]
- Make equal-less parameters illegal
- parameters without argument after '=' are now assumed to be argument-less
- Add a testcase for space in stanza and various argument-less parameters

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

16 years agoFix handling of leading and trailing spaces in stanza
Thomas Guyot-Sionnest [Sat, 15 Mar 2008 20:34:15 +0000 (20:34 +0000)]
Fix handling of leading and trailing spaces in stanza

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

16 years agoFix segfault in test_ini.c and uncomment the affected tests
Thomas Guyot-Sionnest [Sat, 15 Mar 2008 16:17:49 +0000 (16:17 +0000)]
Fix segfault in test_ini.c and uncomment the affected tests
Fix bug in stanza parsing where full section could be skipped
Fix single-argument options

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

16 years agoThis commit consist of two changes:
Thomas Guyot-Sionnest [Sat, 15 Mar 2008 04:51:45 +0000 (04:51 +0000)]
This commit consist of two changes:
1. Make np_get_defaults return a linked list instead of a string. It will then be easy to convert the linked list back to an argument array.
2. Fix tests 3-4 of test_ini.c.

A test_ini.t was added too. parse_ini and test_ini aren't included yet in the build makefiles.

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

16 years agoAdd port to Host Header to prevent problems with non default ports (Christophe Dupre...
Matthias Eble [Sat, 15 Mar 2008 00:14:49 +0000 (00:14 +0000)]
Add port to Host Header to prevent problems with non default ports (Christophe Dupre #1881898)

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

16 years agoAdded -A/--dig-arguments to check_dig (#1889453/#1874041)
Matthias Eble [Fri, 14 Mar 2008 23:47:41 +0000 (23:47 +0000)]
Added -A/--dig-arguments to check_dig (#1889453/#1874041)

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

16 years agoEnhanced check_smtp to actually print invalid response text (#1911239)
Matthias Eble [Fri, 14 Mar 2008 22:35:29 +0000 (22:35 +0000)]
Enhanced check_smtp to actually print invalid response text (#1911239)

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

16 years agoFixed 64 bit pst3 when tries to link to gettext. Gettext linked
Ton Voon [Fri, 14 Mar 2008 15:44:27 +0000 (15:44 +0000)]
Fixed 64 bit pst3 when tries to link to gettext. Gettext linked
dynamically, if necessary

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

16 years agoThese files are generated automatically during the make process, and removed by make...
Thomas Guyot-Sionnest [Fri, 14 Mar 2008 10:17:24 +0000 (10:17 +0000)]
These files are generated automatically during the make process, and removed by make clean.

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

16 years agoPossible fix for HP-UX compile problems of regex_internal.c
Ton Voon [Tue, 11 Mar 2008 00:37:13 +0000 (00:37 +0000)]
Possible fix for HP-UX compile problems of regex_internal.c

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

16 years agoFixed link -m64 problems on pst3 for solaris. Fixed _FILE_OFFSET_BITS
Ton Voon [Tue, 11 Mar 2008 00:10:23 +0000 (00:10 +0000)]
Fixed link -m64 problems on pst3 for solaris. Fixed _FILE_OFFSET_BITS
redefinition warnings. Fixed helper ar error in ./configure

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

16 years agoReverted check_procs for solaris back to using pst3 due to truncation
Ton Voon [Thu, 28 Feb 2008 16:21:59 +0000 (16:21 +0000)]
Reverted check_procs for solaris back to using pst3 due to truncation
for argument fields using other methods

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

16 years agoFix where PERL5LIB is blank
Ton Voon [Thu, 28 Feb 2008 12:54:49 +0000 (12:54 +0000)]
Fix where PERL5LIB is blank

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

16 years agoAdded CVE MITRE tracking number
Ton Voon [Mon, 18 Feb 2008 11:23:06 +0000 (11:23 +0000)]
Added CVE MITRE tracking number

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

16 years agocheck_pgsql now builds with postgres lib v8.3 (Jan Wagner #1878972)
Matthias Eble [Wed, 13 Feb 2008 20:36:00 +0000 (20:36 +0000)]
check_pgsql now builds with postgres lib v8.3 (Jan Wagner #1878972)

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

16 years agoFix --local argument handling (Jan Wagner #1878971)
Matthias Eble [Wed, 13 Feb 2008 19:14:37 +0000 (19:14 +0000)]
Fix --local argument handling (Jan Wagner #1878971)

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

16 years agoFix broken intending (The whole file use spaces only except my last patch and 1-3...
Thomas Guyot-Sionnest [Wed, 13 Feb 2008 15:10:53 +0000 (15:10 +0000)]
Fix broken intending (The whole file use spaces only except my last patch and 1-3 other places).

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

16 years agoAdd two files to svn:ignore
Thomas Guyot-Sionnest [Wed, 13 Feb 2008 11:37:35 +0000 (11:37 +0000)]
Add two files to svn:ignore

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

16 years agoset_thresholds now let the user free the thresolds. (P.S.: When you set twice the...
Thomas Guyot-Sionnest [Wed, 13 Feb 2008 11:05:44 +0000 (11:05 +0000)]
set_thresholds now let the user free the thresolds. (P.S.: When you set twice the thresholds for a path in check disk (like using -C followed by -p ) it overrides them. All new elements are created with np_add_parameter which initialises the thresholds to NULL.)

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

16 years agoNews, nothing else.
Thomas Guyot-Sionnest [Wed, 13 Feb 2008 04:18:36 +0000 (04:18 +0000)]
News, nothing else.

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

16 years agoThis floorf workaround is Nnot needed anymore since floorf is part of Gnulib
Thomas Guyot-Sionnest [Wed, 13 Feb 2008 04:16:56 +0000 (04:16 +0000)]
This floorf workaround is Nnot needed anymore since floorf is part of Gnulib

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

16 years agoReverting patch to test 8-bit data: Still broken on Solaris (7-bit works as before)
Thomas Guyot-Sionnest [Wed, 13 Feb 2008 04:07:39 +0000 (04:07 +0000)]
Reverting patch to test 8-bit data: Still broken on Solaris (7-bit works as before)

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

16 years agoImport Gnulib floorf and base64 and removed our old base64 library.
Thomas Guyot-Sionnest [Tue, 12 Feb 2008 12:03:58 +0000 (12:03 +0000)]
Import Gnulib floorf and base64 and removed our old base64 library.

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

16 years agoSync to latest Gnulib
Thomas Guyot-Sionnest [Tue, 12 Feb 2008 11:07:18 +0000 (11:07 +0000)]
Sync to latest Gnulib

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

16 years agoHints re: SSL features
Ton Voon [Mon, 11 Feb 2008 21:36:55 +0000 (21:36 +0000)]
Hints re: SSL features

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

16 years agoAdded link to FAQ for redhat spopen problem
Ton Voon [Mon, 11 Feb 2008 21:23:23 +0000 (21:23 +0000)]
Added link to FAQ for redhat spopen problem

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

16 years agoBump plugins-root/ to GPLv3
Thomas Guyot-Sionnest [Thu, 31 Jan 2008 11:52:45 +0000 (11:52 +0000)]
Bump plugins-root/ to GPLv3

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

16 years agoBump plugins/ to GPLv3 (header files)
Thomas Guyot-Sionnest [Thu, 31 Jan 2008 11:45:28 +0000 (11:45 +0000)]
Bump plugins/ to GPLv3 (header files)

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

16 years agoBump plugins/ to GPLv3 (non-plugind files)
Thomas Guyot-Sionnest [Thu, 31 Jan 2008 11:27:22 +0000 (11:27 +0000)]
Bump plugins/ to GPLv3 (non-plugind files)

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

16 years agoBump plugin/ to GPLv3 (check_overcr to check_users)
Thomas Guyot-Sionnest [Thu, 31 Jan 2008 10:44:26 +0000 (10:44 +0000)]
Bump plugin/ to GPLv3 (check_overcr to check_users)

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

16 years agoBump plugins/ to GPLv3 (check_apt to check_nwstat)
Thomas Guyot-Sionnest [Wed, 30 Jan 2008 10:53:47 +0000 (10:53 +0000)]
Bump plugins/ to GPLv3 (check_apt to check_nwstat)

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

16 years agodetails...
Thomas Guyot-Sionnest [Wed, 30 Jan 2008 09:46:21 +0000 (09:46 +0000)]
details...

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

16 years agoBump lib/tests to GPLv3
Thomas Guyot-Sionnest [Wed, 30 Jan 2008 09:38:37 +0000 (09:38 +0000)]
Bump lib/tests to GPLv3

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

16 years agoBump /lib to GPLv3
Thomas Guyot-Sionnest [Wed, 30 Jan 2008 09:33:43 +0000 (09:33 +0000)]
Bump /lib to GPLv3

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

16 years agonew standardized GPLv3 header (will be applied to all C files)
Thomas Guyot-Sionnest [Wed, 30 Jan 2008 09:03:29 +0000 (09:03 +0000)]
new standardized GPLv3 header (will be applied to all C files)

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

16 years agocheck_ntp_peer now checks for the LI_ALARM flag
Thomas Guyot-Sionnest [Tue, 29 Jan 2008 10:27:06 +0000 (10:27 +0000)]
check_ntp_peer now checks for the LI_ALARM flag

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

16 years agotypo
Thomas Guyot-Sionnest [Tue, 29 Jan 2008 08:55:50 +0000 (08:55 +0000)]
typo

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

16 years agoFix bugs and flaws in best offset server selection of check_ntp_time and (deprecated...
Thomas Guyot-Sionnest [Tue, 29 Jan 2008 08:54:48 +0000 (08:54 +0000)]
Fix bugs and flaws in best offset server selection of check_ntp_time and (deprecated) check_ntp

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

16 years ago Fix help text of check_ntp_* (Bug #1880095)
Thomas Guyot-Sionnest [Sat, 26 Jan 2008 15:55:03 +0000 (15:55 +0000)]
 Fix help text of check_ntp_* (Bug #1880095)

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

16 years agoFix check_disk disk usage calculation when using --group=NAME (related to bug #1348746)
Thomas Guyot-Sionnest [Tue, 15 Jan 2008 11:34:15 +0000 (11:34 +0000)]
Fix check_disk disk usage calculation when using --group=NAME (related to bug #1348746)

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

16 years agoAdd AC_SYS_LARGEFILE to configure.in (check_disk should now work with large file...
Thomas Guyot-Sionnest [Tue, 15 Jan 2008 09:40:56 +0000 (09:40 +0000)]
Add AC_SYS_LARGEFILE to configure.in (check_disk should now work with large file systems (2TB+) on all archs that supports it)

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

16 years agoAdd a return-code check (also test cmd_run without out/err buffers)
Thomas Guyot-Sionnest [Thu, 10 Jan 2008 07:49:56 +0000 (07:49 +0000)]
Add a return-code check (also test cmd_run without out/err buffers)

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

16 years agomake test-debug generate lots of false errors in tinderbox. Turning off until we...
Thomas Guyot-Sionnest [Wed, 9 Jan 2008 04:27:52 +0000 (04:27 +0000)]
make test-debug generate lots of false errors in tinderbox. Turning off until we find a solution (so al least we can watch the tinderbox for breakages again)

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

16 years agoFixed reverse lookup damaged by previous commit
Matthias Eble [Tue, 8 Jan 2008 23:08:46 +0000 (23:08 +0000)]
Fixed reverse lookup damaged by previous commit

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

16 years agoChanged default test values for check_dns (using nagios.com)
Ton Voon [Tue, 8 Jan 2008 16:05:36 +0000 (16:05 +0000)]
Changed default test values for check_dns (using nagios.com)

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

16 years agoReverted commits 1898 and 1899 due to reversion of 1879
Ton Voon [Tue, 8 Jan 2008 11:57:24 +0000 (11:57 +0000)]
Reverted commits 1898 and 1899 due to reversion of 1879

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

16 years agoReverted commit 1879 where an invalid hostname returns UNKNOWN - back to CRITICAL
Ton Voon [Tue, 8 Jan 2008 11:51:53 +0000 (11:51 +0000)]
Reverted commit 1879 where an invalid hostname returns UNKNOWN - back to CRITICAL

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

16 years agomore r1879 fixes
Thomas Guyot-Sionnest [Tue, 8 Jan 2008 11:35:06 +0000 (11:35 +0000)]
more r1879 fixes

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

16 years agoFix test breakages for commit r1879: check_tcp now returns UNKNOWN with an invalid...
Thomas Guyot-Sionnest [Tue, 8 Jan 2008 11:27:57 +0000 (11:27 +0000)]
Fix test breakages for commit r1879: check_tcp now returns UNKNOWN with an invalid hostname on command line

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

16 years agoHide some debug output which was printed even without "-v" (under
Holger Weiss [Tue, 8 Jan 2008 02:06:35 +0000 (02:06 +0000)]
Hide some debug output which was printed even without "-v" (under
certain circumstances).

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

16 years agoFix the handling of ICMP packets which are not echo replies (such as
Holger Weiss [Tue, 8 Jan 2008 01:51:14 +0000 (01:51 +0000)]
Fix the handling of ICMP packets which are not echo replies (such as
destination unreachable messages) or which are not directed at us.

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

16 years agoGet rid of a cast which increases the required alignment.
Holger Weiss [Tue, 8 Jan 2008 01:43:49 +0000 (01:43 +0000)]
Get rid of a cast which increases the required alignment.

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

16 years agoMark some constant strings "const".
Holger Weiss [Tue, 8 Jan 2008 01:40:21 +0000 (01:40 +0000)]
Mark some constant strings "const".

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