Commit Graph

201 Commits

Author SHA1 Message Date
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 
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 
2017-11-09 20:19:31 +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
Robin O'Brien 31a35a5966 Fixed grammer and spelling mistakes 2017-10-30 18:02:42 +02: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
Strajan Sebastian Ioan d78dd0b5d2 Fix some formatting issues in the ITL documentation
Signed-off-by: Gunnar Beutner <gunnar.beutner@icinga.com>
2017-10-19 08:22:42 +02:00
Robin O'Brien 88730edfcf Fixed typos and punctuation errors in the icinga template library documenation file. Very minor changes. 2017-10-18 15:07:10 +02:00
Michael cfcf192146 Fix typo in threshold syntax documentation 2017-10-15 17:28:30 +02:00
Konstantin Kelemen 9ddeba8ce6 Allow to disable thresholds for ipmi CheckCommand
fixes 

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 Friedrich 6abba51365 Merge pull request from Icinga/fix/docs-cluster-zone
Docs: Fix missing default value for cluster-zone checks
2017-10-09 13:11:58 +02:00
Michael Friedrich 98ce2bf7c5 Docs: Fix default value for `snmp_nocrypt` for Manubulon CheckCommand definitions 2017-10-09 11:09:53 +02:00
Michael Friedrich 6c83da6945 Docs: Fix missing default value for cluster-zone checks 2017-10-09 10:21:54 +02:00
Michael Friedrich f41f220c78 Remove Classic UI references from docs
refs 
2017-09-22 12:26:59 +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
Michael Friedrich de1f254fdb Merge pull request 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 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
Michael Friedrich a2ce461174 Docs: Fix wrong parameter for ITL CheckCommand nscp_api
refs 
2017-08-15 11:12:13 +02:00
Yannick Charton e61d43468b Feature/itl check snmp options ()
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
Michael Friedrich 5c1de34b0e Docs: Fix ITL chapter TOC; add introduction with mini TOC
fixes 
2017-08-08 14:41:27 +02:00
Jean Flach 3d0466132f Fix whitespace in documentation
fixes 
2017-08-07 13:44:34 +02:00
Markus Waldmueller 96777b9f13 Update negate CheckCommand definition
refs 

Signed-off-by: Jean Flach <jean-marcel.flach@icinga.com>
2017-08-07 13:40:05 +02:00
Jean Flach 3427aca7d2 Merge pull request 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
Blerim Sheqa eb88217e2d Update docs for better compatibility with mkdocs
* Rename files to allow easy ordering
* Update links inside markdown according to new file names
* Move HTML links (<a>...</a>) to the end of the header lines
  * This is necessary to allow mkdocs to parse headers correctly and display them in the TOC
  * Following sed command was used: sed -i .bu 's/\(<a.*a>\) \(.*\)/\2 \1/g' $filename
2017-07-12 20:46:12 +02:00
Jean-Louis Dupond e6883bba40 itl: add additional mssql_health arguments 2017-07-04 10:41:51 +02:00
Jean Flach 9d0ee05436 Explain threshold computation for windows plugins
fixes 
2017-06-21 11:37:31 +02:00
Michael Friedrich dda0ef3db7 Docs: Fix built-in template description and URLs 2017-06-16 10:35:52 +02:00
Jean Flach 39c24e9ec9 Add check_nscp_api plugin for NSClient++ API checks
refs 
2017-06-13 21:17:16 +02:00
Petr Ruzicka 1e1beb8454 Adding accept_cname to dns command definition. 2017-06-08 16:45:26 +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 from Mikesch-mp/itl_mssql
Add report mode to mssql_health

fixes 
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 from Mikesch-mp/itl_db2
Add report mode to db2_health

fixes 
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 

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
Jean Flach b553403200 Change Hint to Note 2017-04-26 16:58:42 +02:00
Hannes Happle ba24bc96e5
Refined documentation for the "update-windows" check plugin
Marked optional custom attributes as optional
Added information on the behavior of the plugin regarding the custom attributes being booleans instead of -as usual- setting thresholds

refs 
2017-04-25 17:43:12 +02:00
Niflou b37fd53773 ITL: Add more options to ldap CheckCommand
Adding the -W and -C (warning entries and critical entries) options

