Commit Graph

178 Commits

Author SHA1 Message Date
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
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
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
Peter Eckel 688de9dce7 [ITL] Added --datadir, --language and --perflimit for check_postgres 2021-10-01 19:53:53 +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
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
XnS c0e4e5d2d5 Added new option ignore-stc for ssl_cert to ITL 2021-02-08 15:29:53 +00:00
Lara bcaa7d6292 ITL: Add check_systemd
The [check_systemd.py](https://github.com/Josef-Friedrich/check_systemd)
plugin will report a degraded system to your monitoring solution. It
requires only the
[nagiosplugin](https://nagiosplugin.readthedocs.io/en/stable) library.
2021-01-15 13:27:25 +01:00
MarcusCaepio e5c04c35b4 Added new options for ipmi-sensor to ITL
Regarding my PR at https://github.com/thomas-krenn/check_ipmi_sensor_v3/pull/42
I want to add the new options to the Icinga ITL.
2020-11-25 16:10:30 +01:00
Rinck H. Sonnenberg e1300afeee Added parameter to monitor a specific jail only, as this has been available in the original check_command for years but hasn't made it into the checkcommand yet 2020-04-03 13:18:53 +02:00
Philipp Dorschner 9455c906e1 ITL: Add notemp parameter to oracle health 2020-01-13 15:35:07 +01:00
Kálmán „KAMI” Szalai 070ac4442b Change file location, doc, and varaible names as requested in the review
https://github.com/Icinga/icinga2/pull/7540#pullrequestreview-302072030
2019-10-18 07:45:21 +02:00
Michael Friedrich aab6c91e79 ITL: Add sar-perf 2019-08-16 13:46:22 +02:00
K0nne f1d5a6bfd0
Add missing options to 'nwc_health' ITL CheckCommand 2019-08-01 11:12:24 +02:00
Michael Friedrich c07cf95e4c ITL: Align plugins-contrib.d to PluginContribDir
That was missing in the past reviews.
2019-07-22 09:37:48 +02:00
Michael Friedrich 0501b12d01
Merge pull request #7223 from KAMI911/feature/check_logfile
Add check_logfiles to ITL
2019-07-12 10:25:38 +02:00
Michael Insel 8e7db97ae7 ITL: Fix check_logfiles definition and documentation
This fixes several issues with the ITL definition for the check plugin
check_logfiles.

* Moved the documentation parts into the Log Management section.

* Moved the CheckCommand parts into logmanagement.conf and dropped
logfiles.conf

* Renamed the CheckCommand to logfiles

* Removed the .pl suffix in the command attribute

* Removed the -H argument since its unknown to the plugin

* Fixed typo in documentation parts
2019-07-11 19:31:37 +02:00
Michael Friedrich 39afff18e2
Merge pull request #7268 from m4k5ym/patch-1
Add printer_health CheckCommand definition
2019-07-08 08:47:53 +02:00
Max Deparade 70eaebc5a4 Add printer_health CheckCommand definition 2019-07-08 08:44:23 +02:00
BarbUk 2b951a0d37 Use PluginContribDir instead of PluginDir 2019-07-01 09:32:08 +02:00
BarbUk 66d2e968a9
Add memcached CheckCommand definition 2019-06-28 16:37:56 +04:00
Kálmán „KAMI” Szalai 818c554791 Fix typos 2019-06-04 11:13:57 +02:00
Kálmán „KAMI” Szalai 6ac7bd041c Add check_logfile to ITL 2019-06-04 10:46:46 +02:00
Dennis Lichtenthäler 81746284db Allow setting the SNMP version for check_iftraffic.pl
This is not supported in check_iftraffic.pl master yet
but there's a pull request at https://github.com/NETWAYS/check_iftraffic/pull/4
2019-05-28 11:08:37 +02:00
Johannes Meyer 7403139622
Add check command for x509's host check
The refererred PR: https://github.com/Icinga/icingaweb2-module-x509/pull/47
2019-05-13 14:36:27 +02:00
Napsty 2332bc30d0 Add new -r parameter for esxi_hardware command 2019-05-10 13:46:11 +02:00
Michael Friedrich e8e4fe7508
Merge pull request #7064 from widhalmt/feature/icingacli-elasticsearch-7063
Add command `icingacli-elasticsearch` to ITL
2019-04-01 13:27:09 +02:00
Thomas Widhalm 0cc129e9e5 Add command `icingacli-elasticsearch` to ITL
fixes #7063
2019-03-29 16:50:33 +01:00
Michael Friedrich 458f997a18 Replace Copyright header with a short version, part II 2019-02-25 15:09:36 +01: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
akrus b8043c06c8 Add missing args for apache-status and fix a few typos 2019-02-22 10:57:41 +02:00
Michal Petko 6ed5d4807f Use full command name as prefix for check arguments 2019-01-31 15:58:46 +01:00
Michal Petko aad7107396 Add check commands for HDFS file count and used space 2019-01-31 07:59:44 +01:00
Michael Friedrich ed85d2528c
Merge pull request #6803 from BarbUk/feature/itl-check-btrfs
Add btrfs CheckCommand definition
2019-01-24 11:03:48 +01:00
Michael Friedrich b8cdaf2cd2
Merge pull request #6865 from BarbUk/feature/itl-check-haproxy-status
Add haproxy-status CheckCommand definition
2019-01-24 11:02:25 +01:00
Michael Friedrich d2775427da
Merge pull request #6861 from BarbUk/feature/itl-check-temp
Add lmsensors CheckCommand definition
2019-01-24 11:01:49 +01:00
Michael Friedrich c0def089cc
Merge pull request #6848 from BarbUk/feature/itl-check-fail2ban
Add fail2ban CheckCommand definition
2019-01-24 11:00:51 +01:00
Thomas Widhalm 3633a7cd79 Add new "-us" option to `ipmi-sensor` CheckCommand due to change in monitoring plugin.
Fixes #6892
2019-01-11 14:09:30 +01:00
BarbUk 63a7dc352c Add haproxy-status CheckCommand definition
Another haproxy CheckCommand. This plugin uses haproxy stat socket to
check for all or specific frontend/backend status.
2018-12-24 10:32:37 +04:00
BarbUk 1c3c01f17b Rename check_temp to check_lmsensors 2018-12-23 18:26:24 +04:00
BarbUk d658d231a2 Merge branch 'master' into feature/itl-check-temp 2018-12-23 18:24:12 +04:00
Michael Friedrich b46c3c11bb
Merge pull request #6862 from BarbUk/feature/itl-check-proxysql
Add proxysql CheckCommand definition
2018-12-23 12:19:07 +01:00
Michael Friedrich 28427065cc
Merge pull request #6863 from BarbUk/feature/itl-check-hddtemp
Add hddtemp CheckCommand definition
2018-12-23 12:17:35 +01:00