Commit Graph

498 Commits

Author SHA1 Message Date
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
Gunnar Beutner 9dfa3d22d4 Implement support for arrays in command arguments
fixes #6709
2014-11-27 13:24:07 +01:00
Carlos Cesario 443ae0f298 Add label option to snmp ckecks
Add label option to snmpv3 and snmp snmp-interface commands. Based on attached files to ticket #7545.

fixes #7545

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2014-11-26 20:40:55 +01:00
Carlos Cesario 4c9fe5fd5b Add more options to snmp-interface command
Add more options to snmp-interface command based on conf file attached on ticket #7136.

fixes #7136

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2014-11-26 18:26:19 +01:00
Gunnar Beutner 6f4ae74e1e Increase default timeout for NRPE checks
fixes #7747
2014-11-21 22:05:33 +01:00
Michael Friedrich a10107c540 Plugin Check Commands: disk is missing '-p', 'x' parameter
fixes #7596
2014-11-06 14:22:00 +01:00
Michael Friedrich 38b994d9cd Plugin Check Commands: Fix wrong set_if in http command
refs #7302
2014-10-11 19:30:53 +02:00
Dirk Goetz e0941027ea Plugin Check Commands: Extend check_procs and check_http arguments
fixes #7302

Signed-off-by: Michael Friedrich <michael.friedrich@gmail.com>
2014-10-11 19:15:55 +02:00
Carlos Cesario 911863f974 Plugin Check Commands: Fix snmp-load threshold values
Fix snmp-load threshold values to suppoprt "-T stand" param in check command.
To use 3 values, change the snmp_load_type var to "netsl".

fixes #7351

Signed-off-by: Michael Friedrich <michael.friedrich@gmail.com>
2014-10-11 18:27:04 +02:00
Brian Dockter 273a5eddc5 Change command-line option for enabling SNMP v2c support to valid short form.
fixes #7359

Signed-off-by: Michael Friedrich <michael.friedrich@gmail.com>
2014-10-11 16:54:38 +02:00
Jan Wagner 42852108a3 Fix '3 warnings and critical' error
fixes #7275

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2014-09-18 13:20:26 +02:00
Tobias von der Krone 58a84c9344 Move fping_address to command array because it must always be the first argument
fixes #7168
2014-09-11 09:34:20 +02:00
Michael Friedrich ab7fc25072 Fix Manubulon include file
fixes #7123
2014-09-08 11:22:38 +02:00
Michael Friedrich 52e85dc22e Install missing itl/manubulon
refs #6650
2014-08-27 19:57:44 +02:00
Michael Friedrich aef11814d0 Rename plugin-commands-manubulon.conf to command-plugins-manubulon.conf
refs #6650
2014-08-27 19:57:44 +02:00
Carlos Cesario 170c41b5f0 Addes itl/manubulon file
refs #6650
2014-08-27 19:57:44 +02:00
Carlos Cesario 1f86887a1d Added plugin-commands-manubulon.conf into CMakeLists.txt
refs #6650
2014-08-27 19:57:44 +02:00
Carlos Cesario 42b63c48f3 Added license header, remove commas after expressions and change comments format
refs #6650
2014-08-27 19:57:44 +02:00
Carlos Cesario fe6dc00a85 Add some manubulon snmp plugins
refs #6650
2014-08-27 19:57:43 +02:00
Gaël Beaudoin 87d789ad8b Add the --timeout parameter to the check_ssh / ssh CheckCommand
fixes #6791

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2014-07-30 14:16:10 +02:00
Gunnar Beutner 4c8eb819e4 Remove set_if attribute for the ssl check
fixes #6782
2014-07-23 09:37:04 +02:00
Gunnar Beutner abc3869218 Fix order attribute for the ssh check command
fixes #6773
2014-07-21 15:09:01 +02:00
Gunnar Beutner 263f198992 Require command to be an array when the arguments attribute is used
fixes #6698
2014-07-16 13:01:55 +02:00
Carlos Cesario dd1646f78d Add http expect option (-e) to check_http command
fixes #6695

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2014-07-12 17:17:48 +02:00
Gunnar Beutner 5fb52a4e48 Remove superfluous quotes and commas in dictionaries
fixes #6687
2014-07-11 14:38:15 +02:00
Jan Wagner 4c548813a4 Add sni option to http check
fixes #6605

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2014-07-04 12:01:25 +02:00
Carlos Cesario f27ea30000 Add more options to snmp check
fixes #6581

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2014-06-27 08:24:44 +02:00
Jan Wagner 582824e291 Adding ports to checks pop/imap/smtp and new check dig
fixes #6531

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2014-06-24 13:20:41 +02:00
Michael Friedrich a277e2dc3f Plugins: add fping4/6 commands
refs #6225
2014-06-18 19:26:18 +02:00
Michael Friedrich c1034a8e7f plugin command dns: small naming fixes
refs #6487
2014-06-16 08:49:52 +02:00
Gerd von Egidy a4a015c8be Add CheckCommand "dns"
Refs #6487
2014-06-16 08:49:52 +02:00
Gerd von Egidy 2dc4b968d9 Improve snmp CheckCommand, add snmpv3 CheckCommand.
Refs #6487
2014-06-16 08:49:52 +02:00
Gerd von Egidy dedb16b2c8 Add "ssl" CheckCommand
Refs #6487
2014-06-16 08:49:52 +02:00
Gerd von Egidy 64946bc3a2 Add http_expect_body_regex and http_ignore_body to command-plugins.conf.
Refs #6487
2014-06-16 08:49:52 +02:00
Gerd von Egidy 444a85ddd0 Add (s)smtp_mail_from option to smtp and ssmtp commands.
Refs #6487
2014-06-16 08:49:52 +02:00
Michael Friedrich 1d9f7fb045 Plugins: Add 'http_auth_pair' as 'http' command argument.
Fixes #6396
2014-06-03 19:54:59 +02:00
Gunnar Beutner 5d10558342 Fix the "running_kernel" check command.
Refs #6369
2014-06-02 19:59:28 +02:00
Michael Friedrich 9225f7ed00 Drop check_kernel in favor of check_running_kernel, add plugin command.
Refs #6369
2014-06-02 13:34:35 +02:00
Michael Friedrich 26e35b7cf0 Documentation: Fix 'http' check_command.
Fixes #6379
2014-06-02 10:47:31 +02:00
Marcus van Dam ade832849b Plugins: Add ftp and ups CheckCommand objects.
Refs #6225

