Commit Graph

159 Commits

Author SHA1 Message Date
Michael Friedrich d14a88235d Replace Copyright header with a short version, part I
CLion -> replace in path
2019-02-25 14:48:22 +01: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
Adam James 3a4f075f72 ITL: Support --list argument to check_apt 2018-12-05 09:32:54 +00:00
Michael Friedrich eabea68c56 icinga.com: Update config files (ITL, etc.) 2018-10-18 09:37:59 +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
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 Insel 158ae2188e Change copyright header for 2018 2018-01-02 12:08:55 +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
Michael aad3c6af6b ITL: Re-Add ssl_sni attribute for check_tcp 2017-09-22 17:58:57 +02:00
Roland Hopferwieser c5dad15d3a Exclude configfs from disk checks 2017-09-07 11:49:52 +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
Gunnar Beutner 1c1943f58a Remove default value for 'dns_query_type' 2017-06-28 14:00:11 +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
Petr Ruzicka a6978f7b63 Description parts improved 2017-06-11 21:47:39 +02:00
Petr Ruzicka 1e1beb8454 Adding accept_cname to dns command definition. 2017-06-08 16:45:26 +02:00
Roland Hopferwieser 76600a81eb ITL: Add CheckCommand ssl_cert, fix ssl attributes 2017-05-09 16:01:55 +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
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
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
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
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
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
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
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
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
Gunnar Beutner 22fa4773df Remove unnecessary template imports in the ITL
refs #12575
2016-11-24 09:39:49 +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
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
Gunnar Beutner 78cd56e277 Implement support for default templates
fixes #12575
2016-08-28 10:27:43 +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