Code

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

16 years agoSupport "[IPv6]" address syntax.
Holger Weiss [Mon, 7 Jan 2008 02:04:17 +0000 (02:04 +0000)]
Support "[IPv6]" address syntax.

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

16 years agoMy assumption that "-H example.com:80" didn't work (see my previous
Holger Weiss [Mon, 7 Jan 2008 01:59:59 +0000 (01:59 +0000)]
My assumption that "-H example.com:80" didn't work (see my previous
commit) was wrong, it worked if used together with "-I".  So, here's
support for "-H [IPv6]:port", "-H [IPv6]", "-H IPv6", "-H IPv4:port",
"-H IPv4", and "-H host:port".

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

16 years agoRemove support for specifying the port number using "-H example.com:80".
Holger Weiss [Sun, 6 Jan 2008 19:45:00 +0000 (19:45 +0000)]
Remove support for specifying the port number using "-H example.com:80".
Since this didn't work anyway (because ":80" wasn't stripped from the
"host_name" after extracting the "server_port"), nobody can be using
this syntax, and it prevents "-H" from accepting IPv6 addresses
(neufeind - 1865082).  IMO, fixing it to recognize both ":80" and IPv6
addresses isn't worth it, as the ":80" syntax doesn't seem very useful
for Nagios plugins (given the way how they are usually called in Nagios
command definitions).

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

