Commit Graph

474 Commits

Author SHA1 Message Date
Michal Petko 31e72df9b0 Fix value attributes for ceph plugin 2018-08-21 20:00:19 +02:00
Michal Petko 9d66f3c73c Add ceph plugin to itl 2018-08-21 12:09:43 +02:00
Gunnar Beutner 1a8692d972 Implement support for namespaces 2018-08-13 13:44:31 +02:00
Markus Frosch 9fbc40615a Improve path handling in cmake and daemon 2018-08-07 14:10:26 +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
chrostek 44efa90e47
Add exclude/include to vmware-esx-soap-host-runtime 2018-07-26 20:41:56 +02:00
Michael Friedrich c89f92e352
Merge pull request #6348 from Mikesch-mp/itl_db2_health
Fix for catalogued locally databases. Fixes #6338
2018-06-28 14:40:53 +02:00
Carsten Koebke f499743ef2 Its catalogued not cataloged :) 2018-06-28 07:18:57 +02:00
Michael Friedrich c7e61748d4
Merge pull request #6389 from Mikesch-mp/itl_nscp-local-tasksched
New ITL command nscp-local-tasksched
2018-06-27 12:47:12 +02:00
Carsten Koebke ffc9e13965 New ITL command nscp-local-tasksched 2018-06-19 15:03:18 +02:00
Carsten Koebke d359d9e7c7 Fix for catalogued locally databases. Fixes #6338 2018-06-03 20:25:24 +02:00
akrus 7e1d91c456 Update lsi-raid parameters 2018-05-15 11:38:36 +03:00
Michael Insel afbb5689b3 ITL: Add default thresholds to windows check commands
This adds default thresholds to the windows check commands:

* disk-windows:		warn: 20%, crit: 10%
* memory-windows:	warn: 10%, crit: 5%
* swap-windows:		warn: 10%, crit: 5%
2018-04-25 21:26:44 +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 Friedrich 2035506956 ITL: Add mongodb --authdb parameter support
fixes #5260
2018-01-08 14:14:04 +01:00
Markus Frosch 256ea74b58
Merge pull request #5906 from sahnd/feature/check_openmanage
Add check_openmanage command to ITL.
2018-01-08 13:46:47 +01:00
sah 1eab48bb2d Add check_openmanage command to ITL.
This will help monitoring Dell PowerEdge servers hardware.
2018-01-05 21:10:51 +01:00
Markus Frosch b30944246f
Merge pull request #5921 from widhalmt/feature/director-check-in-itl-5920
Add icingacli-director check to ITL
2018-01-05 17:49:58 +01:00
Thomas Widhalm 3c35451719 Add icingacli-director check to ITL
Including documentation.
Add a hint to the documentation of all icingacli commands that Icinga 2 has to be allowed access to the icingaweb2 directory.

fixes: #5920
2018-01-05 17:37:53 +01:00
T. Mulyana de3115590d itl: Add command parameters for snmp-memory
Signed-off-by: Markus Frosch <markus.frosch@icinga.com>
2018-01-05 17:31:24 +01:00
Markus Frosch ecc04807dd
Merge pull request #5914 from Icinga/fix/itl-check-mongodb-5817
Fix for wrong attribute in ITL mongodb CheckCommand
2018-01-05 17:17:27 +01:00
Markus Frosch 59cf84db54
Merge pull request #5902 from sahnd/feature/itl-snmp-storage-responsesize
Add parameter --octetlength to snmp-storage command.
2018-01-05 17:05:28 +01:00
Michael Insel 158ae2188e Change copyright header for 2018 2018-01-02 12:08:55 +01:00
Michael Insel ae3921b798 Fix for wrong attribute in ITL mongodb CheckCommand
This corrects the attribute mongodb_address to mongodb_host, if the old attribute is set Icinga will use that and output a Log message to the Log.