fixes 

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 
fixes 

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 

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-04-20 11:39:52 +02:00
Andreas Scherbaum 98256ca0c7 Change http:// links to https:// links where a website exists
fixes 

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-04-20 11:33:28 +02:00
Yannick Charton 2c3d34868a Docs: Add note on percentage values for disk-windows thresholds
fixes 

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-04-12 11:44:54 +02:00
Michael Friedrich ea5160ebb1 Docs: Fix wrong code block formatting
refs 
2017-03-28 15:37:06 +02:00
Michael Friedrich f0cfeb9fee Docs: Review contributed plugin check commands (URLs, description details)
fixes 
2017-03-28 15:26:02 +02:00
Dirk Goetz f169232ef2 ITL: Fix mitigation attribute for nwc_health
fixes 

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 

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 

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 
fixes 

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-03-10 18:50:50 +01:00
Michael Friedrich 8d9aee4b8f ITL: Modify ipmi-alive CheckCommand to support arguments similar to hostalive
refs 
2017-03-09 17:25:30 +01:00
Thomas Niedermeier afc2e349e1 ITL: Fix spelling of ipmi_protocol_lan_version variable
refs 

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 

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 

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 

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 

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-03-09 16:31:28 +01:00
Michael Friedrich 63427af25a Fix missing documentation for mysql_socket attribute
fixes 
2017-03-09 14:52:19 +01:00
Zachary McGibbon 2ccd8d7323 Add -q (query type) option for the dns check command
fixes 

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 
fixes 

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 

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 
2017-02-20 09:22:58 +01:00
Niflou e4f48a85dd ITL: Add snmp_v3_use_authprotocol to Manubulon CheckCommand docs
https://github.com/Icinga/icinga2/issues/5010#issuecomment-280112932

fixes 
fixes 

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-02-16 11:59:48 +01:00
Christian Schmidt d8dbf781a7 Support --only-critical for check_apt
fixes 

Signed-off-by: Gunnar Beutner <gunnar.beutner@icinga.com>
2017-02-16 11:07:46 +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 
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 

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 
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 

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 

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

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 

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 

Signed-off-by: Gunnar Beutner <gunnar.beutner@icinga.com>
2017-02-07 10:57:45 +01:00
Michael Friedrich 763fb64fff Update issue tracker to GitHub
fixes 
2017-01-17 16:50:22 +01:00
Michael Friedrich 3e12cb301c Update README.md and correct project URLs
fixes 
2016-12-08 17:38:41 +01:00
Michael Friedrich 5db468b3ca ITL: Add tempdir attribute to postgres CheckCommand
fixes 
2016-12-07 16:56:12 +01:00
Michael Friedrich 1dc2fe7ebb Docs: Add a note for boolean values in the disk CheckCommand section
fixes 
2016-12-07 15:04:21 +01:00
Jean-Louis Dupond 8cb7a54b89 ITL: Add sudo option for mailq CheckCommand
fixes 

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 

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 
2016-12-06 17:49:01 +01:00
Michael Friedrich 4ae98c50ab Docs: Update order of plugins contrib chapter
fixes 
2016-11-17 17:09:56 +01:00
Thomas Widhalm 9756775902 ITL: Add logstash CheckCommand
fixes 

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2016-11-17 16:39:57 +01:00
Mathieu Arnold be44ff720c Add check command definition for check_radius
fixes 

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 

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 
2016-09-28 11:26:08 +02:00
Jean Flach 6c565d191d Update check_network in docs and itl
fixes 
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 
2016-09-21 15:28:20 +02:00
Yannick Charton 0742301b1d ITL: Add timeout option for oracle_health CheckCommand
fixes 
2016-09-21 14:09:43 +02:00
Daniel Helgenberger be40085b3b Adds bool switch for procurve / HP memory to the "snmp-memory" check command
fixes 

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

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 

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 

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 
2016-08-28 17:03:08 +02:00
Gunnar Beutner 78cd56e277 Implement support for default templates
fixes 
2016-08-28 10:27:43 +02:00
Gunnar Beutner 9f06140e8f Update documentation for libmethods
fixes 
2016-08-28 08:27:01 +02:00
Yannick Charton 3fbbc2c7f8 Add interfacetable CheckCommand options --trafficwithpkt and --snmp-maxmsgsize
fixes 

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-08-18 09:08:40 +02:00
Michael Friedrich e355f38a1c Docs: Fix missing ITL template
fixes 
2016-08-15 16:18:02 +02:00
Michael Friedrich 4a3b33e3f5 Docs: Rewrite cluster and client chapter from scratch; add service monitoring chapter
Also apply a new structure.

Deleted the old cluster and client documentation and started "fresh".

This commit also includes various images used in the newly written
"Distributed Monitoring" chapter for better understanding.

fixes 
2016-08-14 17:56:38 +02:00