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
Sven Nierlein
5f16ba81c4
Merge pull request #1491 from odenbach/no_swap
...
check_swap: repaired "-n" behaviour
2019-03-28 16:55:22 +01:00
Sven Nierlein
71582d8bf9
Merge pull request #1586 from computersalat/master
...
improve command examples for 'at least' processes
2019-03-21 17:43:55 +01:00
Sven Nierlein
41d98f708a
Merge pull request #1587 from jacobbaungard/check_mysql_allow_socket-H
...
check_mysql: Allow sockets to be specified to -H
2019-03-21 17:42:19 +01:00
ChrisWi
a58ea5ec5d
improve command examples for 'at least' processes
2019-03-21 14:18:37 +01:00
Robin Sonefors
2bc4cc99d2
check_mysql: Allow sockets to be specified to -H
...
The help text says that -H accepts a "unix socket (must be an absolute
path)". Now that actually corresponds to reality.
Signed-off-by: Robin Sonefors <robin.sonefors@op5.com>
2019-03-21 13:54:19 +01:00
Sven Nierlein
97bb142b14
Merge pull request #1506 from sanchezfauste/check_apt_parameters
...
Adding packages-warning option to check_apt plugin
2019-02-19 22:10:07 +01:00
Sven Nierlein
af8e68d140
Merge pull request #1507 from sanchezfauste/check_load_print_top_procs
...
Adding print top consuming processes option to check_load
2019-02-19 22:08:04 +01:00
Sven Nierlein
e5823c7ae4
Merge pull request #1527 from m-kraus/master
...
check_snmp: make calcualtion of timeout value in help output more clear
2019-02-19 21:58:03 +01:00
Sven Nierlein
555559fd30
Merge pull request #1567 from vdanjean/master
...
[check_disk] add support to display inodes usage in perfdata
2019-02-19 21:49:13 +01:00
Sven Nierlein
931ed78b5d
Merge pull request #1583 from sni/fix_check_by_ssh_timeout_child_leak
...
check_by_ssh: fix child process leak on timeouts
2019-02-19 21:42:02 +01:00
Sven Nierlein
2813d08b92
Merge pull request #1585 from sni/update_test_certs
...
renew test certificates
2019-02-19 21:41:28 +01:00
Sven Nierlein
8442ed5b41
renew test certificates
...
Signed-off-by: Sven Nierlein <sven@nierlein.de>
2019-02-19 16:35:28 +01:00
Sven Nierlein
c40babbb6a
Merge pull request #1563 from jacobbaungard/ipv6_check_icmp
...
check_icmp: Add IPv6 support
2019-02-19 15:44:05 +01:00
Sven Nierlein
c0ff2b66e8
Merge pull request #1584 from DerDakon/typo
...
check_dns: fix typo in parameter description
2019-02-15 18:01:51 +01:00
Rolf Eike Beer
763eb740b3
check_dns: fix typo in parameter description
2019-02-15 17:31:29 +01:00
Sven Nierlein
7cafb0e845
check_by_ssh: fix child process leak on timeouts
...
When check_by_ssh runs into a timeout it simply exits keeping all child processes running.
Simply adopting the kill loop from runcmd_timeout_alarm_handler() fixes this.
Signed-off-by: Sven Nierlein <sven@nierlein.de>
2019-02-15 10:36:28 +01:00
Sven Nierlein
2962148d8b
Merge pull request #1582 from towolf/show_body_for_http_expect_case
...
Also support the --show-body/-B flag when --expect is used
2019-02-15 09:02:43 +01:00
Sven Nierlein
8f1d3de0b7
Merge pull request #1545 from DerDakon/dns_order
...
check_dns: improve support for checking multiple addresses
2019-02-15 09:00:45 +01:00
Tobias Wolf
f7f0f7d467
Also support the --show-body/-B flag when --expect is used
2019-02-12 13:01:23 +01:00
Jan Wagner
49a0583bff
Merge branch 'travis-ci-xenial'
2019-02-06 08:34:44 +01:00
Jan Wagner
2dcfbbcad0
travis-ci: Use RSA keys for SSH tests
2019-02-04 14:24:29 +01:00
Jan Wagner
2416aaadd8
travis-ci: Restart mysql
2019-02-02 17:26:01 +01:00
Jan Wagner
0ca6c28ebf
travis-ci: The package name is now 'squid'
2019-02-02 16:56:37 +01:00
Jan Wagner
a8d96ce2c6
travis-ci: Remove backports ppa
2019-02-02 16:47:07 +01:00
Jan Wagner
0ec21334c3
travis-ci: Switch over to xenial
2019-02-02 16:36:47 +01:00
Sven Nierlein
da02bfe3ca
Merge pull request #1578 from sni/tests_fix_snmp_test
...
tests: make check_snmp test more reliable
2019-02-01 18:07:13 +01:00