refs #5817
2017-12-27 20:19:39 +01:00
sah d858b9741a Add parameter --octetlength to snmp-storage command. 2017-12-27 19:39:19 +01:00
Kálmán Szalai - KAMI 709d00fbdb Add support for LD_LIBRARY_PATH env variable in oracle_health ITL CheckCommand
Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-12-19 11:56:44 +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
Strajan Sebastian Ioan 2120772417 Add support for check_address as default in database CheckCommand objects
1. set the default hostname to the "$check_address$" for multiple CheckCommands
2. add support for  "$check_address$" for ping4 and ping6 commands which don't import the ipv4-or-ipv6 template

This commit changes the default address for redis, mongodb and elasticsearch to
use check_address instead of localhost. Users who might not have set this explicitly
in their services should adopt this.

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
Signed-off-by: Gunnar Beutner <gunnar.beutner@icinga.com>
2017-10-19 08:22:48 +02:00
Konstantin Kelemen 9ddeba8ce6 Allow to disable thresholds for ipmi CheckCommand
fixes #5579

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-10-13 14:03:39 +02:00
Yannick Charton 8c059886ac add itl snmp-service
add itl snmp service for manubulon plugin check_snmp_win.pl
2017-10-13 00:30:27 +02:00
Michael Newton 88c863ae57 ITL: Support weathermap data in snmp_interface CheckCommand
See https://github.com/dnsmichi/manubulon-snmp/pull/26 for related commit.

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-10-12 16:55:59 +02:00
Michael aad3c6af6b ITL: Re-Add ssl_sni attribute for check_tcp 2017-09-22 17:58:57 +02:00
Claudio Kuenzler cfd7f1ff5e check_esxi_hardware.py with new --no-lcd parameter 2017-09-12 09:09:30 +02:00
Roland Hopferwieser c5dad15d3a Exclude configfs from disk checks 2017-09-07 11:49:52 +02:00
Tobias von der Krone e84fbf3a97 ITL: Correct arguments for ipmi-sensor CheckCommand
Replace the wrong "set_if" attribute and assign the value correctly.

fixes #5542
2017-09-01 14:19:07 +02:00
Michael Friedrich de1f254fdb Merge pull request #5394 from dupondje/add_mssql_args
itl: add additional mssql_health arguments
2017-08-15 20:56:10 +02:00
Michael Friedrich ca8d06b9ee Merge pull request #5401 from leeclemens/fix/itl-manubulon-snmp-env
itl: Add manubulon/check_snmp_env.pl as CheckCommand snmp-env
2017-08-15 12:54:31 +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
Jean Flach 3427aca7d2 Merge pull request #5435 from Icinga/feature/3891-service-description
Add -d option to check_service
2017-08-07 11:36:20 +02:00
Lee Clemens b5ce0fda79 itl: Add manubulon/check_snmp_env.pl as CheckCommand snmp-env 2017-07-26 15:03:54 -04:00
Jean Flach 94f58f2c2e Add -d option to check_service 2017-07-26 17:02:18 +02:00
Jean Flach ba35e6cace Add ITL and documentation for new parameter 2017-07-24 10:14:15 +02:00
Jean-Louis Dupond e6883bba40 itl: add additional mssql_health arguments 2017-07-04 10:41:51 +02:00
Gunnar Beutner 1c1943f58a Remove default value for 'dns_query_type' 2017-06-28 14:00:11 +02:00
Petr Ruzicka 93964c44b2 Fix description for checkcommand sections 2017-06-21 07:06:31 +02:00
Petr Ruzicka 2cdc4165c6 Description modified for command plugins 2017-06-20 13:38:31 +02:00
Jean Flach 39c24e9ec9 Add check_nscp_api plugin for NSClient++ API checks
refs #4721
2017-06-13 21:17:16 +02:00
Michael Friedrich ba0498e2d7 Merge pull request #5347 from ruzickap/master
Improve ITL CheckCommand description attribute
2017-06-12 10:48:16 +02:00
Gunnar Beutner 15b9ffce8e Fix some formatting issues 2017-06-12 08:21:36 +02:00
Petr Ruzicka a6978f7b63 Description parts improved 2017-06-11 21:47:39 +02:00
Thomas Widhalm 56de94b91c Add ip4-or-ipv6 import to logstash ITL command 2017-06-09 17:14:44 +02:00
Petr Ruzicka 1e1beb8454 Adding accept_cname to dns command definition. 2017-06-08 16:45:26 +02:00
Michael Friedrich 922cb375a9 ITL: Fix missing double quote in ssl-cert CheckCommand
refs #5236
2017-05-10 14:04:13 +02:00
Jean-Louis Dupond ff0c82a706 ITL: Add some missing arguments to ssl_cert 2017-05-09 16:48:47 +02:00
Roland Hopferwieser 76600a81eb ITL: Add CheckCommand ssl_cert, fix ssl attributes 2017-05-09 16:01:55 +02:00
Michael Friedrich 5b7226548c Merge pull request #5209 from Mikesch-mp/itl_mssql
Add report mode to mssql_health

