Commit Graph

584 Commits

Author SHA1 Message Date
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
Alexander Aleksandrovič Klimov a55c7d4b86
Merge pull request #8568 from yayayayaka/feature/itl-check-systemd
ITL: Add systemd CheckCommand
2021-01-15 17:55:28 +01: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
Maik Stuebner 511727b3f6 Add parameter -f to snmp-process
with var snmp_process_use_fullpath is set to true
2020-12-16 12:04:03 +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
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
Alexander Aleksandrovič Klimov db6dd60ac0
Merge pull request #7907 from JochenFriedrich/feature/nrpe-args
Add parameters needed for PKI usage.
2020-10-29 15:52:42 +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
Alexander A. Klimov 1bb51c26d1 check_snmp_int: support -a
refs #7963
2020-05-12 13:56:22 +02: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
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
Philipp Dorschner 9455c906e1 ITL: Add notemp parameter to oracle health 2020-01-13 15:35:07 +01:00
Alexander A. Klimov 73b9e794d3 CheckCommand ssl: s/-N/--sni/ 2020-01-08 10:15:29 +01:00
Michael Friedrich 46f0e24702
Merge pull request #7540 from KAMI911/master
Add file age check for Windows command definition
2019-12-03 17:06:23 +01:00
Michael Friedrich 381c454d38
Merge pull request #7602 from MichalMMac/snmp-interface-extendedchecks
Add extended checks options to snmp-interface command template
2019-11-15 13:35:08 +01:00
Michal Moravec 576266a1bf Enhance snmp_interface_extended_checks documentation 2019-11-04 09:33:48 +01:00
Michal Moravec e4d78ce330 Implement check_snmp_int.pl -q extended checks 2019-10-31 16:15:10 +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
Kálmán „KAMI” Szalai 3fdc9ac69a Move Windows file age check files' download link to the documentation 2019-09-26 14:22:46 +02:00
Kálmán „KAMI” Szalai 1c80bda256 Add file age check for Windows command definition 2019-09-25 17:24:47 +02:00
Michael Friedrich b75e1585d6
Merge pull request #7449 from Icinga/feature/warn-set-global-var
DSL: warn on x=y if x is a global variable
2019-08-27 14:53:29 +02:00
Alexander A. Klimov b5a0be0d60 ITL: set globals.NscpPath explicitly 2019-08-27 13:34:10 +02:00
Max Deparade 0e00ffee39 Adding check_uptime to itl 2019-08-26 11:13:58 +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
Michael Friedrich cc4f4d8cb0
Merge pull request #7216 from peteeckel/fix/provide-snmpv3-context-option-7215
Provide the snmpv3_context option
2019-06-03 16:06:13 +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
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
Michael Friedrich 2ba2134eda
Merge pull request #7156 from Icinga/feature/itl-sleep
Implement sleep CheckCommand
2019-05-24 15:42:46 +02:00
Peter Eckel b7148cf558 Use --description instead of -d for check_service.exe 2019-05-17 15:09:58 +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
htriem 75df3879f2 Implement sleep CheckCommand in memory
Implements a check task with Utility::Sleep and custom var parameter sleep_time (default value: 1s)

refs #6964
2019-05-02 16:24:42 +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
Peter Eckel c3dc8382ef Make the NSCP CheckDisk --exclude option available to Icinga 2 2019-01-25 16:38:11 +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
Michael Friedrich 1c772aac54
Merge pull request #6890 from T-Systems-MMS/feature/snmp-storage-exclude
Added snmp_exclude option to manubulon snmp-storage check
2019-01-11 17:03:58 +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
Martin Neubert 77d1ea63c5
Added snmp_exclude option to manubulon snmp-storage check 2019-01-11 09:54:24 +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
BarbUk dae69dc49b Add phpfpm-status CheckCommand definition 2018-12-22 13:51:27 +04:00
BarbUk 3e2449716b Add hddtemp CheckCommand definition 2018-12-22 11:19:18 +04:00
BarbUk 5f58414aea Add proxysql CheckCommand definition 2018-12-22 11:01:30 +04:00
BarbUk 375a034436 Add temp CheckCommand definition 2018-12-22 10:43:35 +04:00
Michael Friedrich f7393352f4
Merge pull request #6852 from BarbUk/feature/itl-check-haproxy
Add haproxy CheckCommand definition
2018-12-21 12:05:30 +01:00
BarbUk 5109f7f788 Add haproxy CheckCommand definition
Haproxy plugin check haproxy csv statistics page and reports response
time and backends sessions count
2018-12-20 14:54:53 +04: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
BarbUk 18250896ca Add fail2ban CheckCommand definition
The check_fail2ban plugin use the fail2ban-client binary
to monitor fail2ban jails.
2018-12-20 11:59:28 +04:00
Michael Friedrich f68a0d3167
Merge pull request #6806 from BarbUk/feature/itl-check-lsyncd
Add lsyncd CheckCommand definition
2018-12-18 14:23:51 +01:00
Michael Friedrich 0ad27d5436
Merge pull request #6823 from transitiv/feature/itl-apt-list
ITL: Support --list argument to check_apt
2018-12-05 11:32:31 +01:00
Adam James 3a4f075f72 ITL: Support --list argument to check_apt 2018-12-05 09:32:54 +00:00
BarbUk 4944800d09 Indentation: space to tab 2018-11-30 00:41:27 +04:00
BarbUk 9d1a6d7492 Indentation: space to tab 2018-11-30 00:36:06 +04:00
BarbUk d57d3cbb49 Indentation: space to tab 2018-11-30 00:33:53 +04:00
BarbUk 3b0bfd51bf Add lsyncd CheckCommand definition 2018-11-28 16:55:23 +04:00
BarbUk ef0c68fe79 correct command definition 2018-11-28 11:37:49 +04:00
BarbUk 16b0042791 Add btrfs CheckCommand definition
Check a btrfs mountpoint health and disk space allocated
2018-11-28 00:04:10 +04:00
BarbUk 2e462d63a4 Add varnish CheckCommand definition
This definition use check_varnish to monitore a varnish instance.
This closes #5122
2018-11-27 19:22:36 +04:00
Michael Friedrich 6998436db1
Merge pull request #6480 from ajaffie/feature/win-check-update-4720
Modify windows check_update command to allow specifying thresholds.
2018-11-13 16:40:26 +01:00
Bauerheim, Marcus 8d715aab35 Update itl/plugins-contrib.d/network-components.conf
Add repeat_key = true for nwc_health
2018-11-07 14:26:02 +01:00
Mark Leary 1b10e81511 Follow naming convention for snmp plugin attributes. 2018-11-02 09:58:44 -04:00
Mark Leary 1b062e0a5b Change indents to tab. 2018-11-02 09:52:37 -04:00