summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2008-11-04Make extra-opts (C plugins) behave more like N::P:Thomas Guyot-Sionnest3-5/+9
N::P allows both '#' and ';' for comments. Extra-opts used to allow only '#', it now allows both (';' is the standard for ini files) Extra-opts does not allow trailing comments anymore (like N::P) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2063 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-04check_ups now sends a LOGOUT string (debian bug #387001)Thomas Guyot-Sionnest3-1/+8
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2062 f882894a-f735-0410-b71e-b25c423dba1c
2008-10-22check_ifoperstatus -n flag now works as expected (sf.net #1569488)Matthias Eble3-21/+31
check_ifoperstatus now supports ifType based lookup for ifIndex git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2061 f882894a-f735-0410-b71e-b25c423dba1c
2008-10-21Updated tinderbox serverTon Voon2-1/+4
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2060 f882894a-f735-0410-b71e-b25c423dba1c
2008-10-05check-users thresholds was >= rather than > as documented.Thomas Guyot-Sionnest2-2/+5
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2059 f882894a-f735-0410-b71e-b25c423dba1c
2008-09-25Preparation for 1.4.13release-1.4.13Ton Voon5-77/+349
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2057 f882894a-f735-0410-b71e-b25c423dba1c
2008-09-25Fix small test failureTon Voon1-2/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2056 f882894a-f735-0410-b71e-b25c423dba1c
2008-09-25Moving project administration documents to nagiosplugins.org siteTon Voon3-85/+0
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2055 f882894a-f735-0410-b71e-b25c423dba1c
2008-09-02TypoThomas Guyot-Sionnest1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2054 f882894a-f735-0410-b71e-b25c423dba1c
2008-09-02Some HTTP server applications/configurations cause trouble if the port isHolger Weiss2-2/+13
explicitly specified in our "Host:" header line. Therefore, we now specify the port only if we're using a non-default port (Erik Wasser - 2082501). git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2053 f882894a-f735-0410-b71e-b25c423dba1c
2008-09-02Fix possible segfault in check_ntp_peer with deliberately invalid packetsThomas Guyot-Sionnest2-1/+5
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2052 f882894a-f735-0410-b71e-b25c423dba1c
2008-09-01check_ntp_peer/check_ntp_time used to show port in --help but ignored the ↵Thomas Guyot-Sionnest3-4/+15
argument - now implemented. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2051 f882894a-f735-0410-b71e-b25c423dba1c
2008-09-01Revert "Re-structure the HTTP 1.1 headers to prevent 301s on servers with ↵Thomas Guyot-Sionnest3-9/+5
virtual hosts" This reverts commit 2030 git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2050 f882894a-f735-0410-b71e-b25c423dba1c
2008-09-01Under some circumstances, the 'url' path of a redirection target missedHolger Weiss1-7/+21
a leading slash. While this was fixed later on, the incomplete 'url' was used for redirection loop detection and error messages. This is now fixed by adding the missing slash immediately. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2049 f882894a-f735-0410-b71e-b25c423dba1c
2008-08-25Fix HTTP::Daemon::VERSION to get a fixed header size for testsTon Voon1-0/+3
(Sven Nierlein) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2048 f882894a-f735-0410-b71e-b25c423dba1c
2008-08-25Updated with more tests re: multiple status codes (Sven Nierlein)Ton Voon1-1/+11
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2047 f882894a-f735-0410-b71e-b25c423dba1c
2008-08-25The "-e" option now accepts a comma-delimited list of expected statusHolger Weiss4-7/+36
lines (Sven Nierlein - 1894496). git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2046 f882894a-f735-0410-b71e-b25c423dba1c
2008-08-22Added HTTP tests for status codesTon Voon2-0/+102
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2045 f882894a-f735-0410-b71e-b25c423dba1c
2008-08-21Only include extra-opts tests if libtap is enabledTon Voon1-17/+20
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2044 f882894a-f735-0410-b71e-b25c423dba1c
2008-08-21Note re: --enable-libtapTon Voon1-0/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2043 f882894a-f735-0410-b71e-b25c423dba1c
2008-08-21Correctly link to included libtap. Simplify invoking test scripts.Ton Voon10-84/+58
Removed basename test as we should use base_name from GNUlib which is tested separately git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2042 f882894a-f735-0410-b71e-b25c423dba1c
2008-08-21Fix regexp of version number of snapshotTon Voon1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2041 f882894a-f735-0410-b71e-b25c423dba1c
2008-08-21Remove .svn files in distributionTon Voon1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2040 f882894a-f735-0410-b71e-b25c423dba1c
2008-08-21Renamed altered tap file to nagios-pluginsTon Voon2-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2039 f882894a-f735-0410-b71e-b25c423dba1c
2008-08-21NothingThomas Guyot-Sionnest1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2038 f882894a-f735-0410-b71e-b25c423dba1c
2008-08-21Misplaced commentThomas Guyot-Sionnest1-2/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2037 f882894a-f735-0410-b71e-b25c423dba1c
2008-08-21Complete rewrite of the extract_value functionThomas Guyot-Sionnest1-13/+46
The original one was flawed (easy to trigger segfaults) and did not allow some whitespaces as permitted by rfc1305. This one has been troughfully tested with tap (the testing code might get included later) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2036 f882894a-f735-0410-b71e-b25c423dba1c
2008-08-21Typos in commentsThomas Guyot-Sionnest3-6/+6
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2035 f882894a-f735-0410-b71e-b25c423dba1c
2008-08-16Fix assignment written as a comparison in validate_arguments() when db_pass ↵Thomas Guyot-Sionnest2-2/+2
is NULL (Patch from http://blog.barfoo.org/projects/rpms-for-sles10) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2034 f882894a-f735-0410-b71e-b25c423dba1c
2008-08-16Fix check_fping --help output (Patch from ↵Thomas Guyot-Sionnest1-2/+2
http://blog.barfoo.org/projects/rpms-for-sles10) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2033 f882894a-f735-0410-b71e-b25c423dba1c
2008-08-16TypoThomas Guyot-Sionnest1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2032 f882894a-f735-0410-b71e-b25c423dba1c
2008-08-08Close on fdTon Voon1-0/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2031 f882894a-f735-0410-b71e-b25c423dba1c
2008-08-08Re-structure the HTTP 1.1 headers to prevent 301s on servers with virtual hostsThomas Guyot-Sionnest3-9/+13
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2030 f882894a-f735-0410-b71e-b25c423dba1c
2008-08-08Typo in --help outputThomas Guyot-Sionnest1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2029 f882894a-f735-0410-b71e-b25c423dba1c
2008-08-05Set -D_FORTIFY_SOURCE=2, and added a comment with link to explaination of ↵Thomas Guyot-Sionnest1-1/+2
this flag. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2028 f882894a-f735-0410-b71e-b25c423dba1c
2008-07-28-b option now specifies ICMP data bytes instead of packet sizeMatthias Eble1-7/+7
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2027 f882894a-f735-0410-b71e-b25c423dba1c
2008-07-17Add support for packet size modification (-b)Matthias Eble2-10/+17
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2026 f882894a-f735-0410-b71e-b25c423dba1c
2008-07-10Verbose should not have to exceed 3 as per developement guidelinesThomas Guyot-Sionnest1-7/+7
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2025 f882894a-f735-0410-b71e-b25c423dba1c
2008-07-10Add -D_FORTIFY_SOURCEThomas Guyot-Sionnest1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2024 f882894a-f735-0410-b71e-b25c423dba1c
2008-07-10Typo in check_upsThomas Guyot-Sionnest1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2023 f882894a-f735-0410-b71e-b25c423dba1c
2008-07-09rewrote check_snmp.t to use Test::MoreMatthias Eble1-31/+44
added perfdata checking for string values git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2022 f882894a-f735-0410-b71e-b25c423dba1c
2008-07-09check_snmp now only prints perfdata for non numeric values (Joerg Linge ↵Matthias Eble2-7/+12
#1867716) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2021 f882894a-f735-0410-b71e-b25c423dba1c
2008-07-08Removed libtap configuration for the moment, as tinderbox buildsTon Voon2-3/+3
are breaking git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2020 f882894a-f735-0410-b71e-b25c423dba1c
2008-07-08check_procs captures stderr and adds to plugin output. This isTon Voon5-47/+36
from a merge of branch nagiosplug/branches/new_threshold_syntax 1979:1982 git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2019 f882894a-f735-0410-b71e-b25c423dba1c
2008-07-06Don't try to set the "SO_BROADCAST" socket option for unicast requests.Holger Weiss1-2/+1
(Also, removed the unused "DHCP_UNICAST_FLAG" macro.) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2018 f882894a-f735-0410-b71e-b25c423dba1c
2008-07-02Use tap.h from the libtap directoryTon Voon1-3/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2017 f882894a-f735-0410-b71e-b25c423dba1c
2008-07-02Change pst3 again, this time to remove use of kvm which is notTon Voon2-158/+197
available in Solaris 10 non-global zones. Uses /proc, which is not available in older versions of Solaris. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2016 f882894a-f735-0410-b71e-b25c423dba1c
2008-06-30Fixed bug in tools/setup if docbook was runTon Voon1-2/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2015 f882894a-f735-0410-b71e-b25c423dba1c
2008-06-30Have to list tap_dir manually to get into make distTon Voon1-1/+3
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2014 f882894a-f735-0410-b71e-b25c423dba1c
2008-06-26Adding libtap into distribution to help run C based testsTon Voon7-17/+38
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2013 f882894a-f735-0410-b71e-b25c423dba1c