fixes #5209
2017-05-09 14:52:55 +02:00
Mikesch-mp 6bf81eb979 Add report mode to mssql_health 2017-05-09 14:43:20 +02:00
Michael Friedrich 9864a0175b Merge pull request #5210 from Mikesch-mp/itl_db2
Add report mode to db2_health

fixes #5210
2017-05-09 14:37:44 +02:00
Wenger Florian a43e8d6b2d Add ITL --standbyok argument to the vmware-esx-soap-host-storage-path CheckCommand
fixes #5227

Signed-off-by: Gunnar Beutner <gunnar.beutner@icinga.com>
2017-05-09 07:43:16 +02:00
Mikesch-mp 6d4acb3798 Add report mode to db2_health 2017-04-30 18:43:48 +02:00
Niflou b37fd53773 ITL: Add more options to ldap CheckCommand
Adding the -W and -C (warning entries and critical entries) options

fixes #5139

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-04-20 12:14:56 +02:00
mocruz 7f60566340 ITL: Add memory and cpu thresholds to snmp_process Manubulon CheckCommand
fixes #5129
fixes #5130

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-04-20 11:43:13 +02:00
Pawel Szafer 52a6b601d9 ITL: Add support to NRPE v2 in NRPE CheckCommand
fixes #5126

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-04-20 11:39:52 +02:00
Dirk Goetz f169232ef2 ITL: Fix mitigation attribute for nwc_health
fixes #5075

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-03-22 11:15:58 +01:00
Dirk Goetz da980ac10e ITL: Update icingacli_businessprocess CheckCommand
fixes #4826

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-03-17 14:45:25 +01:00
Dirk Goetz efdbfb764b Add additional arguments to mssql_health
fixes #5063

Signed-off-by: Gunnar Beutner <gunnar.beutner@icinga.com>
2017-03-14 15:27:27 +01:00
Thomas Widhalm b3a80e16b2 ITL: Allow to use local mode of hpasm CheckCommand
Remove default value and "required" for `address` in hpasm ITL listing
Add a note to documentation why this special check should not have a default address

fixes #4985
fixes #4986

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-03-10 18:50:50 +01:00
Michael Friedrich f0a77464cd Fix closing brackets
refs #5019
2017-03-09 17:33:38 +01:00
Michael Friedrich 8d9aee4b8f ITL: Modify ipmi-alive CheckCommand to support arguments similar to hostalive
refs #5019
2017-03-09 17:25:30 +01:00
Michael Friedrich 9902492a59 ITL: Fix installation for plugins-contrib
refs #5019
2017-03-09 17:08:56 +01:00
Thomas Niedermeier afc2e349e1 ITL: Fix spelling of ipmi_protocol_lan_version variable
refs #5019

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-03-09 17:08:54 +01:00
Thomas Niedermeier c727f4c57a ITL: Add RAID controller plugin check configurations
refs #5019

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-03-09 17:08:52 +01:00
Thomas Niedermeier 06fa96f83d ITL: Add SMART attributes monitoring plugin check configuration
refs #5019

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-03-09 17:08:50 +01:00
Thomas Niedermeier ad0d8d2b9e ITL: Add an IPMI Interface PING check for an IPMI host
refs #5019

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-03-09 17:08:45 +01:00
Yannick Charton 92149fc570 ITL: nwc_health_report attribute requires a value
fixes #5015

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-03-09 16:31:28 +01:00
Zachary McGibbon 2ccd8d7323 Add -q (query type) option for the dns check command
fixes #5047

