summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2008-02-13set_thresholds now let the user free the thresolds. (P.S.: When you set ↵Thomas Guyot-Sionnest2-5/+7
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
2008-02-13News, nothing else.Thomas Guyot-Sionnest1-0/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1929 f882894a-f735-0410-b71e-b25c423dba1c
2008-02-13This floorf workaround is Nnot needed anymore since floorf is part of GnulibThomas Guyot-Sionnest1-5/+0
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1928 f882894a-f735-0410-b71e-b25c423dba1c
2008-02-13Reverting patch to test 8-bit data: Still broken on Solaris (7-bit works as ↵Thomas Guyot-Sionnest1-4/+2
before) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1927 f882894a-f735-0410-b71e-b25c423dba1c
2008-02-12Import Gnulib floorf and base64 and removed our old base64 library.Thomas Guyot-Sionnest27-67/+3302
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1926 f882894a-f735-0410-b71e-b25c423dba1c
2008-02-12Sync to latest GnulibThomas Guyot-Sionnest169-2953/+9946
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1925 f882894a-f735-0410-b71e-b25c423dba1c
2008-02-11Hints re: SSL featuresTon Voon1-0/+4
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1924 f882894a-f735-0410-b71e-b25c423dba1c
2008-02-11Added link to FAQ for redhat spopen problemTon Voon1-0/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1923 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-31Bump plugins-root/ to GPLv3Thomas Guyot-Sionnest3-67/+59
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1920 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-31Bump plugins/ to GPLv3 (header files)Thomas Guyot-Sionnest4-63/+76
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1919 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-31Bump plugins/ to GPLv3 (non-plugind files)Thomas Guyot-Sionnest7-252/+183
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1918 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-31Bump plugin/ to GPLv3 (check_overcr to check_users)Thomas Guyot-Sionnest14-313/+275
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1917 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-30Bump plugins/ to GPLv3 (check_apt to check_nwstat)Thomas Guyot-Sionnest24-570/+515
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1916 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-30details...Thomas Guyot-Sionnest2-2/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1915 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-30Bump lib/tests to GPLv3Thomas Guyot-Sionnest6-114/+108
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1914 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-30Bump /lib to GPLv3Thomas Guyot-Sionnest5-94/+107
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1913 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-30new standardized GPLv3 header (will be applied to all C files)Thomas Guyot-Sionnest1-0/+28
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1912 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-29check_ntp_peer now checks for the LI_ALARM flagThomas Guyot-Sionnest2-1/+10
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1911 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-29typoThomas Guyot-Sionnest1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1910 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-29Fix bugs and flaws in best offset server selection of check_ntp_time and ↵Thomas Guyot-Sionnest3-67/+72
(deprecated) check_ntp git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1909 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-26 Fix help text of check_ntp_* (Bug #1880095)Thomas Guyot-Sionnest4-3/+4
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1908 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-15Fix check_disk disk usage calculation when using --group=NAME (related to ↵Thomas Guyot-Sionnest2-1/+3
bug #1348746) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1907 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-15Add AC_SYS_LARGEFILE to configure.in (check_disk should now work with large ↵Thomas Guyot-Sionnest2-0/+2
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
2008-01-10Add a return-code check (also test cmd_run without out/err buffers)Thomas Guyot-Sionnest1-1/+11
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1905 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-09make test-debug generate lots of false errors in tinderbox. Turning off ↵Thomas Guyot-Sionnest1-2/+2
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
2008-01-08Fixed reverse lookup damaged by previous commitMatthias Eble1-6/+7
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1903 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-08Changed default test values for check_dns (using nagios.com)Ton Voon1-3/+3
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1902 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-08Reverted commits 1898 and 1899 due to reversion of 1879Ton Voon5-6/+6
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1901 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-08Reverted commit 1879 where an invalid hostname returns UNKNOWN - back to ↵Ton Voon2-2/+1
CRITICAL git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1900 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-08more r1879 fixesThomas Guyot-Sionnest3-4/+4
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1899 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-08Fix test breakages for commit r1879: check_tcp now returns UNKNOWN with an ↵Thomas Guyot-Sionnest2-2/+2
invalid hostname on command line git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1898 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-08Hide some debug output which was printed even without "-v" (underHolger Weiss1-1/+1
certain circumstances). git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1897 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-08Fix the handling of ICMP packets which are not echo replies (such asHolger Weiss1-16/+15
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
2008-01-08Get rid of a cast which increases the required alignment.Holger Weiss1-1/+3
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1895 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-08Mark some constant strings "const".Holger Weiss1-3/+3
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1894 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-07Support "[IPv6]" address syntax.Holger Weiss1-2/+13
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1893 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-07My assumption that "-H example.com:80" didn't work (see my previousHolger Weiss1-0/+7
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
2008-01-06Remove support for specifying the port number using "-H example.com:80".Holger Weiss1-2/+0
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
2008-01-06Fix base64 test (known string wasn't null-terminated)Thomas Guyot-Sionnest1-2/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1890 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-06Fix tinderbox breakageThomas Guyot-Sionnest1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1889 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-06If unspecified set LDAP_OPT_SUCCESS to LDAP_SUCCESS (Sergei Haramundanis - ↵Matthias Eble1-0/+3
#1498923) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1888 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-05Fix Bug #1862300: check_ntp_time segfault in 1.4.11 (Also apply to check_ntp)Thomas Guyot-Sionnest3-8/+17
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1887 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-05check_dns now sorts addresses for -a support with multiple address replies ↵Matthias Eble3-8/+36
(Matthias Urlichs #1724052) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1886 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-04Cleaned check_procs usage output (Ferenc Wagner #1862218)Matthias Eble1-3/+3
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1885 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-21Fix INADDR_NONE value (for systems which don't define it).Holger Weiss1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1884 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-21Include <sys/sockio.h> (if available) to get SIOCGIFADDR defined onHolger Weiss1-0/+3
Solaris. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1883 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-21New "-s" option to specify the source IP address (thanks to Harald JennyHolger Weiss3-1/+44
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
2007-12-21Remove c formating from translated strings (makes translation easier)Thomas Guyot-Sionnest1-2/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1881 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-19Fix the "--help" output.Holger Weiss1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1880 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-19check_tcp now returns UNKNOWN with an invalid hostname on command lineTon Voon2-1/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1879 f882894a-f735-0410-b71e-b25c423dba1c