summaryrefslogtreecommitdiffstats
path: root/plugins
AgeCommit message (Collapse)AuthorFilesLines
2016-02-22DNS is case insensitive!refs/pull/1404/headSven Geggus1-1/+1
Thus recent Versions of bind will no longer change .IN-ADDR.ARPA to lowercase as the uppercase version is also valid. To have check_dns.c consider this fact change strstr to strcasestr
2015-11-04Update check_http.crefs/pull/1391/headGerhard Lausser1-0/+4
If a web page contains a nul character, check_http reads the complete page but --expect does not search beyond this character.
2015-11-02Typo in check_ldap.c usagerefs/pull/1390/headGerhard Lausser1-1/+1
2015-10-15check_dig: expected answer is now incasesensitiverefs/pull/1386/headDaniel Stirnimann1-1/+1
check_dig was casesensitive if an expected answer is given. Switching strstr with strcasestr fixes this issue While testing i noticed a bug where expected is not an exact match New issue for that is opened #1385 This fix closes #1233
2015-10-12Revert "Don't let check_disk hang on hanging file systems"Holger Weiss2-44/+1
This reverts commit 6986aa1d0a352d8d02eed4896034631fffd25a27. That commit leads to issues on non-Linux systems, and it seems to not (always) work as expected on Linux, either. Conflicts: plugins/Makefile.am plugins/check_disk.c Closes #1377 and closes #1329.
2015-10-08Merge branch 'maint'Holger Weiss3-10/+9
* 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-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 Weiss3-20/+93
* pr/1373: check_http: Allow for requesting TLSv1.1/TLSv1.2
2015-10-04check_http: Allow for requesting TLSv1.1/TLSv1.2refs/pull/1373/headHolger Weiss3-20/+93
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-04use unknown exit code for help/version in pluginsSven Nierlein39-78/+78
Signed-off-by: Sven Nierlein <sven@nierlein.de>
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-02add faketime based tests for check_httpSven Nierlein1-3/+40
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-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-02Merge pull request #1343 from awiddersheim/ipv6/check_fpingSven Nierlein1-1/+1
check_fping: autodetect ipv6 addresses
2015-10-02travis: fix http test hostSven Nierlein1-1/+1
Signed-off-by: Sven Nierlein <sven@nierlein.de>
2015-10-01check_http: Adding support for checking SSL-Websites through Proxiesrefs/pull/1349/headMichael Melcher1-4/+41
Ported the fix from Frank4dd to the latest git version. See also http://nagios.frank4dd.com/howto/monitor-ssl-web sites-through-proxy.htm
2015-10-01travis: fix http test hostSven Nierlein1-1/+1
Signed-off-by: Sven Nierlein <sven@nierlein.de>
2015-08-26sslutils: Check if OpenSSL supports SSLv3.Jérémie Courrèges-Anglas1-0/+5
2015-08-13Allow check_fping to autodetect ipv6 addressesrefs/pull/1343/headAndrew Widdersheim1-1/+1
Stole the logic in check_ping that allows it to autodetect whether an address is ipv6 or not. Now the user does not have to specify -6 when using check_fping with ipv6 addresses.
2015-04-23check_ldap: fix number of skipable testsSven Nierlein1-2/+2
Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de>
2015-04-22check_ldap: fix entries threshold checkSven Nierlein1-15/+21
fix typo in threshold check. instead of setting the state always to warning, use the result from the thresholds entry check. Signed-off-by: Sven Nierlein <sven@nierlein.de>
2015-04-22add check_ldap testSven Nierlein2-0/+82
install openldap on travis and grep base dn from slapcat. Signed-off-by: Sven Nierlein <sven@nierlein.de>
2015-04-21add counting of entries to check_ldapGerhard Lausser1-9/+60
2015-04-21add sperfdata function which can handle threshold rangesGerhard Lausser1-0/+40
2015-04-13Readability fixAndrew Widdersheim1-1/+2
2015-04-12fix snmp test for included thresholdSven Nierlein1-11/+11
since 6623a1 check_snmp prints the thresholds along the performance data. This adjust our test cases accordingly. Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de>
2014-12-27utils: remove unused variablerefs/pull/1315/headSebastian Herbszt1-2/+0
Remove unused variable. Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
2014-12-27check_ntp_time: remove unused variablesrefs/pull/1313/headSebastian Herbszt1-4/+2
Remove unused variables. Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
2014-12-27check_ntp: remove unused variablesrefs/pull/1311/headSebastian Herbszt1-4/+2
Remove unused variables. Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
2014-12-27check_disk: remove unused variablesrefs/pull/1312/headSebastian Herbszt1-7/+2
Remove unused variables. Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
2014-12-15negate: remove unused variablesrefs/pull/1309/headSebastian Herbszt1-2/+2
Remove unused variables. Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
2014-12-15check_dns: remove dead coderefs/pull/1307/headSebastian Herbszt1-6/+0
Remove code dead since commit 4efa917. Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
2014-12-02Merge branch 'handle-hanging-nfs'Holger Weiss2-1/+44
* handle-hanging-nfs: NEWS: Mention check_disk enhancement Cosmetic change: s/THRLIBS/THREADLIBS/ configure.ac: Don't let pthread check depend on OS check_disk: Seperate declarations from code check_disk: Remove unused status variable check_disk: Fix pthread start routine type Don't let check_disk hang on hanging file systems