Commit graph

2949 commits

Author SHA1 Message Date
Oliver Skibbe
6fcf0fbbee Update AUTHORS
Added Oliver Skibbe to Authors
2016-03-24 07:31:19 +01:00
Holger Weiss
e16dc71d5c Merge branch 'pr/1386'
* pr/1386:
  check_dig: expected answer is now incasesensitive
2016-02-22 23:11:01 +01:00
Holger Weiss
0960239981 Let check_http test use HTTP/1.1 2016-02-22 21:59:58 +01:00
Holger Weiss
cca2b31923 Merge branch 'pr/1404'
* pr/1404:
  DNS is case insensitive!
2016-02-22 21:53:05 +01:00
Holger Weiss
8dc6bc6428 Add Gnulib module "strcasestr" 2016-02-22 21:50:55 +01:00
Sven Geggus
d44b8d70a4 DNS is case insensitive!
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
2016-02-22 17:14:27 +01:00
Jan Wagner
ac380fd243 Merge remote-tracking branch 'upstream/pr/1390' 2015-11-03 11:08:11 +01:00
Gerhard Lausser
b59ac4e615 Typo in check_ldap.c usage 2015-11-02 18:14:09 +01:00
Jan Wagner
5e7cdfd08c travis-ci: Adding spwaspace to trusty env 2015-10-21 16:33:59 +02:00
Jan Wagner
effa67b8cc travis-ci: Stop local running ntpd 2015-10-21 16:33:59 +02:00
Jan Wagner
0eee69714d travis-ci: Detect LDAP config 2015-10-21 16:33:59 +02:00
Jan Wagner
650d396186 travis-ci: Add ppa:waja/precise-backports for fixed faketime 2015-10-21 16:33:59 +02:00
Jan Wagner
fe5a13afd1 travis-ci: Clearly documentx why we need install mariadb 2015-10-20 18:54:55 +02:00
Jan Wagner
20d8799fb0 travis-ci: Work around broken /etc/hosts on trusty env 2015-10-20 18:44:13 +02:00
Jan Wagner
079ab8a658 travis-ci: Adding multiverse repository as long it's not default. snmp-mibs-downloader is located there 2015-10-19 18:37:13 +02:00
Jan Wagner
2a3f4b30ad travis-ci: Install mariadb-client and mariadb-server 2015-10-19 18:36:56 +02:00
Jan Wagner
f34df5bb24 travis-ci: Migrating to Trusty CI env 2015-10-19 17:57:33 +02:00
Holger Weiss
bb90b0127d Prepare for the 2.1.2 release 2015-10-16 12:12:50 +02:00
Daniel Stirnimann
24eea9fa34 check_dig: expected answer is now incasesensitive
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-15 10:59:32 +02:00
Jan Wagner
edcf7d64ee Updating NEWS 2015-10-13 11:37:34 +02:00
Jan Wagner
25e6f5efaf Merge branch 'check_proc_1203'
(Closes #1371)
(Closes #1203)
2015-10-13 11:15:20 +02:00
Holger Weiss
11c5796d0a Revert "Don't let check_disk hang on hanging file systems"
This reverts commit 6986aa1d0a.  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-12 11:07:02 +02:00
Sven Nierlein
813b3bd5a4 fix guidelines docbook syntax
no newlines allowed after </para>
2015-10-08 13:46:53 +02:00
Holger Weiss
d1fbd4aa29 doc/developer-guidelines.sgml: Add missing tag 2015-10-08 12:52:19 +02:00
Holger Weiss
37928b52a5 Merge branch 'maint'
* 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-08 12:52:10 +02:00
Holger Weiss
934fa89f46 Merge branch 'pr/1379'
* pr/1379:
  check_smtp.c: modified SSL check for use with -e
2015-10-08 10:24:10 +02:00
Oliver Skibbe
b6de2341f8 check_smtp.c: modified SSL check for use with -e
- 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-08 09:04:29 +02:00
Holger Weiss
dfe66c01c0 check_smtp: Let "-D" option imply "-S" 2015-10-06 23:28:24 +02:00
Holger Weiss
b317aaf32a check_smtp: QUIT SMTP connection when "-D" is used
Don't forget to issue an SMTP QUIT command when the -D/--certificate
option is specified.  This avoids undesired MTA log messages.
2015-10-06 23:21:17 +02:00
Holger Weiss
5029714a9d Merge branch 'pr/1373'
* pr/1373:
  check_http: Allow for requesting TLSv1.1/TLSv1.2
2015-10-06 12:57:29 +02:00
abrist
d077d64e54 Fix for unclosed filehandle in pst3 on Solaris
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-05 13:23:59 +02:00
Jan Wagner
dbd38bf7ec plugins-scripts/Makefile.am: Testing shell scripts with 'sh -n' 2015-10-05 11:07:19 +02:00
Jan Wagner
2369338191 plugins-scripts/Makefile.am: Cosmetical changes 2015-10-05 09:59:50 +02:00
Holger Weiss
8b2a2b1f4a Merge branch 'pr/1364'
* pr/1364:
  check_ntp.pl: Droping this superseded plugin

Conflicts:
	NEWS
	plugins-scripts/check_ntp.pl
2015-10-04 23:48:28 +02:00
Holger Weiss
da3327fead NEWS: Fix typos 2015-10-04 23:44:35 +02:00
Holger Weiss
3f17f18416 Merge branch 'pr/1363'
* 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-04 23:42:41 +02:00
Holger Weiss
f43083c6a9 check_http: Allow for requesting TLSv1.1/TLSv1.2
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-04 23:28:35 +02:00
Jan Wagner
8832694161 check_ntp.pl: Droping this superseded plugin 2015-10-04 21:17:48 +02:00
Jan Wagner
5ca1bff80c check_netdns.pl: Prototyping functions 2015-10-04 19:50:18 +02:00
Sven Nierlein
bebf1cd050 use unknown exit code for help/version in plugins-root as well
Signed-off-by: Sven Nierlein <sven@nierlein.de>
2015-10-04 19:24:30 +02:00
Sven Nierlein
edca257e20 use unknown exit code for help/version in plugins
Signed-off-by: Sven Nierlein <sven@nierlein.de>
2015-10-04 19:24:30 +02:00
Sven Nierlein
d6baf9dbce change exit code to unknown on help and version info
Signed-off-by: Sven Nierlein <sven@nierlein.de>
2015-10-04 19:24:30 +02:00
Sven Nierlein
741710c27c use exit code 3 for version and help
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-04 19:04:46 +02:00
Jan Wagner
20d223119e check_ntp.pl: Using FindBin 2015-10-04 18:38:25 +02:00
Jan Wagner
2f5d0b105c travis-ci: Add dependencies to run 'perl -wc' 2015-10-04 17:38:01 +02:00
Jan Wagner
c0b4f41899 plugins-scripts/Makefile.am: Testing scripts with 'perl -wc' 2015-10-04 17:37:52 +02:00
Sven Nierlein
5a9ca0590f Merge pull request #1362 from waja/sslutils_remove_superfluous_parenthesis
sslutils: remove superfluous parenthesis
2015-10-04 15:26:13 +02:00
Jan Wagner
8e661a3bd6 sslutils: Remove superfluous parenthesis for sslv3 function too 2015-10-04 15:16:15 +02:00
Sebastian Herbszt
0a406d8dce sslutils: remove superfluous parenthesis
Remove superfluous parenthesis.

Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
2015-10-04 15:09:36 +02:00
Oliver Skibbe
2d677b19ed check_snmp: modified tests
(Closes #1325)
2015-10-04 13:40:04 +02:00