Commit Graph

160 Commits

Author SHA1 Message Date
Gerd von Egidy 3a294bbd5d Fork new process from previous daemon on reload.
The previously planned logic of forking a new daemon from the reload-process didn't work with
systemd: systemd does not allow long-running processes started from within the reload command.

Replaces parameter --reload with --reload-internal which is used when starting the new daemon.

Refs #5788
2014-04-29 10:34:01 +02:00
Gerd von Egidy 33bd909b71 Add --reload command-line parameter.
Refs #5788
2014-04-29 10:34:01 +02:00
Gerd von Egidy 19afcd894a Split ConfigItem::ActivateItems() into ConfigItem::ValidateItems() and ConfigItem::ActivateItems().
Also removes the -Z commandline parameter: won't be needed when this feature is done.

Refs #5788
2014-04-29 10:34:01 +02:00
Gunnar Beutner d617c7b1f6 Implement support for optional command arguments.
Fixes #5933
2014-04-26 15:03:38 +02:00
Michael Friedrich 7a147d268e Add group assign/ignore rules.
Fixes #5910
2014-04-23 15:50:00 +02:00
Michael Friedrich 0e42a5724b Add apply ping{4,6} to generic-host example config again.
Fixes #6056
2014-04-23 14:58:44 +02:00
Gunnar Beutner e749f6eae5 Make sure the installer doesn't overwrite config files.
Refs #4865
2014-04-20 11:22:15 +02:00
Gunnar Beutner bf39244f48 Add missing files for the Windows installer.
Refs #4865
2014-04-18 14:44:07 +02:00
Gunnar Beutner 0fb55f3404 Fix NSIS installer and Windows service.
Refs #4865
2014-04-18 12:15:01 +02:00
Gunnar Beutner 63e6bc8ce7 Add missing files.
Refs #6002
2014-04-13 17:35:07 +02:00
Gunnar Beutner 87cead02ed Split localhost config into several files.
Refs #6002
2014-04-13 17:32:38 +02:00
Gunnar Beutner 365779d360 Remove the SNMP auto-discovery scripts.
Refs #4865
2014-04-13 01:20:51 +02:00
Gunnar Beutner 3f2238b46c Increase default syslog log level to "warning".
Refs #4865
2014-04-12 11:53:04 +02:00
Gunnar Beutner 750603c49d Update the example config.
Refs #4865
2014-04-12 10:28:31 +02:00
Gunnar Beutner bc7609fd18 Add missing file.
Refs #4865
2014-04-12 09:25:04 +02:00
Gunnar Beutner eee198ecab Update example config.
Refs #4865
2014-04-12 08:54:09 +02:00
Gunnar Beutner aad78fee10 Install missing file.
Refs #4865
2014-04-12 08:53:09 +02:00
Gunnar Beutner 899b9da5b4 Update ITL commands.
Refs #4865
2014-04-12 08:18:51 +02:00
Gunnar Beutner 606834e190 Rename the notification attributes.
Fixes #5906
2014-04-09 10:25:23 +02:00
Gunnar Beutner 5619498762 Fix re-notification interval.
Refs #5909
2014-04-09 01:11:01 +02:00
Gunnar Beutner 510610741b Update the example config.
Refs #5979
2014-04-09 00:11:29 +02:00
Gunnar Beutner 3df3930a92 Update example config.
Refs #5909
2014-04-09 00:07:39 +02:00
Gunnar Beutner ba2309338e Update the example config.
Refs #5909
2014-04-08 23:16:31 +02:00
Gunnar Beutner 0fdb9ea21b Implement attributes for some well-known macros and allow macro recursion.
Refs #5856
Fixes #5959
2014-04-08 13:23:24 +02:00
Michael Friedrich 9ab4b3dd16 Remove the 'Icinga' prefix for global constants.
Fixes #5960
2014-04-07 21:42:23 +02:00
Gunnar Beutner cea15e11dc Implement new state and type filters.
Fixes #5906
2014-04-07 14:00:18 +02:00
Gunnar Beutner 323f3ec6c5 Update example config.
Refs #5925
2014-04-05 22:20:57 +02:00
Gunnar Beutner 5e38c81eb5 Implement apply target types.
Fixes #5924
2014-04-05 13:53:55 +02:00
Gunnar Beutner c42a582307 Rename "short_name", "host" and "sevice" attributes.
Fixes #5857
2014-04-05 09:15:40 +02:00
Michael Friedrich 09cbf18b26 Implement 'env' dictionary instead of 'export_macros' array.
Revamp notification runtime macros too.

Refs #5855
2014-04-04 22:57:56 +02:00
Michael Friedrich 3d419cd48b Rename 'hostcheck' to 'hostalive' check command.
Refs #5939
2014-04-04 19:04:13 +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 0fddb46b68 Fix Vagrant config.
Refs #5870
2014-04-01 11:17:06 +02:00
Gunnar Beutner 5eca503362 Support new-lines in addition to commas to separate commands.
Fixes #5901
2014-04-01 09:45:57 +02:00
Gunnar Beutner 036fd3303f Replace $plugindir$ macro with a constant.
Fixes #5877
2014-03-31 13:11:36 +02:00
Gunnar Beutner 79a7a0be92 Update documentation.
Refs #5870
2014-03-31 12:00:10 +02:00
Gunnar Beutner 93baea247c Only apply ping4 service to hosts which have an address macro.
Fixes #5891
2014-03-31 09:49:45 +02:00
Michael Friedrich 020a856bce Config: Fix IcingaMacros const identifier. 2014-03-30 16:12:30 +02:00
Gunnar Beutner fa11e5a97e Update example config.
Refs #5878
2014-03-28 16:32:15 +01: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
Gunnar Beutner a2d6e90d06 Rename "none" time period to "never." 2014-03-25 10:08:28 +01:00
Michael Friedrich 1d32c5b2d3 Add --no-validate option and skip duplicate validation on (re)start.
Fixes #5800
2014-03-19 20:59:18 +01:00
Gunnar Beutner 700cc43770 Update documentation.
Refs #5789
2014-03-19 12:46:23 +01:00
Michael Friedrich ce737ff2f3 Change copyright header (again).
Fixes #5424
2014-03-19 11:42:47 +01:00
Michael Friedrich cf3f0eaee7 Chown log/pid on startup.
Refs #5787
2014-03-17 18:06:23 +01:00
Gunnar Beutner a066cbf110 Init script shouldn't run config validation as root.
Fixes #5761
2014-03-17 10:14:21 +01:00
Gunnar Beutner 3aa8bd6164 Add StateFilterOK in the example notification config.
Fixes #5762
2014-03-17 09:42:43 +01:00
Gunnar Beutner 4d6088bee1 Stop checks during shutdown.
Fixes #5784
2014-03-17 09:04:19 +01:00