Gunnar Beutner
4c022199f4
Reimplement load-balancing for checks.
...
Refs #6107
2014-05-09 11:45:21 +02:00
Gunnar Beutner
020ca0b2e9
Apply: Inherit zone from parent object.
...
Refs #6107
2014-05-09 10:36:26 +02:00
Gunnar Beutner
dade476533
Remove the ZlibStream class and the stream_bio functionality.
...
Fixes #6119
2014-05-09 10:23:54 +02:00
Gunnar Beutner
01941a9807
Don't log repository messages.
...
Refs #6107
2014-05-08 15:46:47 +02:00
Gunnar Beutner
b36b03cac1
Remove zone check in ApiEvents::UpdateRepositoryAPIHandler.
...
Refs #6107
2014-05-08 15:27:16 +02:00
Gunnar Beutner
87bcb168d7
Implement timeout for anonymous ApiClient objects.
...
Refs #6107
2014-05-08 15:12:56 +02:00
Gunnar Beutner
bd610a74b1
Clean up reconnect handler.
...
Refs #6107
2014-05-08 15:00:09 +02:00
Gunnar Beutner
b52cc9822d
Fix missing variable assignment in Zone::CanAccessObject().
...
Refs #6107
2014-05-08 13:29:53 +02:00
Gunnar Beutner
5678fe750c
Fix incorrect function name.
...
Refs #6107
2014-05-08 13:15:08 +02:00
Gunnar Beutner
e322cc5086
Implement aliasing support for "localhost".
...
Refs #6107
2014-05-08 13:08:34 +02:00
Gunnar Beutner
3464f29ca2
Fix permissions for master zones.
...
Refs #6107
2014-05-08 12:36:48 +02:00
Gunnar Beutner
656d6ff13a
Update scripts and example config.
...
Refs #6107
2014-05-08 12:17:21 +02:00
Gunnar Beutner
16e8dca01e
Build fix for RHEL.
...
Refs #6107
2014-05-08 09:19:38 +02:00
Gunnar Beutner
45270f1bb8
Refactor the agent and cluster components.
...
Refs #6107
2014-05-08 09:13:04 +02:00
Gunnar Beutner
0571d8a464
Run INITIALIZE_ONCE() after static initializers.
...
Refs #6107
2014-05-08 09:13:04 +02:00
Gunnar Beutner
b1dab6c074
Implement support for the "package" keyword.
...
Refs #6107
2014-05-08 09:13:04 +02:00
Gunnar Beutner
e2fe1c8a6b
Properly shut down TLS streams.
...
Refs #6107
2014-05-06 10:40:36 +02:00
Gunnar Beutner
0484706324
Make sure handles aren't inherited by the child process.
...
Refs #6107
2014-05-06 10:40:36 +02:00
Michael Friedrich
cf2bdecfeb
Don't allow "managed" downtimes to be deleted by users.
...
Fixes #5980
2014-05-04 16:57:11 +02:00
Michael Friedrich
4f44ef13f1
Fix string conversion in CompatUtility::GetCheckableCommandArgs().
...
Refs #5926
2014-05-04 16:49:24 +02:00
Michael Friedrich
ddfccf3188
Add debug log entries for dependencies.
...
Refs #5872
2014-05-03 21:04:56 +02:00
Michael Friedrich
0691d73af9
Rename Dependency 'state_filter' to 'states'.
...
Fixes #6113
2014-05-03 19:53:16 +02:00
Michael Friedrich
5aa578c4e4
Implement CompatUtility::GetCheckableCommandArgs() for DB IDO, Livestatus, StatusDataWriter.
...
Fixes #5926
2014-05-03 03:18:37 +02:00
Michael Friedrich
74be8cd2d0
Implement summary macros e.g. $icinga.num_services_critical$.
...
Additional $icinga.uptime$ macro.
Fixes #2742
2014-05-03 02:08:36 +02:00
Michael Friedrich
3d586b2b80
DB IDO: Update Host/Service state 'scheduled_downtime_depth' on DowntimeTriggered.
...
Refs #6051
2014-05-03 00:38:56 +02:00
Michael Friedrich
fc44798b8d
DB IDO: Update Host/Service state 'last_notification' on NotificationSentToAllUsers.
...
Refs #6051
2014-05-03 00:27:05 +02:00
Michael Friedrich
ba12ec2927
DB IDO: Update Host/Service state 'is_flapping' on FlappingChanged.
...
Refs #6051
2014-05-02 23:56:52 +02:00
Michael Friedrich
03e44dcdc8
DB IDO: Update Host/Service state 'next_check' on NextCheckChanged.
...
Refs #6051
2014-05-02 23:38:37 +02:00
Michael Friedrich
0c72228a0e
DB IDO: Update Host/Service status on Acknowledgement Add/Clear.
...
Refs #6051
2014-05-02 23:17:36 +02:00
Michael Friedrich
dbe6a20fd2
Fix exception for Notification objects without checkable object.
...
Fixes #6111
2014-05-02 19:43:49 +02:00
Michael Friedrich
07c0c9e234
Fix state_filter attribute validation for Depdency objects.
...
Fixes #6110
2014-05-02 19:37:55 +02:00
Michael Friedrich
7e164291a0
Make AddGroup() unique.
...
Refs #6105
2014-05-02 00:38:46 +02:00
Michael Friedrich
e04d200d36
Allow EvaluateRules() to keep rules for the next iteration.
...
Refs #6105
2014-05-02 00:23:29 +02:00
Michael Friedrich
b268e7d32d
Group assign requires object.groups update too (for apply rules).
...
Refs #6105
2014-05-01 23:53:38 +02:00
Michael Friedrich
01a0496988
Add AddGroup() for host, service, user objects.
...
Refs #6105
2014-05-01 23:53:08 +02:00
Michael Friedrich
3c2dae1804
Evaluate object rules (group assign) before and after creating objects with apply rules.
...
Refs #6105
2014-05-01 23:51:42 +02:00
Michael Friedrich
309c8d7299
Fix dependency logging for hosts and services.
...
Fixes #6104
2014-05-01 22:07:35 +02:00
Gunnar Beutner
630a1a28e2
Make Application::ReadPidFile work on Windows.
...
Refs #5788
2014-05-01 20:09:38 +02:00
Gunnar Beutner
e9fddcc575
Build fix for Windows.
...
Refs #5788
2014-05-01 11:27:43 +02:00
Gerd von Egidy
6ac851ca10
Improve error message when trying to open a config file.
...
Fixes #5666
Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2014-04-30 00:36:49 +02:00
Gunnar Beutner
f989bbd678
Make sure that WQ threads are started after Daemonize().
...
Fixes #6063
2014-04-29 13:17:08 +02:00
Gunnar Beutner
b119c3285b
Change log level for some messages.
...
Fixes #6072
2014-04-29 11:01:28 +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
Gerd von Egidy
1e321f0959
Fix possible race when the reload-process determines it's parent pid and the true parent has ended
...
Now transfers the true parent pid as parameter to --reload-internal.
Refs #5788
2014-04-29 10:34:02 +02:00
Gerd von Egidy
9f56b6ee74
Fix handling of m_RequestRestart in RunEventLoop, improve reload timeout
...
Refs #5788
2014-04-29 10:34:02 +02:00
Gerd von Egidy
3ece2ba643
Fix logging during shutdown procedure.
...
Refs #5788
2014-04-29 10:34:02 +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
17d277ff16
Implement the "order" attribute for command arguments.
...
Refs #5933
2014-04-29 10:33:09 +02:00