summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2007-12-17Add check_nt -v INSTANCES (Alessandro Ren)Ton Voon3-8/+43
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1877 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-13Fixed help output (Christian Mies)Ton Voon1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1876 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-13NEWS edited for consistent grammarTon Voon1-12/+13
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1875 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-13Preparation for 1.4.11release-1.4.11Ton Voon5-798/+868
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1873 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-13Fixed VPATH problem in plugins-root (Tom Payerle - 1789000)Ton Voon3-1/+3
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1872 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-13Update to latest Nagios::PluginTon Voon3-0/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1871 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-12Add build files/binaries to the svn:ignore proptThomas Guyot-Sionnest0-0/+0
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1867 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-12Run tinderbox builds in a test debug mode using "make test-debug"Ton Voon8-10/+22
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1866 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-11D'oh! single escape will be handled by Perl....Thomas Guyot-Sionnest1-2/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1865 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-11- Fix check_ntp_peer returning misleading information when an ICMP message ↵Thomas Guyot-Sionnest2-3/+4
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
2007-12-11Fixed test so works on MacOSX (use /bin/sh instead of /bin/grep).Ton Voon1-4/+19
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
2007-12-11Add verbose flag so each test result is seen, rather than grouped by testTon Voon1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1862 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-11Adding missing function calls needed for i18n (only for plugins already in ↵Thomas Guyot-Sionnest7-0/+28
POTFILES.in) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1861 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-10Some correctionsThomas Guyot-Sionnest1-15/+20
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1860 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-10Plenty of french translations (and a few fixes BTW)Thomas Guyot-Sionnest9-224/+177
- 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
2007-12-10OOPS! Last commit should have included these files.Thomas Guyot-Sionnest3-15/+15
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1858 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-10D'autres translations - Err, I mean more translations :)Thomas Guyot-Sionnest3-50/+111
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1857 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-10More translationsThomas Guyot-Sionnest1-6/+5
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1856 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-10re-update the po filesThomas Guyot-Sionnest3-182/+335
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1855 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-10Some translationsThomas Guyot-Sionnest2-378/+205
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1854 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-10Localization updates for recent changesMatthias Eble3-81/+77
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1853 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-10Fix output when response time is critical. Thanks to Nobuhiro Ban (patch ↵Matthias Eble1-3/+3
#1817228) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1852 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-10Fixed check_load argument handling when passing non triplet thresholds. ↵Matthias Eble3-4/+14
Thanks to Jonathan Kamens (bug #1831890) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1851 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-09Gettin' ready for some translation frenzy :)Thomas Guyot-Sionnest4-125/+541
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1850 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-09update po files and fix a few French translationsThomas Guyot-Sionnest3-1674/+2459
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1849 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-08Fix check_disk reporting OK if disk usage grows over 100% (bug #1348746).Thomas Guyot-Sionnest2-1/+10
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1848 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-04Interesting... For some reason it did not take this (patch barfed on it and ↵Thomas Guyot-Sionnest1-1/+1
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
2007-12-04Merge changes from branches/dermoth_ntp_rework (check_ntp_peer/check_ntp_time)Thomas Guyot-Sionnest5-722/+342
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