summaryrefslogtreecommitdiffstats
path: root/plugins
AgeCommit message (Collapse)AuthorFilesLines
2009-03-05Added inline tests for HTTPS using HTTP::Daemon::SSLTon Voon3-128/+230
2009-02-24check_snmp long help missing retries entry (#2608223)Thomas Guyot-Sionnest1-0/+2
Fix for check_snmp long help, reported by Richard Edward Horner
2009-02-20Typo fixes (Jan Wagner - SF 1878971)Ton Voon9-21/+21
2009-02-19Fixed coredump from check_nt when drive not found (Olli Hauer - SF 2179754)Ton Voon2-7/+90
2009-02-05check_http --onredirect=sticky follows using the same IP address (sf.net ↵Thomas Guyot-Sionnest1-5/+11
#2550208).
2009-02-03Fix aberrant behaviours in check_http:Thomas Guyot-Sionnest1-105/+97
check_http used to ignore many parameters with check combinations - sometimes even time thresholds(!!) With this commit as long as a response is received *all* checks are performed on it. This fixes #1460312 plus a number of other issues I discovered over time.
2009-01-26Make extract_value more generic:Thomas Guyot-Sionnest1-3/+3
Add a separator argument passed using defines.
2009-01-21Move check_ntp's extract_value to utils_base.c.Thomas Guyot-Sionnest1-57/+3
This function can also be used to parse performance data strings which could be useful in the future.
2009-01-21Trick for check_users test without users logged-inThomas Guyot-Sionnest1-0/+4
2009-01-15Sync with gnulibThomas Guyot-Sionnest2-5/+1
2008-12-23Allow privproto to be passed through check_snmp to snmpget. Defaults to DESTon Voon1-4/+13
for compatibility
2008-12-03check_mrtg: fix plugin returning UNKNOWN instead of OK (bug #2378068)Thomas Guyot-Sionnest1-1/+1
2008-11-27Fixing build breakages (I totally forgot this rule was there...)Thomas Guyot-Sionnest1-1/+1
2008-11-26Disable dynamic versionning for releases, and allow generating version out ↵Thomas Guyot-Sionnest1-5/+5
of subversion. This should be a definitive fix for systems with non-compilant make programs as the version will be taken from $(PACKAGE_VERSION) instead. At the same time I added code for generating svn-based version strings.
2008-11-25Workaround to support more make programsThomas Guyot-Sionnest1-1/+4
Avoid the use of "-include". Since "include" is interpreted by Automake, we have to use a special macro instead.
2008-11-23Avoid the use of .PHONY (target s created twice and I have no idea if it's ↵Thomas Guyot-Sionnest1-2/+2
right).
2008-11-23Removing CVS/SVN tags and replacing with git-based versioningThomas Guyot-Sionnest79-319/+99
For contrib/, full tags have been imported from subversion git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2091 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-20Add comment to recent check_disk patchThomas Guyot-Sionnest1-1/+4
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2088 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-19Bulk EOL cleanupThomas Guyot-Sionnest29-142/+142
$ git diff --ignore-space-change|diffstat 0 files changed git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2087 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-19Fixed buffer overflow in check_ntp/check_ntp_peer (#1999319, Ubuntu #291265)Thomas Guyot-Sionnest2-2/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2086 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-19check_disk: rerpopulate the mount list after doing a stat() on paths ↵Thomas Guyot-Sionnest1-5/+5
specified with -p for better automount support. NB: There's a memory leak here - properly freeing the mount list would invlove much more work - there's many other places where leaks can happen so it should be a project on its own. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2085 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-08Add missing long options for check_nt (for use with extra-opts)Thomas Guyot-Sionnest1-1/+8
Extra-opts (ini files) requires long-options for setting up arguments. Added the missing ones for check_nt so that it can be properly used with extra-opts. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2079 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-08Fix long options parsing in check_disk, check_dns, check_mrtg and ↵Thomas Guyot-Sionnest7-14/+13
check_mrtgtraf (check_tcp was done in an earlier commit) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2078 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-08Fixed bug where extra headers and redirect caused segfault (Dieter Van de ↵Ton Voon2-3/+32
Walle - 2089159) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2076 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-08check_http now has options to specify the HTTP method (Jan - 2155152)Ton Voon2-11/+81
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2075 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-05Fix check_tcp longoptions handlingThomas Guyot-Sionnest1-5/+3
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2072 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-05Fix check_http test (altinity.com redirects now).Thomas Guyot-Sionnest1-2/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2067 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-04check_ups now sends a LOGOUT string (debian bug #387001)Thomas Guyot-Sionnest1-1/+5
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2062 f882894a-f735-0410-b71e-b25c423dba1c
2008-10-05check-users thresholds was >= rather than > as documented.Thomas Guyot-Sionnest1-2/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2059 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-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 Weiss1-2/+12
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-Sionnest1-0/+3
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-Sionnest2-4/+14
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-Sionnest1-7/+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 Weiss2-7/+34
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-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-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-08Re-structure the HTTP 1.1 headers to prevent 301s on servers with virtual hostsThomas Guyot-Sionnest1-9/+11
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2030 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-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