Lorenz Kästle
a218ba8d92
Remove clear variable from disk CheckCommand
...
This commit removes the -C parameter from the disk CheckCommand
since there is no possible way to use it in any functional capacity.
-C (or --clear) would reset the thresholds given previously
to allow for setting different thresholds for following filesystmes.
As an example:
check_disk -w 50% -c 5% -p / -C -w 1% -p /home
would only set the warning threshold for /home.
Since there is no way to use it reasonably with the Icinga 2
implementation of check_disk (since thresholds can only be
given once and the order is undefined), the clear flag
has no worth here.
My suggestion is to remove it avoid suggesting that it might
be used, but I left it as a comment in the ITL to prevent
the next person from "adding a missing parameter".
2025-08-19 10:58:48 +00:00
Silas
124d191afa
add "--long-output" to ssl_cert command
...
Co-Authored-By: Julian Brost <julian.brost@icinga.com>
2025-08-18 12:06:40 +02:00
Lorenz Kästle
60fafcb18d
Add plain fping CheckCommand to ITL
2025-07-09 13:24:11 +00:00
Dirk Wening
908519aa74
ITL: Add argument maintenance_mode_state to vmware_esx
2025-05-16 11:07:06 +02:00
Silas
41c0148e72
Include "procs-to-show" to ITL check_load command
2025-04-30 15:28:07 +02:00
Silas
8ab859d828
itl/ssl_cert
: Add --ignore-maximum-validity
option (#10396 )
...
* Update web.conf - Include "--ignore-maximum-validity"
* Update 10-icinga-template-library.md
* Update 10-icinga-template-library.md
* Update 10-icinga-template-library.md
2025-04-08 09:18:38 +02:00
Silas
9ecf7714e3
Update command-plugins.conf to ensure compatibility with nagios-plugins' check_disk ( #10395 )
...
* Update command-plugins.conf to ensure compatibility with nagios-plugins' check_disk
* Update 10-icinga-template-library.md
* Update 10-icinga-template-library.md
2025-04-08 09:02:02 +02:00
Bruno Lingner
daf36ae362
add _extra_opts argument to plugins that support it
2025-01-20 14:13:28 +01:00
Alexander Aleksandrovič Klimov
9bc9d14e7e
Merge pull request #10283 from Icinga/itl-check_ssh-remote-pr9923
...
Update ITL for check_ssh
2025-01-08 12:22:44 +01:00
Peter Eckel
920ba0b2db
Added the --dane
option to the command definition ssl_cert ( #10196 )
2025-01-08 10:47:37 +00:00
MarcusCaepio
a662cb1a6b
Update ITL for check_ssh
...
Adds parameters for check_ssh (-r and -P) based on
nagios-plugins 2.3.3 / monitoring-plugins 2.3
Fixes #9922
2025-01-08 10:31:25 +01:00
Nicolas Rodriguez
e881898ce0
Add missing option "--unplugged_nics_state" to vmware-esx-soap-host-net and vmware-esx-soap-host-net-nic
2024-12-03 15:23:46 +01:00
Alvar Penning
e620f9515b
ITL: Add --exclude-process to check_procs
...
For check_procs, both the Monitoring Plugins' implementation[0] and the
Nagios Plugin[1] are supporting the "-X" or "--exclude-process" flag to
exclude one or many processes by name. However, this flag is missing
here in the Icinga Template Library.
The Nagios Plugin implementation also comes with "-j" and "-g" for
FreeBSD jails and Linux cgroups, respectively. But, to keep it
compatible, I would ignore these for the moment.
Closes #10226 .
[0]: https://www.monitoring-plugins.org/doc/man/check_procs.html
[1]: https://nagios-plugins.org/doc/man/check_procs.html
2024-11-13 09:36:06 +01:00
Yonas Habteab
c0b047b1aa
Merge pull request #10035 from Icinga/check_systemd_name_fix
...
check_systemd: Fix executable name and include latest arguments
2024-09-06 11:57:33 +02:00
Alvar Penning
e7670e9ba9
check_systemd: harmonize ITL w/ upstream
...
Harmonize the arguments with the upstream CheckCommand[0], including a
patch to use the ITL variables[1].
[0]: https://github.com/Josef-Friedrich/check_systemd/blob/main/contrib/icinga2/command.conf
[1]: https://github.com/Josef-Friedrich/check_systemd/pull/38
Co-Authored-By: RincewindsHat <12514511+RincewindsHat@users.noreply.github.com>
2024-09-06 10:21:30 +02:00
Lorenz Kästle
ba200f74e1
Add check_curl to ITL ( #9205 )
...
* Add check_curl to ITL
* small fixes and boolean defaults
* Add documentation for check_curl
* Replace dash with underscore in variables
* Add link to documentation
* Change order of argument attributes to adhere to style guide
* Shorten description of tls option in itl
* Just remove information for check_curl options
* itl - check_curl: document -4 and -6
* itl - check_curl: Add haproxy option for check_curl
* itl - check_curl: add cookie-jar option
* itl - check_curl: add continue_after_certificate option
* itl - check_curl: replace dashes with underscores in macros
* Update itl/command-plugins.conf
Co-authored-by: alvar <8402811+oxzi@users.noreply.github.com>
* Update itl/command-plugins.conf
Co-authored-by: alvar <8402811+oxzi@users.noreply.github.com>
* itl - check_curl: add missing option documentation and reorder options
* itl - check_curl: Split certificate lifetime in two parameters
* itl - check_curl: replace remaining instances of single parameter for remaining valid time
* check_curl: allow assignements for host without address set
* check_curl: fix typo expext -> expect
* itl - check_curl: add state-regex option and documentation
* Add Tls options with version and without
* itl - check_curl: fix indentation
* itl - check_curl: Set v4/v6 variables
* itl - check_curl: Edit description for --sni
* doc - check_curl: fix singular-plural typo for curl_max_redir(s)
* doc/check_curl: sni description
* itl - check_curl: remove superfluous brace
* itl - check_curl: add extra-opts parameter
---------
Co-authored-by: alvar <8402811+oxzi@users.noreply.github.com>
2024-08-30 10:25:27 +00:00
Tobias Bauriedel
600281bfa0
Fix ITL for http CheckCommand definition
...
There were some missing arguments.
ref/NC/806131
2024-08-27 14:07:43 +02:00
Nicolas Berens
91b1638a01
add multiplier option to check_snmp which is available since monitoring-plugins v2.3.3, refs #9907
2024-08-26 15:36:21 +02:00
Christian Gut
7cc8d81d5d
check_ssl_cert: integrate new option to set maximum validity ( #9881 )
...
* check_ssl_cert: integrate new option to set maximum validity
check_ssl_cert has a new option with a new default: --maximum-validity. This change allows for services to use that option to override the default of 397 days. It is needed, if you have internal certificates that have a longer duration.
---------
Co-authored-by: Alexander A. Klimov <alexander.klimov@icinga.com>
2024-05-27 09:59:36 +02:00
Alexander Aleksandrovič Klimov
b56839fe18
Merge pull request #9758 from liip-forks/OdyX-fix-ssl-cert-warnings
...
Fix ssl_cert deprecation warnings
2024-05-24 11:57:34 +02:00
Alvar Penning
a219436708
check_systemd: Fix executable name by dropping .py
...
The executable name for check_systemd's dropped the `.py` suffix for
version 2.0.3[0], released in April 2019[1]. However, the old name is
still being referenced, both in documentation as well as in the ITL's
CheckCommand's command, making it unusable.
Closes #9547 .
[0]: https://github.com/Josef-Friedrich/check_systemd/compare/v2.0.2...v2.0.3#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7
[1]: https://github.com/Josef-Friedrich/check_systemd/releases/tag/v2.0.3
2024-05-08 10:53:11 +02:00
Alexander A. Klimov
d86e2556b4
ITL: check_disk: ignore more fuse* filesystems
...
not to run into permission denials.
Also, ignore fuse.* for the case check_disk already supports it:
https://github.com/monitoring-plugins/monitoring-plugins/pull/1904
2024-04-03 13:02:25 +02:00
Alexander Aleksandrovič Klimov
d3d74c237c
ITL: ssl_cert: vars.ssl_cert_cn: default to "$ssl_cert_altnames$"
...
This way vars.ssl_cert_altnames keeps working.
2023-07-17 19:12:52 +02:00
Alexander Aleksandrovič Klimov
52a3604680
Merge pull request #9759 from liip-forks/OdyX-sslcert_allow-setting-url
...
ssl_cert allow HTTP request URL setting
2023-07-14 10:24:23 +02:00
Alexander Aleksandrovič Klimov
000a776dfb
Built-in check command: ifw-api ( #9062 )
2023-07-06 14:18:21 +02:00
Didier 'OdyX' Raboud
0b8f65d562
ssl_cert allow HTTP request URL setting
...
This is available in check_ssl_cert since 2021-02-18 Version 1.137.0
2023-05-08 17:00:45 +02:00
Didier 'OdyX' Raboud
610ba8d27a
ssl_cert: drop now-unsupported --altnames
...
Fixes https://github.com/Icinga/icinga2/issues/9661
2023-05-08 16:38:01 +02:00
Didier 'OdyX' Raboud
47d65a191c
ssl_cert: replace deprecated -n with --match
...
Fixes https://github.com/Icinga/icinga2/issues/9661
2023-05-08 16:37:37 +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