Jan Wagner
bcedcee206
New version number for git
2020-12-09 22:48:44 +01:00
Jan Wagner
d9c87f84b4
Draft NEWS
2020-12-09 22:38:01 +01:00
Jan Wagner
5789a76bbc
Updating contributors
2020-12-09 22:09:38 +01:00
Jan Wagner
233251f43b
Updating version number
2020-12-09 14:10:53 +01:00
waja
81b99ded7f
Merge pull request #1650 from sni/fix_check_mailq_options
...
check_mailq: restore accidentially removed options
2020-12-08 16:55:04 +01:00
Sven Nierlein
aa79ab278f
check_mailq: restore accidentially removed options
...
with https://github.com/monitoring-plugins/monitoring-plugins/issues/381 -W and -C have been removed. It
would have been sufficient to only remove the long options. Restoring short options..
- fixes https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=954961
2020-12-08 16:24:10 +01:00
Rolf Eike Beer
ad99755033
check_dns: split multiple IP addresses passed in one -a argument
2020-11-02 20:05:56 +01:00
Sven Nierlein
67877a296e
Merge pull request #1645 from Prathu121/master
...
Improves and fixes
2020-10-02 17:38:27 +02:00
Prathamesh Bhanuse
1039822de8
Update README
2020-10-02 01:48:46 +05:30
Sven Nierlein
739a7bbe7c
Merge pull request #1514 from Rasp8e/master
...
Proxy authorization is now kept when using PROXY + CONNECT to HTTPS
2020-09-23 17:19:23 +02:00
ghciv6
b8b87b55d6
- fix for issue #1562
...
1st compare then free up resources
2020-09-15 21:36:27 +02:00
mdavranche
11af74de38
check_swap: Handle cached swap
2020-08-18 15:37:38 -04:00
Sven Nierlein
cadac85e12
Merge pull request #1634 from ghciv6/check_dns_detect_unreach_svc
...
detect unreachable dns service in nslookup output
2020-05-20 23:30:14 +02:00
ghciv6
905b09c38b
detect unreachable dns service in nslookup output (from bind-utils-9.8.2)
...
prevent core if error_scan detects an error in a line without ':'
2020-05-20 23:02:42 +02:00
Sven Nierlein
00948e95f4
Merge pull request #1535 from monitoring-plugins/feature_check_curl
...
Feature check curl
2020-05-19 09:53:30 +02:00
Sven Nierlein
772fb233b9
check_curl: host_name may be null
...
for example when using like: ./check_curl localhost
2020-05-18 14:08:45 +02:00
Sven Nierlein
7d2582deb3
update test parameter according to check_http
2020-05-18 14:08:27 +02:00
Sven Nierlein
84fd9ae893
check_curl: use CURLOPT_RESOLVE to fix connecting to the right ip
...
when using ssl, the composed url contains the hostname instead of the specified
ip. So use CURLOPT_RESOLVE to make curl still connect to the ip.
2020-05-18 13:43:17 +02:00
Sven Nierlein
8a64e47083
check_curl: clean trailing whitespace
2020-05-18 11:30:34 +02:00
Sven Nierlein
d54f14a092
merge test changes from check_http
...
the example certificate has changed since.
2020-05-15 14:24:18 +02:00
Sven Nierlein
072e97d5de
tests: update expired test certificate
...
the certificate used to test expired http checks is to old to be used
with recent ssl libraries and results in:
> SSL routines:SSL_CTX_use_certificate:ee key too small
unfortunatly the error is only visible when setting $IO::Socket::SSL::DEBUG in
the check_http.t file.
2020-05-15 14:24:18 +02:00
Sven Nierlein
b123585354
tests: update expired test certificate
...
the certificate used to test expired http checks is to old to be used
with recent ssl libraries and results in:
> SSL routines:SSL_CTX_use_certificate:ee key too small
unfortunatly the error is only visible when setting $IO::Socket::SSL::DEBUG in
the check_http.t file.
2020-05-15 14:22:51 +02:00
Sven Nierlein
53e6f2970d
Merge branch 'upstream' into check_curl
2020-05-15 11:46:54 +02:00
ghciv6
4264e7a6ed
- workaround for issue #1550
...
- better use "ping -4" instead of "ping" if supported
2020-04-14 12:37:00 +02:00
DaTa
d008be6825
Revert "simplify documentation"
...
This reverts commit 7693af1479 .
Now it is wrong:
After reading
https://www.naemon.org/documentation/usersguide/pluginapi.html#plugin_output_spec
the old wording makes more sense.
2020-01-30 11:00:16 +01:00
Vadim Zhukov
60ec4d2901
Use size_t instead of int when calling sysctl(3).
...
Otherwise, it writes sizeof(size_t) bytes to &oldlen, smashing the stack.
2020-01-21 20:40:30 +01:00
Andreas Baumann
adb9588494
Merge branch 'master' into feature_check_curl
2020-01-09 14:54:12 +01:00
Alexander A. Klimov
f53ea7afd8
check_tcp: add --sni
2020-01-07 21:32:15 +01:00
Christian Tacke
9da7cd7681
Fix timeout_interval declarations
...
There are different declarations for timeout_interval:
lib/utils_base.c has the definition:
unsigned int timeout_interval = DEFAULT_SOCKET_TIMEOUT;
lib/utils_base.h has the appropiate declaration:
extern unsigned int timeout_interval;
plugins/popen.h has an extra declaration:
extern unsigned int timeout_interval;
This doesn't hurt, but it's a dupe. The one in utils_base.h
should be enough, so remove this one.
plugins/popen.c has a WRONG one:
extern int timeout_interval;
Remove it!
Use #include "utils.h" to get the right one.
This makes the local defines for max/min unnecassary, so
remove them also.
2020-01-07 10:22:39 +01:00
Andreas Baumann
5e0c236d6a
increased copyright
2019-12-29 10:23:02 +00:00
Andreas Baumann
491e2c0f91
Merge branch 'master' into feature_check_curl
2019-12-04 19:56:38 +01:00
datamuc
7693af1479
simplify documentation
...
"first" + "second to last" is every line right?
2019-11-28 09:05:38 +01:00
Andreas Baumann
1b689dab5e
check_curl: NSS, parse more date formats from certificate (in -C cert check)
2019-11-07 15:31:52 +00:00
Andreas Baumann
f7efee5f9c
check_curl: more tolerant CN= parsing when checking certificates (hit on Centos 8)
2019-11-07 08:20:17 +00:00
Andreas Baumann
ede43c848d
setting no_body to TRUE when we have a HEAD request
2019-10-11 17:22:34 +02:00
Andreas Baumann
04c58e0210
some LIBCURL_VERSION checks around HTTP/2 feature
2019-09-07 16:06:17 +02:00
Andreas Baumann
f546041722
added --http-version option to check_curl to choose HTTP version
2019-09-07 15:58:09 +02:00
Andreas Baumann
95ee6ace09
improved curlhelp_parse_statusline to handle both HTTP/1.x and HTTP/2
2019-09-07 15:31:15 +02:00
Andreas Baumann
fe91deb40c
check_curl: updates embedded picohttpparser to newest git version
2019-09-07 14:22:00 +02:00
Andreas Baumann
c4d194bd2d
fixed whitespaces in REQUIREMENTS for check_curl to fit the rest of the requrirements
2019-09-07 14:21:14 +02:00
Andreas Baumann
ea7f1fbb5c
Merge branch 'master' into feature_check_curl
2019-09-07 11:27:19 +02:00
Andreas Baumann
4d666514f2
setting progname of check_curl plugin to check_curl (at least for now)
2019-09-07 11:20:13 +02:00
Andreas Baumann
0d5fe4c35e
remove obsolete AM_CONDITIONAL([WITH_CHECK_CURL])
2019-09-07 11:19:32 +02:00
tonvoon
5f4182f5da
Delete nagiosplug_mariadbclient.patch
2019-08-12 10:40:42 +02:00
Ton Voon
1de8c41b6c
Allow mariadbclient to be used for check_mysql
2019-08-12 10:40:42 +02:00
Andreas Baumann
34cc70c3c6
Merge branch 'master' into feature_check_curl
2019-07-18 08:40:35 +02:00
Sven Nierlein
e8325b39c4
fix maxfd being zero
...
If _SC_OPEN_MAX is available then maxfd was zero initialized and never set to the value from sysconf.
This leads to segfaults with free(): invalid size introduced by commit 7cafb0e845 .
Signed-off-by: Sven Nierlein <sven@nierlein.de>
2019-05-24 14:51:10 +02:00
Sven Nierlein
4131f2f268
Merge pull request #1591 from odenbach/check_disk_help
...
include -P switch in help
2019-04-09 10:12:10 +02:00
Christopher Odenbach
a15d425598
include -P switch in help
2019-04-09 09:49:57 +02:00
Andreas Baumann
2f4d6764d7
Merge branch 'master' into feature_check_curl
2019-04-04 13:09:15 +02:00