Commit Graph

672 Commits

Author SHA1 Message Date
Gunnar Beutner 21999fe51e Refactor the livestatus library. 2013-09-25 09:33:59 +02:00
Gunnar Beutner e766b4534f config: Rename Host::hostcheck to Host::check. 2013-09-25 09:12:15 +02:00
Gunnar Beutner 28a6db4e81 cluster: Don't allow wildcards in endpoint names. 2013-09-25 08:52:57 +02:00
Gunnar Beutner 83ca372fa8 config: Update validators. 2013-09-25 08:52:44 +02:00
Gunnar Beutner bf1a800e39 Update copyright information. 2013-09-25 07:45:56 +02:00
Gunnar Beutner d40fc8d3ff Refactor CompatComponent class. 2013-09-25 07:45:55 +02:00
Michael Friedrich d4295cb3a4 notifications: Add OnNotificationSentToAllUsers signal. 2013-09-24 18:49:25 +02:00
Gunnar Beutner a7e25beb06 Improve config validation.
Fixes #4391
2013-09-24 13:13:14 +02:00
Gunnar Beutner d88d2a258a Fix status.dat indentation. 2013-09-24 09:59:04 +02:00
Gunnar Beutner 3c3101336a Comment out some of the less useful debug messages. 2013-09-21 09:00:40 +02:00
Gunnar Beutner c519deb257 Change log level for some messages. 2013-09-19 15:14:32 +02:00
Gunnar Beutner 6a1ce0d9b9 cluster: Fix log replay. 2013-09-19 15:08:34 +02:00
Gunnar Beutner a122baf9ba cluster: Make debug messages more useful. 2013-09-19 14:26:57 +02:00
Gunnar Beutner f176d8f28b Fix uninitialized variable. 2013-09-18 10:43:23 +02:00
Gunnar Beutner c12b4b2e0b Remove unused variables. 2013-09-18 10:08:28 +02:00
Gunnar Beutner 411f23f9e7 cluster: Refactor method names. 2013-09-18 09:16:29 +02:00
Gunnar Beutner e7da4057f9 Implement support for work queues. 2013-09-18 09:09:16 +02:00
Michael Friedrich 9a21af719d CompatLog: Fix downtimes.
fixes #4652
2013-09-17 19:40:23 +02:00
Michael Friedrich bcc370b82c Add RemoveDowntime() cancelled parameter, check for expired/triggered downtimes.
refs #4652
refs #4710
2013-09-17 19:37:10 +02:00
Gunnar Beutner 64cc137709 cluster: Fix default privileges. 2013-09-17 15:57:11 +02:00
Gunnar Beutner 48ec2dfd08 cluster: Log ignored messages. 2013-09-17 14:58:52 +02:00
Gunnar Beutner 74579fba59 Update log level for a debug message. 2013-09-17 14:39:43 +02:00
Gunnar Beutner 2c17affa4a Remove debug code 2013-09-17 14:38:27 +02:00
Gunnar Beutner 20ac2825e9 cluster: Fix deadlock. 2013-09-17 14:32:37 +02:00
Gunnar Beutner fa52d0ab58 Enable cluster debugging. 2013-09-17 14:21:45 +02:00
Gunnar Beutner 3ed7219fb2 cluster: Implement domain ACL checks. 2013-09-17 13:24:08 +02:00
Gunnar Beutner 31a55987e5 cluster: Implement domain support. 2013-09-17 13:18:40 +02:00
Gunnar Beutner 2739d5e0cd cluster: Remove old logs before reconnecting. 2013-09-16 14:01:24 +02:00
Gunnar Beutner 0188c426fe Change log level for a debug message. 2013-09-16 12:27:25 +02:00
Gunnar Beutner e391fc0858 Fix: Cluster log files were not properly removed when an instance has no peers. 2013-09-16 11:08:13 +02:00
Gunnar Beutner 5495b0279e Add debug message. 2013-09-16 11:06:21 +02:00
Gunnar Beutner e383a3cc3e cluster: Re-open logfile after log replay. 2013-09-16 10:06:09 +02:00
Gunnar Beutner 235efa107b cluster: Yet another fix. 2013-09-16 10:00:06 +02:00
Gunnar Beutner 790ccc1079 cluster: Another log replay fix. 2013-09-16 09:57:30 +02:00
Gunnar Beutner 644716fb1f cluster: Don't replay log messages twice. 2013-09-16 09:49:28 +02:00
Gunnar Beutner e1b8e1180c cluster: Make log replays non-blocking. 2013-09-16 09:30:31 +02:00
Gunnar Beutner 8c7d50eef3 cluster: Make the feature checks more robust. 2013-09-13 09:58:39 +02:00
Gunnar Beutner 68ec21f13f cluster: Another fix for authority checks. 2013-09-13 07:50:23 +02:00
Gunnar Beutner 2b9568fbd5 cluster: Fix cleaning up old log files. 2013-09-12 18:08:06 +02:00
Gunnar Beutner cbc53db5c1 checker: Fix incorrect wait time when first service is non-authoritative. 2013-09-12 16:36:18 +02:00
Gunnar Beutner 6698d09a72 cluster: More delegation bugfixes. 2013-09-12 15:38:01 +02:00
Gunnar Beutner 7bc99d3860 checker: Fix waiting for non-authoritative checks. 2013-09-12 15:31:07 +02:00
Gunnar Beutner 5cdf08c371 Fix crash in ClusterComponent::CheckAuthorityHandler. 2013-09-12 15:22:21 +02:00
Gunnar Beutner 91aad7c997 checker: Make sure non-authoritative cluster instances don't reschedule checks. 2013-09-12 15:20:01 +02:00
Gunnar Beutner b510545d4d Fix delegation bug. 2013-09-12 15:12:19 +02:00
Gunnar Beutner 4e54a96880 Add missing lock. 2013-09-12 15:07:37 +02:00
Gunnar Beutner e26e018df8 ido: Set m_Connected to false in Stop(). 2013-09-12 11:37:58 +02:00
Gunnar Beutner 5ce38cbee6 cluster: Update endpoints' features for heartbeat messages. 2013-09-12 10:22:03 +02:00
Gunnar Beutner 3b1b9d1274 Refactor authority checks a bit. 2013-09-12 10:17:14 +02:00
Gunnar Beutner 95909d82fe cluster: Implement authority checks. 2013-09-12 10:04:04 +02:00