Commit Graph

498 Commits

Author SHA1 Message Date
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
Bård Dahlmo-Lerbæk 39890c00c0 Fix incorrect custom variable name for the -q option for ntp_time.
fixes #12274

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-08-09 10:43:55 +02:00
Christian Birk 98a97026f4 Add "check_mysql_query" CheckCommand definition
fixes #12314

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-08-08 15:16:38 +02:00
Gunnar Beutner 1cd8a25ab2 Add the "exception" check command
refs #10075
2016-08-08 12:51:20 +02:00
Mirko Nardin 52f83ca7e6 Add the "-e" parameter for the SNMP check command
fixes #11359

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-08-05 14:50:44 +02:00
Dirk Goetz 03b8514606 Add a check command for check_breeze
Add a check command for check_flexlm
Add a check command for check_game

refs #6225
2016-08-03 11:32:41 +02:00
Dirk Goetz a8b7bdc633 Add a check command for check_ide_smart
refs #6225
2016-08-03 11:32:41 +02:00
Dirk Goetz c999badd14 Add a check command for check_file_age.
Add a deprecation note for check_ldaps to check_ldap.

refs #6225
2016-08-03 11:32:41 +02:00
Markus Waldmüller 6d082e61ae Add check command definition for check_graphite
fixes #12256

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-07-29 11:38:57 +02:00
Jo Goossens 1a85cfe427 ITL: Add missing parameters for (latest) mysql_health
fixes #12221

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-07-25 17:23:53 +02:00
Manuel Reiter 77f59887c1 Add support for "-A" command line switch to CheckCommand "snmp-process"
Support for "-A" command line switch to CheckCommand "snmp-process" added in
command-plugins-manubulon.conf. Further details can be found in issue #12189.

fixes #12189

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-07-21 16:31:18 +02:00
Michael Friedrich b0e6eb0ca4 ITL: Fix thresholds and descriptions for iftraffic{,64}
refs #12135
2016-07-12 18:39:57 +02:00
Michael Friedrich 172b57e895 ITL: Add iftraffic64 and fix iftraffic CheckCommand plugin path
fixes #12135
2016-07-12 12:46:56 +02:00
Gunnar Beutner 2de249ed65 Fix spelling mistake in the ITL
refs #12006
2016-06-22 14:13:11 +02:00
Lennart Betz ba24f7b912 Add check commands kdc and rbl
fixes #12006

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-06-22 09:21:18 +02:00
Lennart Betz c393a3678f ITL: Fix check commands nscp-local-disk and nscp-local-counter
fixes #9264

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-06-20 17:46:34 +02:00
Lennart Betz 05f13b8c6b Add check command for plugin check_apache_status
fixes #11970

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-06-20 08:16:19 +02:00
Lennart Betz 765e91dcaf ITL: Add more parameters for nscp-local check commands
nscp-local-cpu, -memory, -disk, -service and -counter

fixes #9264

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-06-17 15:07:42 +02:00
Jan Wagner 5e3ea4720f ITL: Add option for ifName to Manubulon CheckCommand 'snmp_interface'
Recent Net-SNMP's snmpd daemon has changed behavior returning detailed
information about the network interfaces in the IF-MIB::ifDescr MIB.

