summaryrefslogtreecommitdiffstats
path: root/plugins
AgeCommit message (Collapse)AuthorFilesLines
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 Voon1-1/+1
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 Voon1-8/+39
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-12Run tinderbox builds in a test debug mode using "make test-debug"Ton Voon1-0/+3
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-11Adding missing function calls needed for i18n (only for plugins already in ↵Thomas Guyot-Sionnest6-0/+24
POTFILES.in) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1861 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-10Plenty of french translations (and a few fixes BTW)Thomas Guyot-Sionnest6-10/+9
- 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-10Some translationsThomas Guyot-Sionnest1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1854 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 Eble2-4/+13
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-08Fix check_disk reporting OK if disk usage grows over 100% (bug #1348746).Thomas Guyot-Sionnest1-1/+8
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-Sionnest4-717/+334
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
2007-12-04Add the new checks as check_ntp copies to keep full plug-in historyThomas Guyot-Sionnest2-0/+1754
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1843 f882894a-f735-0410-b71e-b25c423dba1c
2007-12-04missing word in comment block.Thomas Guyot-Sionnest1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1838 f882894a-f735-0410-b71e-b25c423dba1c
2007-11-23- Use max_state_alt in check_ntp to fix some issues with the latest commits.Thomas Guyot-Sionnest1-53/+10
- 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
2007-11-23Add a max_state_alt function that put UNKNOWN and DEPENDENT ahead of OK.Thomas Guyot-Sionnest2-0/+28
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1829 f882894a-f735-0410-b71e-b25c423dba1c
2007-11-11Fix broken usage2 in check_snmp and check_clusterThomas Guyot-Sionnest2-6/+2
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
2007-11-10Fix newly added stratum check (has to be decreased by one when using normal ↵Thomas Guyot-Sionnest1-1/+3
NTP packets versus control packets) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1822 f882894a-f735-0410-b71e-b25c423dba1c
2007-11-09Moved base64 function to /lib.Thomas Guyot-Sionnest2-84/+3
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1817 f882894a-f735-0410-b71e-b25c423dba1c
2007-11-09Fix check_snmp buffer overflow (CVE-2007-5623)Thomas Guyot-Sionnest1-6/+10
This patch comes from the Gentoo Portage tree but I couldn't find the author. I sent an email and will give credits when I get an answer. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1814 f882894a-f735-0410-b71e-b25c423dba1c
2007-11-09Close the socket on all exits (not just the OK one)Thomas Guyot-Sionnest1-0/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1813 f882894a-f735-0410-b71e-b25c423dba1c
2007-11-09Fix missing \n in --help outputThomas Guyot-Sionnest1-2/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1812 f882894a-f735-0410-b71e-b25c423dba1c
2007-10-25check_ntp now return UNKNOWN instead of WARNING if jitter isThomas Guyot-Sionnest1-6/+25
unavailable. If no offset threshold is specified and the offset is unavailable, will return UNKNOWN as well. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1811 f882894a-f735-0410-b71e-b25c423dba1c
2007-10-25Automatically update website with --help output. CosmeticTon Voon2-2/+2
fixes for some help output git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1810 f882894a-f735-0410-b71e-b25c423dba1c
2007-10-24Hide the SNMP community string (and v3 passwords) from error messagesHolger Weiss1-3/+10
(Bernhard Fischer on nagiosplug-devel@) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1809 f882894a-f735-0410-b71e-b25c423dba1c
2007-10-14Fix a possible segfault if using "-f follow" and the server sends aHolger Weiss1-2/+1
forged "LLLLocation" header prefixed with multiple "L"s (fabiodds - 1813346) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1807 f882894a-f735-0410-b71e-b25c423dba1c
2007-10-11Add stratum thresholds support for check_ntp (feature request #1703823)Thomas Guyot-Sionnest1-15/+56
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1806 f882894a-f735-0410-b71e-b25c423dba1c
2007-10-11Use provided threshold functions (no functionnal change apart the check for ↵Thomas Guyot-Sionnest1-38/+26
overlaping thresholds) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1805 f882894a-f735-0410-b71e-b25c423dba1c
2007-10-02Fix regression in 1.4.10 where following redirects to relative URLs onHolger Weiss1-4/+4
virtual hosts failed if both "-H" and "-I" were specified (noted by Rodrigo A. G. Schichaschwili on nagiosplug-devel@) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1804 f882894a-f735-0410-b71e-b25c423dba1c
2007-09-26Drop the weird and undocumented behaviour of using positional argumentHolger Weiss1-24/+10
parsing instead of getopt(3) if 8 command line arguments were given (as suggested by Matthias) and check whether all required arguments have been specified in order to spit out proper error messages and to avoid a possible segfault (as suggested by Thomas). git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1800 f882894a-f735-0410-b71e-b25c423dba1c
2007-09-26Patch #1798774: check_ntp: honor ntp flagsThomas Guyot-Sionnest1-0/+9
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1799 f882894a-f735-0410-b71e-b25c423dba1c
2007-09-24Let ./configure --without-ipv6 suppress non-IPv4 DNS lookups (noted byHolger Weiss1-0/+4
Mark Frost on nagios-users@) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1794 f882894a-f735-0410-b71e-b25c423dba1c
2007-09-23Removed some c99 style commentsMatthias Eble2-2/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1793 f882894a-f735-0410-b71e-b25c423dba1c
2007-09-23Added multiline output capability to check_by_ssh. Thanks to Matthias Flacke ↵Matthias Eble1-1/+2
(#1769653) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1792 f882894a-f735-0410-b71e-b25c423dba1c
2007-09-23Fixed bug: stat was called on remote fs even if -l was givenMatthias Eble1-9/+32
Added -L option to call stat on remote fs but without threshold comparison git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1789 f882894a-f735-0410-b71e-b25c423dba1c
2007-09-23Added radiusclient-ng support for check_radius. Thanks to Sebastien Guay ↵Matthias Eble1-10/+45
(#1218438) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1788 f882894a-f735-0410-b71e-b25c423dba1c
2007-09-22substituted bool/true/false with int/TRUE/FALSE (discussed on np-devel)Matthias Eble1-9/+9
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1787 f882894a-f735-0410-b71e-b25c423dba1c
2007-09-22Added -i/-I to ignore pathes/partitions based on regular expressionsMatthias Eble2-16/+96
Added check_disk -A selecting all filesystems -E option must now be passed before -p or -r/-R Passing -E after -p or -r results in UNKNOWN state Fixed bug when mixing case sensitive and insensitive regexes git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1786 f882894a-f735-0410-b71e-b25c423dba1c
2007-09-22Rewrite the "map changes to return codes" patch nearly from scratch.Thomas Guyot-Sionnest2-36/+88
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1785 f882894a-f735-0410-b71e-b25c423dba1c
2007-09-21Stop double expansion of parameters for negate - works likeTon Voon4-108/+130
time command now git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1784 f882894a-f735-0410-b71e-b25c423dba1c
2007-09-21My solaris box needs %llu to display 64bits integers.Thomas Guyot-Sionnest1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1783 f882894a-f735-0410-b71e-b25c423dba1c
2007-09-21- Added some variables at verbose==3Thomas Guyot-Sionnest1-42/+43
- Removed support for verbose<0 (-q). -q was broken and tried to to the same as -e. - -q in now an undocumented alias of -e (for backward-compatibility). NB: Long help text for -d was already missing. - Reordered the switches so that:   a. less-important ones are in alphabetical order b. short and long help orders match. - Enclosed "-p | -x" inside braces instead of brackets as one or the other is required. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1782 f882894a-f735-0410-b71e-b25c423dba1c
2007-09-15Properly handle SMTP server responses which are split into multipleHolger Weiss1-18/+72
packets (noted by Chris Adams on nagiosplug-help@). TODO: The new recvline()/recvlines() functions should buffer received data instead of reading one byte at a time and they should be moved to netutils.c so that other plugins can use them, too. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1780 f882894a-f735-0410-b71e-b25c423dba1c
2007-08-09Don't use C++ style comments (noted by Johannes Kingma onHolger Weiss1-1/+1
nagiosplug-help@) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1770 f882894a-f735-0410-b71e-b25c423dba1c
2007-07-31Read the response to an SMTP QUIT command before closing the socketHolger Weiss1-3/+28
(noted by Dieter Hendricks on nagiosplug-help@) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1769 f882894a-f735-0410-b71e-b25c423dba1c