Commit Graph

438 Commits

Author SHA1 Message Date
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
Michael Friedrich b7caf0820d Ensure that *.icinga.com is used everywhere
fixes #13897
fixes #13277
2017-01-10 17:19:12 +01:00
Michael Friedrich 5db468b3ca ITL: Add tempdir attribute to postgres CheckCommand
fixes #13449
2016-12-07 16:56:12 +01:00
Jean-Louis Dupond 8cb7a54b89 ITL: Add sudo option for mailq CheckCommand
fixes #13435

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2016-12-06 18:03:46 +01:00
Patrick Huy 8ccc4da942 ITL: Add verbose parameter for http CheckCommand
fixes #13433

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2016-12-06 17:58:35 +01:00
Roman Gerhardt 283cf185ec ITL: Add timeout option for mysql_health CheckCommand
fixes #13431
2016-12-06 17:49:01 +01:00
Gunnar Beutner 22fa4773df Remove unnecessary template imports in the ITL
refs #12575
2016-11-24 09:39:49 +01:00
Thomas Widhalm 9756775902 ITL: Add logstash CheckCommand
fixes #12755

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2016-11-17 16:39:57 +01:00
Gunnar Beutner fc34afbbeb Fix indentation for the snmpv3 check command definition
refs #12838
2016-10-11 12:43:33 +02:00
Peter Eckel d1f5118c55 Add missing '-m' (snmpv3_miblist) and -p (snmpv3_port) options
The options for setting an explicit MIB list and for specifying the target
port that are present for the snmp CheckCommand object that were missing from
the snmpv3 CheckCommand object are added with this patch.

fixes #12838

Signed-off-by: Gunnar Beutner <gunnar.beutner@icinga.com>
2016-10-11 12:42:54 +02:00
Gunnar Beutner fa5036eae4 Fix incorrect default arguments for check_swap
fixes #12849
2016-10-04 13:56:54 +02:00
Mathieu Arnold be44ff720c Add check command definition for check_radius
fixes #12762

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-09-29 08:42:00 +02:00
Claudio Bilotta 0c79b9692c Add a check command definition for check_iostats
This should work fine with this plugin https://github.com/dnsmichi/icinga-plugins/blob/master/scripts/check_iostats

fixes #12613

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-09-29 08:38:12 +02:00
Jean Flach eabb54eab6 Spell ISATAP correctly and set noisatap in the ITL
refs #12155
2016-09-28 11:26:08 +02:00
Jean Flach 6c565d191d Update check_network in docs and itl
fixes #12155
2016-09-28 11:20:42 +02:00
Michael Friedrich c81b4a82dd Upgrade NSClient++ to 0.5.0 stable
This involves required changes in the nscp-local ITL CheckCommand
definitions. Upgrading NSClient++ therefore requires updating
the Icinga 2 Windows client as well.

fixes #12733
2016-09-21 15:28:20 +02:00
Yannick Charton 0742301b1d ITL: Add timeout option for oracle_health CheckCommand
fixes #12739
2016-09-21 14:09:43 +02:00
Lars Krüger 483b8a5589 ITL: Fix problem with passing arguments to NSClient++
There was a problem with passing arguments to the NSClient++
which is fixed by changing the skip_key staement by the repeat_key
statement in the "-a" key of the dictionary. Further details can be
found in issue #12747 ITL - Problems passing arguments/parameters to
NSClient++

fixes #12747

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-09-21 10:23:20 +02:00
Gunnar Beutner 1f9d54b6a2 Fix the easter egg
fixes #12617
2016-09-01 15:28:56 +02:00
Michael Friedrich 996a7eb7af ITL: Fix typo in glusterfs CheckCommand definition
refs #12040
2016-08-31 15:24:04 +02:00
Daniel Helgenberger be40085b3b Adds bool switch for procurve / HP memory to the "snmp-memory" check command
fixes #12586

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-08-29 18:22:11 +02:00
Daniel Helgenberger e1369b2be3 Remove inode default values for the "disk" check command
Free inode check is a an optional argument and does make sense in most
cases, yet not in every case. Eg, XFS and filesystems alike dynamically
allocate inodes; prompting failures. Because they are definded by
default, inode crit and warn cannot be unset any more.

fixes #12588

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-08-29 18:06:53 +02:00
Yannick Charton 01b23ee08f Add the possibility for all ...-dc... checkcommands to specify a cluster name
fixes #12519

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-08-29 14:26:36 +02:00
Yannick Charton 70db7f52c9 Add the possibility for all ...soap-host... checkcommands to specify a datacenter/vsphere server in case the check should be done through that server
fixes #12516

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-08-29 14:24:03 +02:00
Jo Goossens 0a76921086 Add support for glusterfs checks
fixes #12040

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-08-29 12:04:47 +02:00
Gunnar Beutner 903db81fe0 Make sure that libmethods is automatically loaded even when not using the ITL
fixes #12578
2016-08-28 17:03:08 +02:00
Gunnar Beutner 78cd56e277 Implement support for default templates
fixes #12575
2016-08-28 10:27:43 +02:00
Gunnar Beutner 0e8edfa2c7 Fix code style violations in the ITL
fixes #12573
2016-08-28 10:11:28 +02:00
Evgeni Golov 551864b314 Fix description of -a and -n for check_swap
fixes #12570

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-08-28 08:02:08 +02:00
Gunnar Beutner b7ef02f8c8 Fix: ITL uses unsupported arguments for check_swap on Debian wheezy/Ubuntu trusty
fixes #12485
2016-08-19 03:28:08 +02:00
Yannick Charton 3fbbc2c7f8 Add interfacetable CheckCommand options --trafficwithpkt and --snmp-maxmsgsize
fixes #12468

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-08-18 09:08:40 +02:00
Michael Friedrich 5db2ed90d8 ITL: Add perfsyntax parameter to nscp-local-counter CheckCommand
fixes #12424
2016-08-14 15:48:03 +02:00
Michael Friedrich c7af804cfd ITL: Fix the description for http_certificate
fixes #12416
2016-08-13 15:50:45 +02:00
Michael Friedrich 3454cf88a7 Add documentation for swap CheckCommand parameters
fixes #12392
2016-08-12 15:08:35 +02:00
Jean-Louis Dupond 9517abba84 Add vars for all check_swap args
fixes #12392

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-08-10 14:52:31 +02:00
Gunnar Beutner dc06209e4a Move internal script functions into the 'Internal' namespace
fixes #12338
2016-08-10 06:55:44 +02:00
Carsten Köbke f0dbcabf70 ITL: Add db2_health CheckCommand definition
fixes #12061
2016-08-09 14:20:08 +02:00