Commit Graph

2113 Commits

Author SHA1 Message Date
Gunnar Beutner 4be2105584 cluster: Periodically clean up old log files. 2013-09-03 15:23:47 +02:00
Gunnar Beutner fe0fb171d0 Remove debug code. 2013-09-03 14:10:57 +02:00
Gunnar Beutner ba6be063b6 cluster: Compress log files. 2013-09-03 14:05:03 +02:00
Gunnar Beutner 9c00e560ab cluster: Send SetLogPosition messages for all message types. 2013-09-03 11:14:51 +02:00
Gunnar Beutner 1b31ced475 cluster: Fix crash bug. 2013-09-03 11:00:57 +02:00
Gunnar Beutner b97e69604d cluster: Prevent message loops when replaying logs. 2013-09-03 10:48:34 +02:00
Gunnar Beutner 8e381e0298 cluster: Make sure messages are processed in-order. 2013-09-03 10:42:19 +02:00
Gunnar Beutner 2b77aa06aa cluster: Handle non-numeric log file names. 2013-09-03 10:33:22 +02:00
Gunnar Beutner 8098329a33 cluster: Don't replay logs unless they're relevant. 2013-09-03 10:30:28 +02:00
Gunnar Beutner 235042bbac cluster: Bugfix for the log timestamps. 2013-09-03 10:12:07 +02:00
Gunnar Beutner b844ea1bcb cluster: Fix how replaying old messages works. 2013-09-03 10:08:02 +02:00
Gunnar Beutner 782ff8b13c jsonrpc: Disable debug output. 2013-09-02 15:51:56 +02:00
Gunnar Beutner 754dbfb8ef cluster: Implement persistent messages. 2013-09-02 15:12:20 +02:00
Gunnar Beutner c81a88057c Fix bug in the mutex gdb printer. 2013-09-02 15:12:04 +02:00
Gunnar Beutner c552d79774 Add more unit tests for the Value class. 2013-09-02 15:11:39 +02:00
Gunnar Beutner 2e81c28444 Add more unit tests. 2013-09-02 13:08:29 +02:00
Gunnar Beutner ec6326b55e Fix incorrect indentation. 2013-09-02 12:02:43 +02:00
Gunnar Beutner 092f941d12 Add more unit tests. 2013-09-02 11:10:04 +02:00
Gunnar Beutner 6ed052ce85 base: Don't throw exception for valid netstrings. 2013-09-02 11:09:29 +02:00
Gunnar Beutner d5650c90c9 Fix grammar mistake. 2013-09-02 10:53:01 +02:00
Gunnar Beutner 9f0d47f124 Implement more unit tests. 2013-09-02 10:52:39 +02:00
Gunnar Beutner 2db418118b Fix build warning. 2013-09-01 06:04:23 +02:00
Gunnar Beutner 86e2f3dd81 Windows build fix. 2013-09-01 06:01:27 +02:00
Michael Friedrich 14c2e99e4b Config Conversion: fix missing Command macros, avoid duplicates 2013-08-30 17:50:05 +02:00
Michael Friedrich 7f0a210ff9 Config Conversion: support $USERn$ and $ADMINx$ macros in Notification|EventCommand 2013-08-30 17:50:05 +02:00
Gunnar Beutner 6aa1682878 Fix HOSTSTATE macro. 2013-08-30 17:02:21 +02:00
Gunnar Beutner 6d89c5201a Build fix. 2013-08-30 16:53:14 +02:00
Gunnar Beutner 8df0525e3e Fix shell escaping in the macro processor. 2013-08-30 16:52:41 +02:00
Michael Friedrich 1a3ecb04fb Config Conversion: Add ADMINPAGER|EMAIL as macros from icinga.cfg
and fix multiple user macros too. and add NotificationFilterCustom by
default.

fixes #4662
2013-08-30 15:58:58 +02:00
Gunnar Beutner b4f5ff90b6 Fix 'force' parameter for notifications. 2013-08-30 15:56:03 +02:00
Gunnar Beutner ce44c9e249 Fix incorrect parameter for OnNotificationSentChanged event. 2013-08-30 15:36:13 +02:00
Gunnar Beutner b94f1603bb Implement CONTACTEMAIL and CONTACTPAGER macros. 2013-08-30 15:16:25 +02:00
Gunnar Beutner c194ad1ca3 Register service and notification objects. 2013-08-30 15:09:42 +02:00
Gunnar Beutner e8c61a578f Implement restarting Icinga. 2013-08-30 14:27:24 +02:00
Gunnar Beutner 59d979c61e config: Don't throw exception when file pattern doesn't match any files. 2013-08-30 14:02:47 +02:00
Gunnar Beutner 519ce78727 Implement script variables IcingaPrefixDir, IcingaLocalStateDir, IcingaPkgLibDir, IcingaPkgDataDir and IcingaStatePath. 2013-08-30 12:04:24 +02:00
Gunnar Beutner ecc583fba0 cluster: Fix deadlock when reconnecting. 2013-08-30 10:34:32 +02:00
Gunnar Beutner 7f52e04a01 Implement OS-specific support for thread names. 2013-08-30 10:19:32 +02:00
Gunnar Beutner f3638877eb cluster: Send heartbeats. 2013-08-30 09:34:58 +02:00
Gunnar Beutner 8729a809b3 compat: Fix attribute name for hosts. 2013-08-29 19:48:54 +02:00
Gunnar Beutner c9ec28440e Another bugfix for the event order. 2013-08-29 19:25:34 +02:00
Gunnar Beutner a3eed67774 Fix order for startup events. 2013-08-29 19:05:06 +02:00
Gunnar Beutner 91724814d8 Fix: State file doesn't work for generated service objects. 2013-08-29 16:53:57 +02:00
Gunnar Beutner fa9ab6c768 Build fix. 2013-08-29 16:09:11 +02:00
Gunnar Beutner 4800329410 Add log message to DynamicObject::RestoreObjects(). 2013-08-29 16:08:03 +02:00
Gunnar Beutner 52b645ed17 Increase minimum number of threads. 2013-08-29 15:49:11 +02:00
Michael Friedrich eff505e27f Config Conversion: Skip user macros for non-command objects. 2013-08-29 15:22:52 +02:00
Michael Friedrich 42b98d2c89 Config Conversion: Detect user macros properly. 2013-08-29 14:59:46 +02:00
Michael Friedrich ec40251c4e Configuration: Remove 'local' identifier. 2013-08-29 14:51:38 +02:00
Michael Friedrich de159b0133 Config Conversion: always add type NotificationFilterProblem. 2013-08-29 14:51:38 +02:00