There is a patch out there that is working around the issue (see also
https://bugs.debian.org/812837) by providing the behaviour via '-N'.

This path provides a way to make use of this workaround.

fixes #11931

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-06-15 18:02:36 +02:00
Claudio Kuenzler f125cdf595 ITL: Add CIM port parameter for esxi_hardware CheckCommand
fixes #11869

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-06-06 13:46:52 +02:00
Gunnar Beutner 7a7a8c7779 Add "fuse.gvfsd-fuse" to the list of excluded file systems for check_disk
fixes #11887
2016-06-06 09:55:46 +02:00
Michael Friedrich 9baa08d24a 'disk' CheckCommand: Exclude 'cgroup' and 'tracefs' by default
fixes #11720
2016-05-06 16:05:40 +02:00
Michael Friedrich a09c81aee6 Add missing plugins-contrib install
refs #10581
2016-04-11 10:57:16 +02:00
Dirk Goetz 41378a6c2d ITL: Add icingacli command
Including the subcommand 'businessprocess'.

fixes #10581
2016-03-21 20:57:24 +01:00
Michael Friedrich 84def15ae8 Add --method parameter for check_{oracle,mysql,mssql}_health CheckCommands
fixes #11098
2016-03-18 15:10:37 +01:00
Michael Friedrich b83a88ac05 Add --units, --rate and --rate-multiplier support for the snmpv3 check command
fixes #11194
2016-03-18 12:26:54 +01:00
Michael Friedrich f15c40c569 ITL: Missing documentation for nwc_health "mode" parameter
fixes #11107
2016-03-15 15:44:17 +01:00
Michael Friedrich d8b70f8ae1 ITL: Add additional http check command parameters for SSL version enforcement
refs #10358
2016-03-15 15:26:22 +01:00
Brian De Wolf 2e1a2146f1 ITL: add check_http args for SSL version forcing
The -S argument of check_http can take a number, which forces the connection to
use a specific SSL version.  This is implemented as multiple options because
check_http does not accept the number following -S if they are separated.

fixes #10358

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-02-24 23:38:22 +01:00
Andres Ivanov 7e4a08749f ITL: Add query option to check_postgres
There were "query", "valtype" and "reverse" options missing
for "custom_query" action type in check_postgres plugin.

fixes #11205

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-02-23 22:16:00 +01:00
Thomas Widhalm b7d55fcf48 Add check_iostat to ITL
fixes #10777

Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>
2016-02-19 12:18:33 +01:00
Jean Flach 299b62adcf Add -f option to check_disk CheckCommand
fixes #11138
2016-02-12 10:22:15 +01:00
Claudio Kuenzler da85c7a20e Fix mongodb CheckCommand
Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>

fixes #10979
2016-01-18 15:43:51 +01:00
Eduard Güldner 09cb793402 Added exclude parameter in disk-windows CheckCommand
Added missing command parameter in definition for disk-windows CheckCommand
in order to be able to exclude certain drives from being checked.
This parameter was addressed in feature #9201
Further details can be found in feature #10787

Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>

fixes #10787
2016-01-18 10:27:54 +01:00
Sebastian Brückner 46000497cf Add timeout to snmpv3 check
Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>

fixes #10920
2016-01-14 17:50:37 +01:00
Gunnar Beutner 599929b0f6 Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
Michael Friedrich 48fbb89f06 Fix that the hpasm CheckCommand is using the PluginDir constant
fixes #10780
2015-12-07 10:22:22 +01:00
Sebastian Chrostek ab9218e801 Add ipv4 / ipv6 support for all monitoring-plugins
Add some options to check_smtp/check_ssmtp/check_imap/check_simap/check_pop/check_spop

Refs #10669

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-11-30 08:36:36 +01:00
Luca Lesinigo 3a47448f06 ITL: fix ipmi-sensor variable names
fixes #10745

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-11-30 08:28:21 +01:00
Gunnar Beutner 5f220768e9 Add running_kernel_use_sudo option for the running_kernel check
fixes #10693
2015-11-23 13:29:45 +01:00
Gunnar Beutner e62ade5034 Fix indentation in command-plugins.conf
fixes #10667
2015-11-20 10:48:48 +01:00
Bruno Lingner e02d2e1af1 Add by_ssh_options argument for the check_by_ssh plugin
fixes #10622

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-11-18 20:29:30 +01:00
Michael Friedrich 6004ab6c31 ITL: Increase the default timeout for OS checks (update-windows, yum, apt)
fixes #10504
2015-11-06 15:41:54 +01:00
Jo Goossens 8a677277a5 ITL: Add missing check_apt arguments
refs #10504

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-11-06 15:37:56 +01:00
Jo Goossens 773e398799 Add missing parameters for jmx4perl check command
fixes #10503
2015-11-05 17:50:47 +01:00
Sebastian Chrostek a2c09a122b Add ipv4/ipv6 only to tcp, udp and http CheckCommand
fixes #10513

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-11-02 08:32:04 +01:00
Lennart Betz 5c8386b388 Add check command negate.
fixes #10507

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-11-01 14:01:32 +01:00
Lennart Betz cdfc283395 Add check command mysql
fixes #10511

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-11-01 13:55:15 +01:00
Bastian Guse 6b3e3812e2 Add check command nginx_status
fixes #10374

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-10-26 09:51:16 +01:00
Gunnar Beutner 4cf4ffe893 Fix: 'dig_lookup' custom attribute for the 'dig' check command isn't optional
fixes #10433
2015-10-22 14:53:58 +02:00
Dinesh Majrekar f426f3690b Add snmp_port custom attribute for the SNMP check command definitions
fixes #10423

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-10-21 18:05:01 +02:00
Michael Friedrich 464e7f0e9f Add timeout argument for pop, spop, imap, simap commands
fixes #10219
2015-10-15 15:13:24 +02:00
Jean-Marcel Flach 1d1d2ceb96 Add repeat_key=true to check_disk.exe -p
fixes #10158
2015-09-16 15:16:42 +02:00
Michael Friedrich 2063012457 Fix string escaping in hpasm argument description
refs #9854
2015-09-12 21:27:37 +02:00
Lennart Betz f0250a5c14 ITL: add check command for check_hpasm
fixes #9854

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-09-12 21:07:38 +02:00
Lennart Betz f1735895b7 ITL: add check_command nwc_health
fixes #9812

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-09-12 21:04:44 +02:00
Lennart Betz e17facfd57 Add missing options to check command dig
fixes #10139

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-09-12 20:54:24 +02:00
Lennart Betz 5a118bd6ea add check command for plugin check_pgsql
fixes #10112

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-09-12 20:52:38 +02:00
Sebastian Chrostek f66b9bbf1e ITL: Add ipv4/ipv6 only to nrpe check command
fixes #10129

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-09-10 09:14:40 +02:00
Lennart Betz 98b0fb7c22 ITL: Add check command squid
fixes #10109

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-09-07 11:41:52 +02:00
Gunnar Beutner 63a1ff77c3 Implement the resolve_arguments function
fixes #10006
2015-08-27 09:02:21 +02:00
Lennart Betz e5f7c380ba Add new argument vmware_openvmtools to check commands vmware-esx-dc-runtime-tools and vmware-esxi-soap-vm-runtime-tools
fixes #9996

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-08-26 11:13:24 +02:00
Lennart Betz f12b820685 Add check command nspc-local-counter
fixes #9985

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-08-24 13:19:31 +02:00
Lennart Betz 649af5ebb8 Set skip_key for the "-a" argument for nscp-local
fixes #9984

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-08-24 13:17:41 +02:00
Lennart Betz bb6db7978a Fix check_command interfaces, change option match_aliases to boolean
fixes #9912

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-08-17 08:54:53 +02:00
Petr Ruzicka 04177cb736 ITL: Improve snmpv3 CheckCommand section
fixes #9827

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-08-07 13:32:49 +02:00
Lennart Betz 8d11b744f4 ITL: Add check command check_interfaces
fixes #9527

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-08-03 18:05:09 +02:00
Lennart Betz 6a2b695666 ITL: Add check command check_mailq
fixes #9811

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-08-03 16:37:59 +02:00
Lennart Betz bb0ce0e698 ITL: Add check command check_clamd
fixes #9747

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-08-03 16:26:04 +02:00
Dirk Goetz 4e4adf4126 Add check_yum to ITL
fixes #9671
2015-08-03 15:53:09 +02:00
Dirk Goetz 06d9db8c5d Add check_redis to ITL
fixes #9675
2015-08-03 15:46:30 +02:00
Dirk Goetz b2f27fa5eb Adds check_jmx4perl to ITL
fixes #9801
2015-08-03 15:29:04 +02:00
Petr Ruzicka 660ffe9da7 Add "-r" parameter to the check_load command for dividing the load averages by the number of CPUs
New variable "load_percpu" added to use when "-r" should be added for the check_load command.

fixes #9699

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-07-22 10:05:50 +02:00
Jérôme Drouet 95914ea31f Enable inode check on disk by default
fixes #9666

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-07-20 07:49:14 +02:00
Reto Zeder 73d98151c1 Wrong parameter for CheckCommand ping-common-windows
Signed-off-by: Jean-Marcel Flach <jean-marcel.flach@netways.de>

fixes #9637
2015-07-16 13:13:19 +02:00
Lennart Betz 219631fbae ITL: Add missing 'smtp' CheckCommand parameters
fixes #9578

Signed-off-by: Michael Friedrich <michael.friedrich@gmail.com>
2015-07-07 21:20:21 +02:00
Christian Harke ebb6efe1c5 ITL: Fix incorrect check_ping.exe parameter
fixes #9463
2015-07-07 15:42:47 +02:00
Lennart Betz 0ab467c6b2 ITL: Add missing options to 'ntp_time' CheckCommand
fixes #9562

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-07-06 17:12:04 +02:00
Lennart Betz 1a06333b86 ITL: Add CheckCommand ntp_peer
fixes #9523

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-07-06 16:59:58 +02:00
Malte Rabenseifner 3f622858e6 Use PluginContribDir in itl/plugins-contrib.d/*
fixes #9513
2015-06-29 10:21:28 +02:00
Michael Friedrich c1923c9e5a Fix wrong nscp path w/ command_endpoint runtime macros
Do not allow to override the nscp path by runtime macros.
This causes the (linux) master to send just "." as $nscp_path$
and the windows client ignores the local global constant NscpPath
being overridden by the master.

Only happens with command_endpoints where runtime macros are passed
from the master to the clients.

fixes #9456
2015-06-19 15:20:22 +02:00
Christian Lehmann 2a6c0d87af ITL: Add securityLevel to snmpv3 CheckCommand
For example if using snmpv3 without encryption.
Defaults set to privAuth to stay compatible to older versions.

fixes #9416

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-06-17 15:27:45 +02:00
Dirk Goetz e88cc78a4f Add elasticsearch checkcommand to itl
fixes #9415

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-06-17 15:17:32 +02:00
Tom Geissler 8d383c6a19 Add 'snmp_is_cisco' to Manubulon snmp-memory command definition
The new var 'snmp_is_cisco' was added to snmp-memory check
for use the correct OID with cisco switches. The default
is 'false'.

fixes #9303

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-06-17 15:13:38 +02:00
Michael Friedrich 4a27e4db61 Fix wrong check parameter in 'tcp' CheckCommand
refs #9147
2015-06-15 11:29:44 +02:00
Michael Friedrich 9bbfdbd0fb Fix wrong argument for mssql plugin check command
fixes #9372
2015-06-08 18:05:16 +02:00
Michael Friedrich fb2c84c904 Fix missing IPv6 support in 'iftraffic' check command
refs #9272
2015-05-13 14:19:20 +02:00
Michael Friedrich b5740a6171 Add 'iftraffic' to plugins-contrib check command definitions
fixes #9272
2015-05-13 14:15:23 +02:00
Gunnar Beutner 24ae02386a Implement the basename and dirname script functions
refs #9256
2015-05-13 09:46:59 +02:00
Gunnar Beutner 32e5ed957f Add the --load-all and --log options for nscp-local
fixes #9261
2015-05-13 08:45:19 +02:00
Gunnar Beutner 8612384dea Fix incorrect custom var names in the ITL
fixes #9258
2015-05-13 08:09:53 +02:00
Gunnar Beutner 62c755f88c Determine NSClient++ installation path using MsiGetComponentPath
fixes #9256
2015-05-12 15:45:40 +02:00
Michael Friedrich 364a0888a5 Add 'disk_smb' Plugin CheckCommand definition
fixes #9254
2015-05-12 14:46:45 +02:00
Gunnar Beutner f2ac52cc88 Fix incorrect variable name in the ITL
fixes #9253
2015-05-12 13:20:19 +02:00
Ralph Breier 9fbf99c982 Fix problem with option order of disk_wfree and disk_cfree
If using the -r/-R option with check_disk, the command  expects the
warning and critical threshold on the left side of its position.
With order = -3 will be moved to the first position of all options.

fixes #9161

Signed-off-by: Michael Friedrich <michael.friedrich@gmail.com>
2015-05-05 18:39:29 +02:00
Ferdi Gueran 9562018447 Add database CheckCommand definition for mongodb
fixes #9191

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-04-28 14:28:12 +02:00
Michael Friedrich 74d75c5d2a Move 'runing_kernel' check command to plugins-contrib 'operating system' section
fixes #9175
2015-04-25 13:42:04 +02:00
Michael Friedrich afb70a216e ITL: Add missing 'ldap' command arguments
refs #9172
2015-04-25 13:35:59 +02:00
Élie Bouttier fb820f6b7c ITL: Add "ldap" CheckCommand
refs #9172

Signed-off-by: Michael Friedrich <michael.friedrich@gmail.com>
2015-04-25 13:11:49 +02:00
Lee Clemens 5adba6c4fe Terminate string literals
refs #9147

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-04-24 08:30:09 +02:00
Gunnar Beutner b24f2a906c Fix style for command-nscp-local.conf
refs #9130
2015-04-22 21:58:22 +02:00
Tobias von der Krone 612882e4d9 Add arguments to "tcp" CheckCommand
fixes #9147

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-04-22 21:49:41 +02:00
Tobias von der Krone 636bbcedca Add attributes to the "ftp" CheckCommand.
fixes #9146

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-04-22 21:48:49 +02:00
Tobias von der Krone 29a9977c82 Add attributes to the "dns" CheckCommand
fixes #9145

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-04-22 21:48:28 +02:00
Lennart Betz c7c9e5587c Add 'check_drivesize' as nscp-local check command
fixes #9130
2015-04-21 12:21:01 +02:00
Dirk Goetz 2932e01afa ITL: Add 'SHOWALL' command argument for 'nscp'
fixes #9115

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-04-20 14:19:09 +02:00
Louis Sautier 9a3326fe66 Fix order of check_disk's ignored paths arguments
fixes #9049

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-04-15 11:24:08 +02:00
Gunnar Beutner 17c658dc50 Make sure that the web.conf file gets installed
fixes #9050
2015-04-15 08:39:55 +02:00
Dirk Goetz aaae1297e8 Add database plugins check_mysql_health, check_mssql_health, check_oracle_health and check_postgres to ITL
fixes #8760

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-04-02 10:43:04 +02:00
Gunnar Beutner 1747e580b2 Fix incorrect macro string
refs #8881
2015-03-27 14:29:36 +01:00
Louis Sautier 0779d2c44b Add all missing UPS check parameters
fixes #8881

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-03-27 12:58:05 +01:00
Jean Flach a7a0eca8b2 Add CheckCommands and documentation on Windows plugins
fixes #8180
fixes #8850
2015-03-26 10:56:06 +01:00
Michael Friedrich aaafbcbbac Fix wrong 'dns_lookup' custom attribute default
fixes #8862
2015-03-25 11:44:54 +01:00
Michael Friedrich 41d0c3f3d7 Add "random" CheckCommand for test and demo purposes
fixes #8816
2015-03-19 14:36:53 +01:00
Gunnar Beutner 6c96d5bc98 Clean up the start-up process a bit
fixes #8791
2015-03-18 11:14:51 +01:00
Gunnar Beutner dae206e899 Move the base command templates into libmethods
fixes #8775
2015-03-17 08:19:31 +01:00
Louis Sautier afc38762ef Fix check_disk default thresholds and document the change of unit
fixes #8673

Signed-off-by: Michael Friedrich <michael.friedrich@gmail.com>
2015-03-10 23:49:23 +01:00
Louis Sautier 3adc605bef Fix check_disk thresholds: make sure partitions are the last arguments
fixes #8658

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-03-09 15:32:24 +01:00
Gunnar Beutner 4f41c79a4c Add check commands for NSClient++
fixes #8621
2015-03-06 13:08:42 +01:00
Carlos Cesario d0ca16cdde Add check command definitions for the check_vmware_esx plugin
fixes #6697

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-03-05 18:10:44 +01:00
Blerim Sheqa 559350d557 Add check command for check_webinject
fixes #8429

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-02-25 12:50:56 +01:00
Gunnar Beutner 59b5a2228a Add a new test script to the ITL 2015-02-25 10:19:07 +01:00
Gunnar Beutner 89d1c908cd Replace spaces with tabs in command-plugins.conf
fixes #8520
2015-02-24 21:58:20 +01:00
Dolf Schimmel (Freeaqingme) 96ad5287dc ITL: Add support for GETNEXT in SNMP CheckCommand
refs #8498

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-02-24 21:49:28 +01:00
Dolf Schimmel (Freeaqingme) 73e0987600 ITL: Implement various options for the 'snmp' CheckCommand, including mib-list
refs #8498

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-02-24 21:47:20 +01:00
Gunnar Beutner d6812a7703 Rename the PluginsContribDir constant to PluginContribDir
fixes #8509
2015-02-23 15:35:55 +01:00
Gunnar Beutner 1e4c5cf2f2 Add more arguments for the 'udp' check command
fixes #8410
2015-02-23 13:54:18 +01:00
Tobias von der Krone f69f69bb7c Add check command "ipmi-sensor"
Add the check command "ipmi-sensor" in plugings-contrib and its documentation.

fixes #8414
2015-02-23 13:25:52 +01:00
Dirk Goetz 7f368c0e18 Add contributed command definitions
fixes #7209
fixes #7292
fixes #7294

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-02-18 15:43:27 +01:00
Gunnar Beutner 1f05cc23d1 Wrap IPv6 addresses in udp6:[<addr>] for check_snmp
refs #8259
2015-02-13 12:11:53 +01:00
Gunnar Beutner bb033b5ce3 Fall back to using address6 when the address attribute is not set
fixes #8259
2015-02-13 11:52:50 +01:00
Gunnar Beutner e3edcfddde Fix incorrect macro name in the disk check command
refs #8316
2015-02-12 09:24:28 +01:00
Gunnar Beutner c2e597b494 Add a few more file system types which are ignored by default
refs #8316
2015-02-12 09:15:46 +01:00
Gunnar Beutner f8bcc9c83f Add command definition for check_icmp
fixes #7873
2015-02-05 17:05:00 +01:00
Gunnar Beutner 8d551fa99f Add a check command for check_hpjd
refs #6225
2015-02-02 10:57:21 +01:00
Blerim Sheqa bda2f87759 Add missing arguments for the "disk" check command
fixes #8316

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-01-30 12:18:12 +01:00
Michael Friedrich 78bfd0204c Update copyright year 2015-01-22 12:00:23 +01:00
Edvin Seferovic a58290dd40 Removed mail_from from check_ssmtp command.
Monitoring Plugin ssmtp has no "-f" switch. Command and documentation changed.

Fixes #8245
PR #22

Signed-off-by: Markus Frosch <markus@lazyfrosch.de>

Conflicts:
	doc/7-configuring-icinga-2.md
2015-01-21 21:14:22 +01:00
Gunnar Beutner 05485ea2d6 Disallow calling strings as functions
fixes #8040
2014-12-12 20:45:11 +01:00
Steve McMaster ae95918da0 Add -t options to "snmp" and "snmp-manubulon-command" CheckCommand objects
fixes #8075

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2014-12-12 18:10:35 +01:00
Michael Friedrich 842b3a9cd7 Documentation: Explain macro array support, repeat_key, add icmp example
fixes #7868
fixes #7867
2014-11-27 16:59:17 +01:00