Commit Graph

191 Commits

Author SHA1 Message Date
Michael Friedrich 6bebdddf98 Less verbose start output using the initscript
All output is dumped to startup.log and only shown in case of
'checkconfig' as parameter, but not during a reload/restart.

Furtermore some additional formatting to make it fit line by line.

fixes #5822
2014-06-12 16:05:45 +02:00
Michael Friedrich d9289add62 Documentation: Emphasize on global zone on all nodes
refs #6254
2014-06-12 14:33:59 +02:00
Michael Friedrich 318136257f Remove default example config.
Refs #6254
2014-06-11 21:28:01 +02:00
Michael Friedrich a3b2b1d780 Add global zone identifier for global object/template configuration.
Refs #6254
2014-06-11 16:49:30 +02:00
Michael Friedrich 63df43eea2 Revert "Fix configuration error on missing NodeName."
This reverts commit 72ef0d31fd.

Refs #6393
2014-06-04 10:23:39 +02:00
Michael Friedrich 72ef0d31fd Fix configuration error on missing NodeName.
Fixes #6393
2014-06-03 14:54:21 +02:00
Michael Friedrich 25e4e81e50 Yet another kernel removal fix.
Refs #6369
2014-06-02 14:54:59 +02:00
Michael Friedrich 26f0ef7657 Drop missing file from install.
Refs #6369
2014-06-02 14:06:48 +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
Gunnar Beutner 32e6e6ff04 Rewrite the check_kernel script and implement support for RHEL, Fedora and Ubuntu.
Fixes #6332
2014-05-31 09:13:01 +02:00
Carlos Cesario a7a234a600 Add missing file icingastatus.conf.
Fixes #6308

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2014-05-26 16:07:37 +02:00
Gunnar Beutner a222442e70 Comment out the NodeName constant.
Fixes #6306
2014-05-26 14:40:57 +02:00
Gunnar Beutner 7183495d89 Make username in the logrotate config configurable.
Fixes #6295
2014-05-26 09:01:23 +02:00
Michael Friedrich e873ce6b9c Fix wrong service apply rule examples for ping{4,6}.
Refs #6266
2014-05-22 23:05:39 +02:00
Michael Friedrich 4df2721d4e Documentation: Fix Getting Started based on revamped example configuration.
Refs #6266
2014-05-22 22:47:32 +02:00
Michael Friedrich 0eec68aec4 Emphasize on apply rules in example config.
- move all templates into templates.conf
- move service apply ping{4,6} to services.conf
- apply notifications based on vars.sla == "24x7"
- apply scheduled downtime based on host/service name
- apply ping{4,6} based on hostgroup membership
- keep hosts/localhost for real local configuration

Fixes #6266
2014-05-22 22:19:41 +02:00
Michael Friedrich ec7d9b0f3d Move zone specific configuration to zones.conf included in icinga2.conf.
Fixes #6208
2014-05-22 21:00:42 +02:00
Michael Friedrich 3f361bcb05 Fix checkconfig error message.
Fixes #6269
2014-05-22 17:26:56 +02:00
Gunnar Beutner 7223ae1dc2 Update documentation.
Refs #5795
2014-05-22 13:33:54 +02:00
Gunnar Beutner 95d9b6f221 Fix invalid logrotate option.
Fixes #6265
2014-05-22 12:02:11 +02:00
Gunnar Beutner 2350593ef0 Fix logrotate config.
Fixes #6229
2014-05-22 11:22:30 +02:00
Gunnar Beutner cffe3cf57c Simplify "ignore where" condition in the example config.
Refs #5795
2014-05-18 08:59:13 +02:00
Gunnar Beutner 34abe21420 Add missing file.
Refs #6191
2014-05-13 13:26:57 +02:00
Gunnar Beutner 0d36cc8d5f Implement support for the zones.d config directory.
Refs #6191
2014-05-13 13:19:43 +02:00
Gunnar Beutner ff3de818f6 Move kernel check to the Debian package directory.
Refs #6012
2014-05-13 07:00:22 +02:00
Michael Friedrich 4b75d8f8c8 Disable non-working kernel check in sample config.
Refs #6012
2014-05-13 00:15:05 +02:00
Michael Friedrich d06d4f2540 Include monitoring plugin commands seperately.
Fixes #6130
2014-05-10 19:02:51 +02:00
Gunnar Beutner 3926b68c04 Decrease default check intervals.
Refs #6107
2014-05-08 13:56:28 +02:00
Gunnar Beutner 656d6ff13a Update scripts and example config.
Refs #6107
2014-05-08 12:17:21 +02:00
Gunnar Beutner 45270f1bb8 Refactor the agent and cluster components.
Refs #6107
2014-05-08 09:13:04 +02:00
Michael Friedrich 2cfc0afc8a icinga2 init script should start/stop mysql/pgsql.
Fixes #5479
2014-04-29 17:26:39 +02:00
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