Signed-off-by: Michael Friedrich <michael.friedrich@gmail.com>
2014-05-28 23:42:38 +02:00
Marcus van Dam 67b7a8300e Plugins: Add imap,simap,pop,spop CheckCommand objects.
Refs #6225

Signed-off-by: Michael Friedrich <michael.friedrich@gmail.com>
2014-05-28 22:26:27 +02:00
Gunnar Beutner d66b4d587e Implement the "cluster-zone" check task.
Fixes #6204
2014-05-25 19:59:52 +02:00
Michael Friedrich 60b772334d Fix nrpe command definition.
Refs ##6225
2014-05-22 21:06:19 +02:00
Michael Friedrich c4fa6e2ea2 Plugins: Add generic nrpe command definition.
Refs #6225
2014-05-22 19:08:47 +02:00
Gunnar Beutner e3db6770f1 Add by_ssh command object.
Refs #5795
2014-05-22 14:05:56 +02:00
Gunnar Beutner bbb2fb62dd Add check command for check_dhcp.
Refs #6225
2014-05-17 13:33:57 +02:00
Gunnar Beutner 5c54dc7846 Add missing quote.
Refs #5795
2014-05-12 13:03:28 +02:00
Gunnar Beutner a4e2c48c96 Add check comment for NSClient++.
Refs #5795
2014-05-12 12:30:30 +02:00
Michael Friedrich d06d4f2540 Include monitoring plugin commands seperately.
Fixes #6130
2014-05-10 19:02:51 +02:00
Gunnar Beutner 656d6ff13a Update scripts and example config.
Refs #6107
2014-05-08 12:17:21 +02:00
Gunnar Beutner 7be95a180d Remove superfluous commas in the ITL.
Fixes #6071
2014-04-29 10:44:09 +02:00
Gunnar Beutner 1c9e985f1d Rename "optional" attribute to "required" and change the default value.
Fixes #6069
2014-04-29 10:41:32 +02:00
Gunnar Beutner 17d277ff16 Implement the "order" attribute for command arguments.
Refs #5933
2014-04-29 10:33:09 +02:00
Gunnar Beutner 9b9ee5c425 Add ssh_port parameter for the ssh check command.
Refs #5933
2014-04-26 18:31:49 +02:00
Gunnar Beutner 1631d795b0 Add missing $ sign in a macro.
Refs #5933
2014-04-26 16:40:30 +02:00
Gunnar Beutner d617c7b1f6 Implement support for optional command arguments.
Fixes #5933
2014-04-26 15:03:38 +02:00
Gunnar Beutner 4e7738c5a5 Implement CLR-based checks. 2014-04-16 10:39:13 +02:00
Gunnar Beutner 0ed49d2ddc Add "apt" check command.
Refs #6002
2014-04-13 18:47:02 +02:00
Gunnar Beutner 365779d360 Remove the SNMP auto-discovery scripts.
Refs #4865
2014-04-13 01:20:51 +02:00
Gunnar Beutner 750603c49d Update the example config.
Refs #4865
2014-04-12 10:28:31 +02:00
Gunnar Beutner 983f11ef58 Update "swap" check command.
Refs #4865
2014-04-12 08:56:26 +02:00
Gunnar Beutner 899b9da5b4 Update ITL commands.
Refs #4865
2014-04-12 08:18:51 +02:00
Gunnar Beutner 2961364e97 Implement support for agent-based checks.
Refs #4865
2014-04-12 04:21:09 +02:00
Michael Friedrich 9ab4b3dd16 Remove the 'Icinga' prefix for global constants.
Fixes #5960
2014-04-07 21:42:23 +02:00
Michael Friedrich f13e7b5fa0 Update documentation for custom attribute runtime macros.
Refs #5855
2014-04-04 21:52:33 +02:00
Michael Friedrich 3d419cd48b Rename 'hostcheck' to 'hostalive' check command.
Refs #5939
2014-04-04 19:04:13 +02:00
Michael Friedrich fb038b3e4f Update documentation reflecting current changes.
Refs #5855
2014-04-04 18:41:54 +02:00
Michael Friedrich 9dd37cf9bc Add ITL hostcheck command for sample config.
Fixes #5939
2014-04-04 16:22:12 +02:00
Michael Friedrich 5c58eb368c Merge 'macros' and 'custom' attributes into 'vars', part 1.
Refs #5855
2014-04-03 11:35:25 +02:00
Gunnar Beutner 036fd3303f Replace $plugindir$ macro with a constant.
Fixes #5877
2014-03-31 13:11:36 +02:00
Gunnar Beutner 9901e9b1d3 Update ITL commands.
Refs #5888
2014-03-31 12:52:12 +02:00
Gunnar Beutner a7136b6f5c Use $HOSTADDRESS$ in the ITL commands.
Fixes #5895
2014-03-31 08:48:01 +02:00
Gunnar Beutner 397fee13ff Allow "object" and "apply" in AST expressions.
Refs #5870
2014-03-30 15:04:53 +02:00
Gunnar Beutner 8958d2f69f Implement the "import" keyword.
Refs #5869
2014-03-28 11:22:36 +01:00
Gunnar Beutner c580632e90 Add check plugin for net-snmp extend checks.
Fixes #5861
2014-03-26 09:51:10 +01:00
Michael Friedrich ce737ff2f3 Change copyright header (again).
Fixes #5424
2014-03-19 11:42:47 +01:00
Michael Friedrich e534f9bc1b Add Cluster Health Check.
Fixes #5438
2014-02-07 15:19:37 +01:00
Michael Friedrich 555d72150a Update copyright header.
Fixes #5424
2014-01-09 00:32:11 +01:00
Gunnar Beutner 41d4ba169f Embed constants into lib{base,icinga,db_ido}.
Fixes #5247
2013-12-17 14:24:29 +01:00
Gunnar Beutner e540685e13 Implement support for constants in the config parser.
Refs #4946
2013-12-04 11:32:45 +01:00
Paul Richards 593025f763 Add NSCA-ng support for the Vagrant VM.
Fixes #5128

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2013-11-24 18:21:20 +01:00
Gunnar Beutner 1fc47e67a8 Implement the IcingaCheckTask check type.
Fixes #2822
2013-11-21 11:40:03 +01:00
Gunnar Beutner 4534bb08c5 Implement DbCatEverything flag.
Fixes #5096
2013-11-20 16:47:46 +01:00
Gunnar Beutner b92d26cac0 Add missing $ in the https_vhost check command.
Fixes #5083
2013-11-17 03:30:56 +01:00
Gunnar Beutner 6dd6c605d4 Don't explicitly load libmethods in libicinga.
Refs #4995
2013-11-05 08:34:34 +01:00
Gunnar Beutner f2307c4242 Add cmake build files.
Refs #4962
2013-11-03 13:45:26 +01:00
Gunnar Beutner 2c143fbdf8 Remove unused files.
Refs #4962
2013-11-03 11:12:47 +01:00
Gunnar Beutner ff737e4cb5 Add script constants for the DbCat* filter categories.
Refs #4782
2013-10-30 10:20:00 +01:00
Michael Friedrich ebb2989d00 Fix ITL typo. 2013-10-01 15:54:15 +02:00
Gunnar Beutner de8522f500 Update documentation. 2013-10-01 15:33:48 +02:00
Gunnar Beutner 400fe5e13c Remove the uncheckable state. 2013-10-01 13:12:04 +02:00
Gunnar Beutner abf1995e4a itl: Remove standalone.conf. 2013-10-01 08:36:20 +02:00
Gunnar Beutner 3127767eb8 Remove obsolete ITL templates. 2013-09-30 13:17:07 +02:00
Michael Friedrich 3b96d5fc82 Fix ITL attributes. 2013-09-27 16:10:10 +02:00
Gunnar Beutner bf1a800e39 Update copyright information. 2013-09-25 07:45:56 +02:00
Gunnar Beutner 31a55987e5 cluster: Implement domain support. 2013-09-17 13:18:40 +02:00
Gunnar Beutner e9e55cd8c0 Remove the replication feature and clean up the code. 2013-08-26 14:56:38 +02:00
Michael Friedrich 19c0925fa9 itl: fix http_ip plugin check_http (thx cropalato) 2013-07-30 20:45:09 +02:00
Gunnar Beutner a97519a42e Move filter constants to itl/constants.conf. 2013-06-27 11:23:32 +02:00
Gunnar Beutner 2b1c268ecd Remove obsolete templates. 2013-06-24 09:24:33 +02:00
Gunnar Beutner 0ecd650134 Removed obsolete file. 2013-06-17 09:38:18 +02:00
Gunnar Beutner d042a181bd Refactor commands and implement event handlers.
Fixes #3877
Fixes #4001
2013-06-13 11:33:00 +02:00
Gunnar Beutner d22e3767cd Fix type name. 2013-05-03 15:43:15 +02:00
Michael Friedrich 76cc0061b3 ITL: add 'legacy-timeperiod' with update method
fixes #4038
2013-05-02 22:15:50 +02:00
Gunnar Beutner b3acd768eb Add cluster.conf to the Makefile. 2013-04-01 17:12:40 +02:00
Gunnar Beutner e83f3f7842 Fix ITL definition for the replication component. 2013-04-01 17:10:12 +02:00
Gunnar Beutner a03d609f7c Removed the '#' prefix for the config statements 'include' and 'library'. 2013-03-21 14:30:28 +01:00
Gunnar Beutner 49620ef0ed XNU build fixes. 2013-03-14 15:14:07 +01:00
Gunnar Beutner 07421751ad Implement config support for arrays. 2013-03-14 12:17:46 +01:00
Gunnar Beutner 6c9de84683 Update default host/service groups to use display_name instead of alias. 2013-03-13 11:28:56 +01:00
Gunnar Beutner 3c363499bb Eliminate the Component class.
Fixes #3832
Fixes #3840
2013-03-12 13:45:54 +01:00
Gunnar Beutner 4bb808e0fa ConfigType: Use ConfigItem::IsAbstract() to check if items are abstract. 2013-03-11 13:05:32 +01:00
Gunnar Beutner 16b0722cbc Added more templates. 2013-03-08 16:02:33 +01:00
Gunnar Beutner 68ecd7853f Updated auto-discovery script and added some more service templates. 2013-03-08 14:42:48 +01:00
Gunnar Beutner 5228d7f10b Implemented compat support for users and user groups. 2013-02-28 10:50:20 +01:00
Gunnar Beutner e9d32eeada Implemented user groups. 2013-02-27 21:49:03 +01:00
Gunnar Beutner 6bf086dc91 Implemented notification_interval attribute for hosts. 2013-02-27 18:15:01 +01:00
Gunnar Beutner e9648f35bc Make the services/notifications caches thread safe.
Send notifications based on the notification_interval setting.
2013-02-27 12:44:51 +01:00
Gunnar Beutner 77affd3ad6 Implemented the User class. 2013-02-24 08:26:10 +01:00
Gunnar Beutner 3dace35cf1 Fine-grained locks (WIP, Part 3). 2013-02-18 23:44:24 +01:00
Gunnar Beutner df79e4c2dc Remove method validator. 2013-02-16 11:28:16 +01:00
Gunnar Beutner 22913c96bf Redesign how templates are specified for slave services/notifications
Fixes #3706
2013-02-16 09:28:05 +01:00
Gunnar Beutner 2952cc8afb Implement an alias for "abstract object".
Fixes #3707
2013-02-16 09:18:34 +01:00
Gunnar Beutner efd108982a Removed the native:: prefix for built-in functions. 2013-02-15 12:41:32 +01:00
Gunnar Beutner 7fac5b454e Basic support for other scripting languages. 2013-02-14 12:02:02 +01:00
Gunnar Beutner 1d807d91bc Implemented dictionary support for commands. 2013-02-13 20:08:09 +01:00
Gunnar Beutner 767a2909b6 Config: Implement arrays. 2013-02-13 12:19:02 +01:00
Gunnar Beutner b17cafd0cf Make the delegation interval configurable. 2013-02-13 09:59:38 +01:00
Gunnar Beutner c878065a1f Don't load the replication component on standalone instances.
Fixes #3687
2013-02-11 23:37:39 +01:00
Gunnar Beutner a8e584811f Added the null-service template. 2013-02-11 23:19:33 +01:00
Gunnar Beutner 126121e6f7 ITL: Added template for plugin-based notifications. 2013-02-09 17:47:17 +01:00
Gunnar Beutner c44ad7b06b Implemented notification request messages, notifications dictionary for hosts/services and state-based notifications. 2013-02-09 15:20:10 +01:00
Gunnar Beutner 3e7376576e Implemented rudimentary notifications. 2013-02-09 11:42:22 +01:00
Gunnar Beutner b5f59dc882 Updated validation rules for service dependencies. 2013-02-08 16:09:42 +01:00
Gunnar Beutner 3458b7d9d1 Implement service shortnames.
Refs #3660
2013-02-08 15:38:22 +01:00
Gunnar Beutner 1017f78b0b Added dummy project files for the notification component. 2013-02-07 21:19:19 +01:00
Gunnar Beutner 1b4a9a3a21 Redesign dependencies.
Fixes #3646
2013-02-07 20:29:35 +01:00
Gunnar Beutner 671eb0110f Write a validator for method names
Fixes #3637
2013-02-06 13:10:14 +01:00
Gunnar Beutner e047e06fc8 Finish implementing %validator.
Fixes #3634
2013-02-06 12:09:50 +01:00
Gunnar Beutner d463bed478 Config: Implement detection of missing required attributes
Fixes #3627
2013-02-06 00:32:05 +01:00
Gunnar Beutner cdd3d566af Fixed default host template. 2013-02-04 12:58:16 +01:00
Gunnar Beutner c4293cfa25 Added init script.
Fixes #3114
2013-02-04 12:52:39 +01:00
Gunnar Beutner 6717107205 Removed stray space in service definition. 2013-02-03 17:36:19 +01:00
Gunnar Beutner 7d795ae5e6 Types: Added service attributes to the host type. 2013-02-03 11:45:56 +01:00
Gunnar Beutner 0d3ce60e4f Fixed types for DynamicObject::__name and DynamicObject::_type. 2013-02-02 20:17:33 +01:00
Gunnar Beutner 628d8374c7 Bugfixes for the type validation feature. 2013-02-02 20:03:24 +01:00
Gunnar Beutner 33aba14197 Implement type keyword in the config compiler
Fixes #3616
2013-02-02 14:28:11 +01:00
Gunnar Beutner 00b827d5cf Implement search dirs for #include.
Fixes #3599
2013-02-01 22:44:58 +01:00
Gunnar Beutner b8fa0aa1f5 Initial commit of the Icinga Template Library.
Fixes #2977
2013-02-01 11:39:06 +01:00