Commit Graph

187 Commits

Author SHA1 Message Date
Julian Brost 2ea866248b
Merge pull request #9642 from Icinga/9486a
ITL: let check_disk choose sane default units by itself
2023-01-27 22:22:24 +01:00
Alexander A. Klimov 3a1b080338 ITL: let check_disk choose sane default units by itself
so it is responsible for output readability, prefdata precision
and SI vs. IEC on its own.
2023-01-27 16:21:40 +01:00
Julian Brost b10c288146
Merge pull request #8005 from Icinga/feature/http-verify-host-7969
check_http: support --verify-host
2023-01-24 13:02:08 +01:00
Alexander Aleksandrovič Klimov e628c73fb1 check_icmp: double packet loss thresholds
... to get not instantly critical after 1 packet lost (20%), but after 2.
2023-01-16 12:58:35 +01:00
Lorenz 67b025f69b
Add check_disk option to add inode numbers into perfdata (#9494) 2022-08-25 17:33:11 +02:00
Marc Rupprecht 70f88249fd ITL: Add fuse.portal to disk_exclude_type for new Ubuntu LTS 2022-07-28 09:42:14 +02:00
Alexander A. Klimov e4c22e3973 ITL: apt: render vars.apt_[dist_]upgrade=true as --[dist-]upgrade, not --[dist-]upgrade=true
but preserve vars.apt_[dist_]upgrade=-s as --[dist-]upgrade=-s.
2022-07-20 17:25:22 +02:00
Adam James 47b1981fac ITL: Add support for "--sni" option to check_tcp
fixes #9307
2022-06-30 13:02:56 +01:00
Alexander Aleksandrovič Klimov ff6cdc2c71
Merge pull request #9296 from Napsty/nrpe-v3
Add nrpe v3 parameter in ITL
2022-06-22 12:40:24 +02:00
Alexander A. Klimov 069c3968d9 Introduce Command#arguments[].sep
... for letting check commands produce argv like --key=value,
not just --key value.

refs #6277
2022-05-11 17:50:12 +02:00
Claudio Kuenzler 193aff93cf Adjust description 2022-04-04 13:02:30 +02:00
Napsty 896590e740 Adjust descriptions 2022-03-30 16:04:48 +02:00
Napsty cc57698c3b Add nrpe v3 parameter in ITL 2022-03-25 14:39:19 +01:00
Alexander Aleksandrovič Klimov cf8923d628
Merge pull request #9016 from Napsty/nrpe-disable-logging
Add new check_nrpe parameter -D to disable logging to syslog
2022-02-21 12:19:56 +01:00
C C Magnus Gustavsson a9b6b1dba0 ITL: Add --extra-opts parameter to the mysql and pgsql CheckCommand definitions 2022-01-31 11:40:04 +01:00
Napsty 195fae6113 Add ITL config option for different NRPE payload size/length 2021-10-12 08:29:07 +02:00
Peter Eckel fd9f69b3a2
Make http_header repeatable (fixes #8573) (#8574)
* Made http_header repeatable (fixes #8573)

* Removed explicit repeat_key option for a default setting

* Fixed closing backtick
2021-10-01 17:40:38 +02:00
Napsty 57bea5e3c4 Add new check_nrpe parameter -D to disable logging to syslog 2021-09-29 09:46:55 +02:00
Alexander Aleksandrovič Klimov b4e85235aa
Merge pull request #8020 from Icinga/bugfix/itl-mysql-s-h-8017
check_mysql: don't set -H if -s is given
2021-01-28 11:27:34 +01:00
Iustin Pop 8509e55b78 Improve check_dns command when used with monitoring-plugins 2.3
Version 2.3 of monitoring plugins did two things:

- change how multiple addresses are expected; no longer a single
  argument, with comma separated values, but repeated "-a" argument;
  sadly this is incompatible change, and configs need to be changed
  manually; this is commit
  monitoring-plugins/monitoring-plugins@a03068743f;
- add a "-L" argument that requires all passed addresses to be
  matched, which allows for stronger validation (all vs. at least
  one); this is commit
  monitoring-plugins/monitoring-plugins@fd9a7d2e00;

Both of these were committed a long while ago (2018), but were only
released very recently, in the 2.3 release (December 2020).

I've tried to make the descriptions as good as I could, but not sure
they're very readable, feedback welcome.

Signed-off-by: Iustin Pop <iustin@k1024.org>
2021-01-18 18:10:33 +01:00
Alexander Aleksandrovič Klimov d059947107
Merge pull request #8109 from Icinga/bugfix/assignment-of-check-address-blocks-check-by-hostname-4965
ITL:  Assignment of check_adress in check_http blocks check by hostname
2020-11-02 14:47:59 +01:00
Yonas Habteab ed6546ca5a Check whether $http_address$ is empty 2020-07-10 12:31:09 +02:00
Alexander A. Klimov a8cf3b39a3 check_mysql: don't set -H if -s is given
... as -H overrides -s.

refs #8017
2020-05-19 17:24:21 +02:00
Alexander A. Klimov 3c60d851fb check_http: support --verify-host
refs #7969
2020-05-13 10:41:24 +02:00
Jochen Friedrich 83977c5754 Add parameters needed for PKI usage.
To use PKI with nrpe, a CA must be specified and anonymous DH must be disabled.
If client certificates are enforced by nrped, additionally a private cert and key
must be specified. This patch adds all these parameters as well TLS configuration
options to limit the TLS version and crypto parameters:

nrpe_ca          - The CA file to use for PKI. Defaults to none.
nrpe_cert        - The client cert file to use for PKI. Defaults to none.
nrpe_key         - The client key file to use for PKI. Defaults to none.
nrpe_ssl_version - The SSL/TLS version to use. Defaults to TLSv1+.
nrpe_cipher_list - The list of SSL ciphers to use. Default depends on check_nrpe version.
nrpe_dh_opt      - Anonymous Diffie Hellman use: 0 = deny, 1 = allow, 2 = force.
                   Default depends on check_nrpe version.
2020-03-16 13:49:57 +01:00
Alexander A. Klimov 73b9e794d3 CheckCommand ssl: s/-N/--sni/ 2020-01-08 10:15:29 +01:00
Max Deparade 0e00ffee39 Adding check_uptime to itl 2019-08-26 11:13:58 +02:00
Peter Eckel 31deb75d3e Provide the snmpv3_context option and the corresponding item in the documentation 2019-06-03 10:56:00 +02:00
Michael Friedrich d14a88235d Replace Copyright header with a short version, part I
CLion -> replace in path
2019-02-25 14:48:22 +01:00
BarbUk c97c42bff4 Fix ITL CheckCommand disk
Add -N/--include-type option, available since release 1.5.
2018-12-20 13:22:59 +04:00
Adam James 3a4f075f72 ITL: Support --list argument to check_apt 2018-12-05 09:32:54 +00:00
Michael Friedrich eabea68c56 icinga.com: Update config files (ITL, etc.) 2018-10-18 09:37:59 +02:00
Robert Lindgren acfef7c10d squashfs ignored
Add squashfs to check_disk ignore list, used on Ubuntu for snaps.
2018-07-30 18:22:22 +02:00
Markus Frosch fa68c9255b itl: Ignore overlay and netfs filesystems
Usually used by Docker and other containers and namespaces
2018-03-02 12:44:08 +01:00
Gunnar Beutner 414a8ec534 Move the "passive" check command to command-icinga.conf 2018-01-30 14:58:57 +01:00
Michael Insel 548027808b ITL by_ssh add -E parameter
This adds the -E parameter to the by_ssh ITL CheckCommand definition.

refs #4094
2018-01-24 20:51:43 +01:00
Michael Insel 158ae2188e Change copyright header for 2018 2018-01-02 12:08:55 +01:00
Michael Friedrich 49931ea732
Merge pull request #5717 from hrld/patch-1
add order tags to disk check
2017-12-19 09:22:22 +01:00
Gunnar Beutner 6cf41ff038
Merge pull request #5792 from mcktr/fix/itl-add-check-rpc
ITL: Add check_rpc
2017-11-27 10:29:28 +01:00
Gunnar Beutner 55b1cce248
Merge pull request #5744 from Icinga/feature/embedded-dummy-check
Implement DummyCheckTask and move dummy into embedded in-memory checks
2017-11-27 10:25:43 +01:00
Michael 8d1ecb9b36 ITL: Add check_rpc 2017-11-22 22:26:02 +01:00
Michael Friedrich 6fe14f88c8 ITL: Drop ssl_sni default setting
That's not supported by all plugin suites out there, and as such
should not be the default value. The user must set it explicitly.

fixes #5775
2017-11-21 09:39:58 +01:00
Michael Friedrich 6d9a0b7145 Implement DummyCheckTask and move dummy into embedded in-memory checks
This replaces the previous "dummy" CheckCommand, and the user won't
notice it. Provided performance data will be parsed the same way.

This saves a shell fork and check_dummy execution.

We're relying on this when creating cluster checks with Icinga 2 DSL
and more. If one does not have the plugins installed, this then also works.

fixes #5740
2017-11-09 20:19:31 +01:00
Harald Laabs 04c65daa34
add order tags to disk check
Ensure argument order for inode parameters and "all"-flag is the same as for other disk-free options and partition-parameter. As a result the inode-checks should actually work with the "disk_all" (-A) flag.
2017-11-03 11:07:16 +01:00
Dirk Melchers 324940d8b4 ITL: Add "-q" parameter to ntp_peer CheckCommand
Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-11-02 15:31:36 +01:00
Michael aad3c6af6b ITL: Re-Add ssl_sni attribute for check_tcp 2017-09-22 17:58:57 +02:00
Roland Hopferwieser c5dad15d3a Exclude configfs from disk checks 2017-09-07 11:49:52 +02:00
Yannick Charton e61d43468b Feature/itl check snmp options (#5387)
Add missing options for the definition of the ITL snmp CheckCommand

snmp_offset, snmp_output_delimiter and snmp_perf_oids options
2017-08-14 17:51:23 +02:00
Markus Waldmueller 96777b9f13 Update negate CheckCommand definition
refs #5427

Signed-off-by: Jean Flach <jean-marcel.flach@icinga.com>
2017-08-07 13:40:05 +02:00
Gunnar Beutner 1c1943f58a Remove default value for 'dns_query_type' 2017-06-28 14:00:11 +02:00