Commit Graph

569 Commits

Author SHA1 Message Date
Alexander Aleksandrovič Klimov 000a776dfb
Built-in check command: ifw-api (#9062) 2023-07-06 14:18:21 +02:00
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
Markus Weber 0bdcd08e02
Add the Option to disable RetryWrites to CheckCommand of mongodb (#9539)
* Add the Option to disable RetryWrites to CheckCommand for newer check_mongodb.py

* Add documentation foor the Option to disable RetryWrites in the MongoDB-Check
2023-01-27 15:59:40 +00: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 1a158c400f
Merge pull request #9056 from Icinga/Al2Klimov-patch-5
check_logfiles: --winwarncrit is a flag, not a param
2023-01-24 14:01:55 +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
Julian Brost 3c2a8c98b6
Merge pull request #9045 from Icinga/feature/check_linux_netdev
ITL: add check_linux_netdev
2023-01-18 14:19:25 +01:00
Julian Brost ce5e6e7d13
Merge pull request #9041 from Icinga/Al2Klimov-patch-1
check_icmp: double packet loss thresholds
2023-01-17 15:15:46 +01:00
Julian Brost 06d0e7fbb9
Merge pull request #9611 from Icinga/8992
ITL: vmware: support --open_vm_tools_ok, --no_vm_tools_ok
2023-01-17 14:44:59 +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
Alexander A. Klimov c6dd6a092c ITL: add check_linux_netdev 2023-01-16 11:33:23 +01:00
Alexander A. Klimov 726db57c6c ITL: vmware: support --no_vm_tools_ok 2022-12-13 18:08:01 +01:00
Alexander A. Klimov 9902f9b88f ITL: vmware: sync updated (i.e. broken) CLI arg 2022-12-13 18:01:52 +01:00
Alexander A. Klimov 324b002c33 ITL: mongodb: support --ssl-ca-cert-file 2022-12-13 17:47:30 +01:00
Fabian Werner e615b297f9
[ITL] Added some ignore options for check_ssl_cert (#9512) 2022-10-07 11:31:28 +00: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
Alexander Aleksandrovič Klimov e58b2d5b52
Merge pull request #9435 from Napsty/esxi-hardware-format
New additional parameters on esxi_hardware check
2022-07-15 09:33:24 +02:00
Napsty 78ad74fea2 New additional parameters on esxi_hardware check 2022-07-08 08:45:59 +02:00
Adam James 47b1981fac ITL: Add support for "--sni" option to check_tcp
fixes #9307
2022-06-30 13:02:56 +01:00
Christopher Peterson 286e84bb56
Add new option `-a` to the `mem` CheckCommand (#9385)
* To the `mem` CheckCommand, add support for `check_mem.pl`'s new argument `-a`

`-a           Check AVAILABLE memory (only Linux)`

* Update documentation for the CheckCommand `mem` to include the new `mem_available` option
2022-06-22 12:52:11 +02: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
log1-c 44a34cf070
Merge pull request #9103 from log1-c/patch-2
ITL: add all businessprocess module check parameters
2022-04-04 12:56:42 +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
Rostislav Opocensky e05128fa3c
pass nwc_health check SNMPv3 args only if needed (#9095)
* pass nwc_health check SNMPv3 args only if needed

check_nwc_health fails if any of the SNMPv3 arguments were passed but
the SNMP version 3 protocol was not requested.

For instance the following works:

	check_nwc_health --hostname 192.0.2.3 --mode cpu-load \
		--protocol 1 --community public

While the following plugin invocation results in an error:

	check_nwc_health --hostname 192.0.2.3 --mode cpu-load \
		--protocol 1 --community public \
		--username joe --authpassword xxx

The superfluous SNMPv3 arguments may easily get inherited e.g. from host
templates.

* string()ify the result of macro() calls

Always convert results of macro("$nwc_health_protocol$") to strings
so both numbers and strings are correctly recognized.

* Revert "string()ify the result of macro() calls"

This reverts commit 3636b5b4ba.

Wrong method applied to the result of macro().

* string()ify the result of macro() calls

Always convert results of macro("$nwc_health_protocol$") in the
set_if clauses of the nwc_health command arguments to strings.
Both numbers and strings are then correctly recognized as the
nwc_health_protocol argument.

* string()ify the result of macro() calls

Always convert results of macro("$nwc_health_protocol$") in the
set_if clauses of the nwc_health command arguments to strings.
Both numbers and strings are then correctly recognized as the
nwc_health_protocol argument.
2021-12-07 15:29:34 +01:00
Christian Gut b5132a59ef
check_ssl_cert: support --ignore-tls-renegotiation (#9042)
* check_tls_cert: support  --ignore-tls-renegotiation

Extend template, so we can support --ignore-tls-renegotiation

* Update docs
2021-11-02 12:05:30 +01:00
Alexander Aleksandrovič Klimov 13ca0e1dbc
check_logfiles: --winwarncrit is a flag, not a param 2021-10-29 20:25:23 +02:00
Napsty 195fae6113 Add ITL config option for different NRPE payload size/length 2021-10-12 08:29:07 +02:00
Peter Eckel 688de9dce7 [ITL] Added --datadir, --language and --perflimit for check_postgres 2021-10-01 19:53:53 +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
Alexander Aleksandrovič Klimov 0c22a84a01
Merge pull request #8927 from peteeckel/fix/check-ssl-cert-itl-8925
[ITL] Added --proxy for check_ssl_cert
2021-10-01 17:38:14 +02:00
Napsty 57bea5e3c4 Add new check_nrpe parameter -D to disable logging to syslog 2021-09-29 09:46:55 +02:00
Peter Eckel 4ca496e677 [ITL] Added the option to set PGCONTROLDATA for check_postgres 2021-07-22 17:24:37 +02:00
Peter Eckel 0a063cfdcc [ITL] Added --proxy for check_ssl_cert 2021-07-22 16:57:00 +02:00
Alexander Aleksandrovič Klimov 26588f5dfb
Merge pull request #8683 from BausPhi/feature/command-template-thola
Add ITL CheckCommands for Thola
2021-06-24 18:11:38 +02:00
BausPhi 0b27c2af70 Add ITL CheckCommand "thola check" 2021-06-24 12:58:21 +02:00
Julian Brost 46743f9b13
Merge pull request #8625 from XnS/feature/itl-ssl_cert-ignore-stc
Added new option ignore-sct for ssl_cert to ITL
2021-06-15 12:31:03 +02:00
Napsty d5672dbb3c Add new -S parameter for esxi_hardware ITL 2021-05-28 11:06:59 +02:00
XnS e4ca82f7cd upstream fixed their typo from stc to sct 2021-03-24 10:21:29 +01:00
Julian Brost 5ec66cea46
Merge pull request #8003 from Icinga/feature/snmp-interface-a-7963
check_snmp_int: support -a
2021-03-05 16:11:02 +01:00
XnS c0e4e5d2d5 Added new option ignore-stc for ssl_cert to ITL 2021-02-08 15:29:53 +00: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
Alexander Aleksandrovič Klimov 126f586d88
Merge pull request #8589 from iustin/feature/check-dns-all-argument
Improve check_dns command when used with monitoring-plugins 2.3
2021-01-19 12:44:24 +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