Commit Graph

294 Commits

Author SHA1 Message Date
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