16 years agoFix base64 test (known string wasn't null-terminated)
Thomas Guyot-Sionnest [Sun, 6 Jan 2008 15:44:57 +0000 (15:44 +0000)]
Fix base64 test (known string wasn't null-terminated)

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

16 years agoFix tinderbox breakage
Thomas Guyot-Sionnest [Sun, 6 Jan 2008 07:04:10 +0000 (07:04 +0000)]
Fix tinderbox breakage

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

16 years agoIf unspecified set LDAP_OPT_SUCCESS to LDAP_SUCCESS (Sergei Haramundanis - #1498923)
Matthias Eble [Sun, 6 Jan 2008 00:10:49 +0000 (00:10 +0000)]
If unspecified set LDAP_OPT_SUCCESS to LDAP_SUCCESS (Sergei Haramundanis - #1498923)

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

16 years agoFix Bug #1862300: check_ntp_time segfault in 1.4.11 (Also apply to check_ntp)
Thomas Guyot-Sionnest [Sat, 5 Jan 2008 14:09:29 +0000 (14:09 +0000)]
Fix Bug #1862300: check_ntp_time segfault in 1.4.11 (Also apply to check_ntp)

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

16 years agocheck_dns now sorts addresses for -a support with multiple address replies (Matthias...
Matthias Eble [Sat, 5 Jan 2008 01:06:36 +0000 (01:06 +0000)]
check_dns now sorts addresses for -a support with multiple address replies (Matthias Urlichs #1724052)

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

16 years agoCleaned check_procs usage output (Ferenc Wagner #1862218)
Matthias Eble [Fri, 4 Jan 2008 22:10:37 +0000 (22:10 +0000)]
Cleaned check_procs usage output (Ferenc Wagner #1862218)

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

16 years agoFix INADDR_NONE value (for systems which don't define it).
Holger Weiss [Fri, 21 Dec 2007 14:19:08 +0000 (14:19 +0000)]
Fix INADDR_NONE value (for systems which don't define it).

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

16 years agoInclude <sys/sockio.h> (if available) to get SIOCGIFADDR defined on
Holger Weiss [Fri, 21 Dec 2007 14:17:29 +0000 (14:17 +0000)]
Include <sys/sockio.h> (if available) to get SIOCGIFADDR defined on
Solaris.

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

16 years agoNew "-s" option to specify the source IP address (thanks to Harald Jenny
Holger Weiss [Fri, 21 Dec 2007 13:25:28 +0000 (13:25 +0000)]
New "-s" option to specify the source IP address (thanks to Harald Jenny
for providing the patch and to Patrick Cervicek for looking into it!)

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

16 years agoRemove c formating from translated strings (makes translation easier)
Thomas Guyot-Sionnest [Fri, 21 Dec 2007 04:23:44 +0000 (04:23 +0000)]
Remove c formating from translated strings (makes translation easier)

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

16 years agoFix the "--help" output.
Holger Weiss [Wed, 19 Dec 2007 18:41:01 +0000 (18:41 +0000)]
Fix the "--help" output.

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

16 years agocheck_tcp now returns UNKNOWN with an invalid hostname on command line
Ton Voon [Wed, 19 Dec 2007 10:08:06 +0000 (10:08 +0000)]
check_tcp now returns UNKNOWN with an invalid hostname on command line

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

16 years agoAdd check_nt -v INSTANCES (Alessandro Ren)
Ton Voon [Mon, 17 Dec 2007 11:47:33 +0000 (11:47 +0000)]
Add check_nt -v INSTANCES (Alessandro Ren)

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

16 years agoFixed help output (Christian Mies)
Ton Voon [Thu, 13 Dec 2007 23:17:51 +0000 (23:17 +0000)]
Fixed help output (Christian Mies)

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

16 years agoNEWS edited for consistent grammar
Ton Voon [Thu, 13 Dec 2007 23:12:09 +0000 (23:12 +0000)]
NEWS edited for consistent grammar

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

16 years agoPreparation for 1.4.11
Ton Voon [Thu, 13 Dec 2007 22:39:36 +0000 (22:39 +0000)]
Preparation for 1.4.11

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

16 years agoFixed VPATH problem in plugins-root (Tom Payerle - 1789000)
Ton Voon [Thu, 13 Dec 2007 22:22:27 +0000 (22:22 +0000)]
Fixed VPATH problem in plugins-root (Tom Payerle - 1789000)

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

16 years agoUpdate to latest Nagios::Plugin
Ton Voon [Thu, 13 Dec 2007 22:09:11 +0000 (22:09 +0000)]
Update to latest Nagios::Plugin

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

16 years agoAdd build files/binaries to the svn:ignore propt
Thomas Guyot-Sionnest [Wed, 12 Dec 2007 08:52:26 +0000 (08:52 +0000)]
Add build files/binaries to the svn:ignore propt

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

16 years agoRun tinderbox builds in a test debug mode using "make test-debug"
Ton Voon [Wed, 12 Dec 2007 01:27:48 +0000 (01:27 +0000)]
Run tinderbox builds in a test debug mode using "make test-debug"

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

16 years agoD'oh! single escape will be handled by Perl....
Thomas Guyot-Sionnest [Tue, 11 Dec 2007 13:54:23 +0000 (13:54 +0000)]
D'oh! single escape will be handled by Perl....

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

16 years ago- Fix check_ntp_peer returning misleading information when an ICMP message came back
Thomas Guyot-Sionnest [Tue, 11 Dec 2007 13:31:22 +0000 (13:31 +0000)]
- Fix check_ntp_peer returning misleading information when an ICMP message came back
- Try to fix some servers apparently exanding the ~ in threshold ranges in t/check_ntp.t

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

16 years agoFixed test so works on MacOSX (use /bin/sh instead of /bin/grep).
Ton Voon [Tue, 11 Dec 2007 12:05:16 +0000 (12:05 +0000)]
Fixed test so works on MacOSX (use /bin/sh instead of /bin/grep).
Added extra test for missing command - should drop into STATE_UNKNOWN

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

16 years agoAdd verbose flag so each test result is seen, rather than grouped by test
Ton Voon [Tue, 11 Dec 2007 10:58:21 +0000 (10:58 +0000)]
Add verbose flag so each test result is seen, rather than grouped by test

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

16 years agoAdding missing function calls needed for i18n (only for plugins already in POTFILES.in)
Thomas Guyot-Sionnest [Tue, 11 Dec 2007 05:57:35 +0000 (05:57 +0000)]
Adding missing function calls needed for i18n (only for plugins already in POTFILES.in)

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

16 years agoSome corrections
Thomas Guyot-Sionnest [Mon, 10 Dec 2007 08:10:57 +0000 (08:10 +0000)]
Some corrections

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

16 years agoPlenty of french translations (and a few fixes BTW)
Thomas Guyot-Sionnest [Mon, 10 Dec 2007 07:52:00 +0000 (07:52 +0000)]
Plenty of french translations (and a few fixes BTW)
 - No more fuzzy french translations
 - Only (!) 355 strings to translate

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

16 years agoOOPS! Last commit should have included these files.
Thomas Guyot-Sionnest [Mon, 10 Dec 2007 04:00:40 +0000 (04:00 +0000)]
OOPS! Last commit should have included these files.

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

16 years agoD'autres translations - Err, I mean more translations :)
Thomas Guyot-Sionnest [Mon, 10 Dec 2007 03:40:58 +0000 (03:40 +0000)]
D'autres translations - Err, I mean more translations :)

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

16 years agoMore translations
Thomas Guyot-Sionnest [Mon, 10 Dec 2007 02:30:59 +0000 (02:30 +0000)]
More translations

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

16 years agore-update the po files
Thomas Guyot-Sionnest [Mon, 10 Dec 2007 02:10:51 +0000 (02:10 +0000)]
re-update the po files

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

16 years agoSome translations
Thomas Guyot-Sionnest [Mon, 10 Dec 2007 02:07:05 +0000 (02:07 +0000)]
Some translations

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

16 years agoLocalization updates for recent changes
Matthias Eble [Mon, 10 Dec 2007 01:50:57 +0000 (01:50 +0000)]
Localization updates for recent changes

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

16 years agoFix output when response time is critical. Thanks to Nobuhiro Ban (patch #1817228)
Matthias Eble [Mon, 10 Dec 2007 01:13:55 +0000 (01:13 +0000)]
Fix output when response time is critical. Thanks to Nobuhiro Ban (patch #1817228)

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

16 years agoFixed check_load argument handling when passing non triplet thresholds. Thanks to...
Matthias Eble [Mon, 10 Dec 2007 00:19:27 +0000 (00:19 +0000)]
Fixed check_load argument handling when passing non triplet thresholds. Thanks to Jonathan Kamens (bug #1831890)

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

16 years agoGettin' ready for some translation frenzy :)
Thomas Guyot-Sionnest [Sun, 9 Dec 2007 23:36:26 +0000 (23:36 +0000)]
Gettin' ready for some translation frenzy :)

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

16 years agoupdate po files and fix a few French translations
Thomas Guyot-Sionnest [Sun, 9 Dec 2007 17:15:31 +0000 (17:15 +0000)]
update po files and fix a few French translations

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

16 years agoFix check_disk reporting OK if disk usage grows over 100% (bug #1348746).
Thomas Guyot-Sionnest [Sat, 8 Dec 2007 16:34:05 +0000 (16:34 +0000)]
Fix check_disk reporting OK if disk usage grows over 100% (bug #1348746).

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

16 years agoInteresting... For some reason it did not take this (patch barfed on it and I thought...
Thomas Guyot-Sionnest [Tue, 4 Dec 2007 12:57:35 +0000 (12:57 +0000)]
Interesting... For some reason it did not take this (patch barfed on it and I thought I had fixed it already)...

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

16 years agoMerge changes from branches/dermoth_ntp_rework (check_ntp_peer/check_ntp_time)
Thomas Guyot-Sionnest [Tue, 4 Dec 2007 12:38:56 +0000 (12:38 +0000)]
Merge changes from branches/dermoth_ntp_rework (check_ntp_peer/check_ntp_time)

 NEWS                     |   13
 plugins/Makefile.am      |    8
 plugins/check_ntp_peer.c |  628 ++++++++++++++++-------------------------------
 plugins/check_ntp_time.c |  323 ++----------------------
 plugins/t/check_ntp.t    |   92 +++++-

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

16 years agoAdd the new checks as check_ntp copies to keep full plug-in history
Thomas Guyot-Sionnest [Tue, 4 Dec 2007 12:27:04 +0000 (12:27 +0000)]
Add the new checks as check_ntp copies to keep full plug-in history

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

16 years agomissing word in comment block.
Thomas Guyot-Sionnest [Tue, 4 Dec 2007 11:14:36 +0000 (11:14 +0000)]
missing word in comment block.

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

17 years ago- Use max_state_alt in check_ntp to fix some issues with the latest commits.
Thomas Guyot-Sionnest [Fri, 23 Nov 2007 04:21:09 +0000 (04:21 +0000)]
- Use max_state_alt in check_ntp to fix some issues with the latest commits.
- Roll back the stratum check as there were issues with it and a better one is already implemented in check_ntp_peer (about to be included)

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

17 years agoAdd a max_state_alt function that put UNKNOWN and DEPENDENT ahead of OK.
Thomas Guyot-Sionnest [Fri, 23 Nov 2007 04:18:16 +0000 (04:18 +0000)]
Add a max_state_alt function that put UNKNOWN and DEPENDENT ahead of OK.

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

17 years agoFix broken usage2 in check_snmp and check_cluster
Thomas Guyot-Sionnest [Sun, 11 Nov 2007 16:29:05 +0000 (16:29 +0000)]
Fix broken usage2 in check_snmp and check_cluster
Fix check_cluster blocking some special characters for thresholds ("-", "@", "~")

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

17 years agoFix newly added stratum check (has to be decreased by one when using normal NTP packe...
Thomas Guyot-Sionnest [Sat, 10 Nov 2007 17:37:11 +0000 (17:37 +0000)]
Fix newly added stratum check (has to be decreased by one when using normal NTP packets versus control packets)

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

17 years agoAdding svn:keywords props
Thomas Guyot-Sionnest [Fri, 9 Nov 2007 23:24:45 +0000 (23:24 +0000)]
Adding svn:keywords props

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

17 years agoAdding test for base64 lib
Thomas Guyot-Sionnest [Fri, 9 Nov 2007 22:01:33 +0000 (22:01 +0000)]
Adding test for base64 lib

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

17 years agoMoved base64 function to /lib.
Thomas Guyot-Sionnest [Fri, 9 Nov 2007 21:17:03 +0000 (21:17 +0000)]
Moved base64 function to /lib.

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

17 years agoNothing to see here...
Thomas Guyot-Sionnest [Fri, 9 Nov 2007 18:24:48 +0000 (18:24 +0000)]
Nothing to see here...

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