summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2015-10-08Merge branch 'maint'Holger Weiss5-41/+22
* maint: sslutils: Remove superfluous parenthesis for sslv3 function too sslutils: remove superfluous parenthesis check_snmp: modified tests check_snmp.c: switched DEFAULT_TIMEOUT to DEFAULT_SOCKET_TIMEOUT (provided by utils.h), already used by help description, see issue #1318 install snmpd on travis tests enable libtab on travis builds add perl snmp to travis dependencies NEWS: Mention check_ups performance data fix Fix incorrect performance data thresholds check_dhcp: Fix option parsing Fixes segfaults when running via monitoring worker (off-by-one) travis: fix http test host sslutils: Check if OpenSSL supports SSLv3. Conflicts: NEWS plugins/sslutils.c
2015-10-08check_smtp: extended support for expect optionrefs/pull/1382/headOliver Skibbe1-15/+22
expect option (-e) supported only first response, so checking for any other response like 250-xxx would never match. This fix stores return of relevant buffer closes #1381
2015-10-08Merge branch 'pr/1379'Holger Weiss2-1/+2
* pr/1379: check_smtp.c: modified SSL check for use with -e
2015-10-08check_smtp.c: modified SSL check for use with -erefs/pull/1379/headOliver Skibbe1-1/+1
- currently STARTTLS check does not work with -e if there's text like '220 hostname ESMTP*'. This is caused by SMTP answer from host. Postfix answer: 220 2.0.0 Ready to start TLS, Exchange 2010: 220 2.0.0 SMTP server ready. This fix checks against 220 closes #1093
2015-10-07* check_http: added timeout to perfdata as max valrefs/pull/1374/headOliver Skibbe1-6/+6
2015-10-06check_smtp: Let "-D" option imply "-S"Holger Weiss1-5/+4
2015-10-06check_smtp: QUIT SMTP connection when "-D" is usedHolger Weiss1-0/+2
Don't forget to issue an SMTP QUIT command when the -D/--certificate option is specified. This avoids undesired MTA log messages.
2015-10-06Merge branch 'pr/1373'Holger Weiss4-20/+97
* pr/1373: check_http: Allow for requesting TLSv1.1/TLSv1.2
2015-10-05Fix for unclosed filehandle in pst3 on Solarisrefs/pull/1371/headabrist1-1/+3
On Solaris, check_procs uses pst3 instead of /bin/ps (see http://monitoring-plugins.org/doc/faq/ps-on-solaris.html for background). There's a small bug in pst3 which causes it to NOT report some processes that are at the end of the process table, at least on very busy systems (we noticed this on a CoolThreads T5240 with load averages up to 90). The bug is that a filehandle is not properly closed. Thanks to jwinkle01 for finding and patching the bug. (Closes #1203)
2015-10-05plugins-scripts/Makefile.am: Testing shell scripts with 'sh -n'Jan Wagner1-0/+1
2015-10-05plugins-scripts/Makefile.am: Cosmetical changesJan Wagner1-1/+1
2015-10-04Merge branch 'pr/1364'Holger Weiss2-472/+2
* pr/1364: check_ntp.pl: Droping this superseded plugin Conflicts: NEWS plugins-scripts/check_ntp.pl
2015-10-04NEWS: Fix typosHolger Weiss1-1/+1
2015-10-04Merge branch 'pr/1363'Holger Weiss57-114/+121
* pr/1363: use unknown exit code for help/version in plugins-root as well use unknown exit code for help/version in plugins change exit code to unknown on help and version info use exit code 3 for version and help
2015-10-04check_http: Allow for requesting TLSv1.1/TLSv1.2refs/pull/1373/headHolger Weiss4-20/+97
check_http's -S/--ssl option now allows for requesting the TLSv1.1 and TLSv1.2 protocols. Apart from that, a '+' suffix can be appended in oder to also accept newer protocols than the specified version. Closes #1338, and closes #1354, and closes #1359.
2015-10-04check_ntp.pl: Droping this superseded pluginrefs/pull/1364/headJan Wagner2-472/+2
2015-10-04check_netdns.pl: Prototyping functionsJan Wagner1-1/+4
2015-10-04use unknown exit code for help/version in plugins-root as wellrefs/pull/1363/headSven Nierlein2-4/+4
Signed-off-by: Sven Nierlein <sven@nierlein.de>
2015-10-04use unknown exit code for help/version in pluginsSven Nierlein39-78/+78
Signed-off-by: Sven Nierlein <sven@nierlein.de>
2015-10-04change exit code to unknown on help and version infoSven Nierlein14-30/+30
Signed-off-by: Sven Nierlein <sven@nierlein.de>
2015-10-04use exit code 3 for version and helpSven Nierlein1-2/+7
Plugins which use OK state for help or version information may run unnoticed in that modes without doing any check. So its good style to let version and help exit with Unknown state. Signed-off-by: Sven Nierlein <sven@nierlein.de>
2015-10-04check_ntp.pl: Using FindBinJan Wagner1-1/+2
2015-10-04travis-ci: Add dependencies to run 'perl -wc'Jan Wagner1-0/+1
2015-10-04plugins-scripts/Makefile.am: Testing scripts with 'perl -wc'Jan Wagner1-0/+1
2015-10-04Merge pull request #1362 from waja/sslutils_remove_superfluous_parenthesisSven Nierlein1-2/+2
sslutils: remove superfluous parenthesis
2015-10-04sslutils: Remove superfluous parenthesis for sslv3 function toorefs/pull/1362/headrefs/pull/1314/headJan Wagner1-1/+1
2015-10-04sslutils: remove superfluous parenthesisSebastian Herbszt1-1/+1
Remove superfluous parenthesis. Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
2015-10-04check_snmp: modified testsOliver Skibbe1-2/+2
(Closes #1325)
2015-10-04check_snmp.c: switched DEFAULT_TIMEOUT to DEFAULT_SOCKET_TIMEOUT (provided ↵Oliver Skibbe1-2/+1
by utils.h), already used by help description, see issue #1318
2015-10-02plugins/check_http.c - fix regression introduced in commit 388ea928 (Host ↵Laurent Licour1-1/+1
header)
2015-10-02plugins/check_http.c - fix Host header if explicitly set with -kLAURENT LICOUR1-12/+29
2015-10-02Merge pull request #1257 from gcoxmoz/masterSven Nierlein2-6/+8
check_tcp: Fixing to return desired exit code
2015-10-02fix tests for certificates expire date with secondsSven Nierlein1-4/+4
2015-10-02Merge pull request #1315 from waja/utils_remove_unused_variableSven Nierlein1-2/+0
utils: remove unused variable
2015-10-02Merge pull request #1349 from waja/check_http_ssl_via_proxySven Nierlein1-4/+41
check_http: Adding support for checking SSL-Websites through Proxies
2015-10-02update thanks fileSven Nierlein1-0/+1
2015-10-02add faketime based tests for check_httpSven Nierlein2-3/+41
2015-10-02fix typo from #1336Sven Nierlein1-2/+3
if exactly one hour before the expire date, we would mixup minutes and hours. Signed-off-by: Sven Nierlein <sven@nierlein.de>
2015-10-02Update sslutils.cMatthias Hähnel1-14/+23
Fixed Output if the expiration time is below one hour and code cleanup
2015-10-02Update sslutils.cMatthias Hähnel1-0/+7
optimize output if certificate expires in less then 24h thx to axel.schmalowsky@sixt.com for this patch
2015-10-02also update check_rpc.pl and check_wave.plElan Ruusamäe2-2/+0
2015-10-02drop superfluous libexecdirElan Ruusamäe10-11/+1
utils.pm locate is already convered by FindBin
2015-10-02install snmpd on travis testsSven Nierlein1-1/+1
because its required for ./plugins/tests/check_snmp.t Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de>
2015-10-02enable libtab on travis buildsSven Nierlein1-1/+1
to enable some more tests Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de>
2015-10-02add perl snmp to travis dependenciesSven Nierlein1-1/+1
it is required for the check_snmp tests Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de>
2015-10-02NEWS: Mention check_ups performance data fixHolger Weiss1-0/+4
2015-10-02Fix incorrect performance data thresholdsLouis Sautier1-6/+6
Closes #1330
2015-10-02check_snmp: small improvement by anonymous submissionJan Wagner1-0/+3
- response should not start with the delimiter - OID response value taken into account Closes issue #1029 Closes push request #1173
2015-10-02check_dhcp: Fix option parsingHolger Weiss1-31/+12
The call_getopt() function didn't always return the correct number of processed arguments. However, since check_dhcp doesn't support non-option arguments, the caller doesn't need this number anyway. Closes #1345.
2015-10-02Merge pull request #1343 from awiddersheim/ipv6/check_fpingSven Nierlein1-1/+1
check_fping: autodetect ipv6 addresses