Signed-off-by: Gunnar Beutner <gunnar.beutner@icinga.com>
2017-03-06 11:11:51 +01:00
Stephan Tesch 2ce3fcc514 Add --if-names option to check_interfaces
Sinve version 1.3 check_interfaces supports an option to query ifName instead
of ifDescr, which is helpful eg. FortiOS 5.4 devices.

fixes #5028
fixes #5032

Signed-off-by: Gunnar Beutner <gunnar.beutner@icinga.com>
2017-02-28 14:15:06 +01:00
Dirk Goetz 3cdcdb8769 ITL: Add fuse.gvfs-fuse-daemon to disk_exclude_type
This commit also adds documentation for the `disk_exclude_type`
default values.

fixes #5016

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-02-20 14:37:39 +01:00
Jean Flach c3b0051360 Add --perf-syntax option to check_perfmon
fixes #4896
2017-02-20 09:22:58 +01:00
Christian Schmidt d8dbf781a7 Support --only-critical for check_apt
fixes #117

Signed-off-by: Gunnar Beutner <gunnar.beutner@icinga.com>
2017-02-16 11:07:46 +01:00
Thomas Widhalm 8260b728b0 Update dummy CheckCommand
fixes #4987

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-02-13 13:44:15 +01:00
Michael Friedrich 14fc9779e4 ITL: Remove deprecated dns_expected_answer attribute
There's still support for the optional dns_expected_answers attribute
which supports an array as value.

fixes #4839
2017-02-10 13:03:20 +01:00
Tim Weippert 2ac0c024cd ITL: Implement inverse switch for snmp_interface CheckCommand
As for Interface Monitoring it is sometime needed to inverse the status (down -> OK, up -> NOT OK).

Can be configured via snmp_interface_inverse variable (boolean).

fixes #115

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-02-07 17:34:05 +01:00
Michael Friedrich ae258f0eca ITL: Add ifalias to snmp_interface manubulon CheckCommand
fixes #114
2017-02-07 17:25:47 +01:00
Kálmán Szalai - KAMI 5ace3462ae Add wrap output in HTML link parameter for http CheckCommand
fixes #120

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-02-07 17:17:21 +01:00
Gerhardt Roman 83c02df36a ITL: Update ipmi CheckCommand attributes
fixes #123

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-02-07 17:13:43 +01:00
Mathieu Arnold 3546f07675 ITL disk_exclude_type attribute: FreeBSD's /dev/fd can either be inside devfs, or be of type fdescfs.
fixes #124

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-02-07 17:08:31 +01:00
Yannick Charton 1373a5e788 ITL: Add report option to shorten output in oracle_health CheckCommand
fixes #4963
fixes #4661

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-02-07 17:02:03 +01:00
Georg Haas 3c05885638 ITL: check_icmp: add missing TTL attribute
fixes #4964

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-02-07 16:59:38 +01:00
Christian Loos 584be4fe52 Add "-N" parameter for the "ssl" check command
Without this, we check the wrong cert when SNI is used:

./check_tcp -H git.netsandbox.de -p 443 -D 30,10
OK - Certificate 'netsandbox.de' will expire on 2017-04-19 12:01
+0200/CEST.

./check_tcp -H git.netsandbox.de -p 443 -D 30,10 -N git.netsandbox.de
OK - Certificate 'git.netsandbox.de' will expire on 2017-04-15 14:06
+0200/CEST.

fixes #4936

Signed-off-by: Gunnar Beutner <gunnar.beutner@icinga.com>
2017-02-07 10:57:45 +01:00