Commit Graph

1795 Commits

Author SHA1 Message Date
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
Gunnar Beutner 1742f3273e Check if flapping is enabled. 2013-08-29 14:13:18 +02:00
Gunnar Beutner f334385111 cluster: Fix duplicate acknowledgement comments. 2013-08-29 14:01:40 +02:00
Gunnar Beutner cef1a6856a Merge remote-tracking branch 'origin/master' 2013-08-29 13:49:28 +02:00
Gunnar Beutner 90d929595d Implement cluster events for acknowledgements. 2013-08-29 13:48:18 +02:00
Michael Friedrich 53a72fcaf1 Config Conversion: Fixes.
refs #2743
2013-08-29 13:14:59 +02:00
Gunnar Beutner 10e31dfa50 Build fix. 2013-08-29 13:09:26 +02:00
Gunnar Beutner 0a60128080 Implement cluster events for notifications/flapping. 2013-08-29 13:06:36 +02:00
Gunnar Beutner 24b7aed259 Implement cluster event for SetForceNextNotification. 2013-08-29 11:37:51 +02:00
Gunnar Beutner 911f64c411 Fix state file functionality. 2013-08-29 10:40:43 +02:00
Gunnar Beutner f134ed61bc Fix: ::Start must be called after restoring the state file.
Fixes #4654
2013-08-29 10:17:12 +02:00
Gunnar Beutner 8683a0834f Fix deadlock in Service::RemoveDowntime(). 2013-08-29 09:36:44 +02:00
Gunnar Beutner 1de88b0559 Fix the ASSERT() macro. 2013-08-29 09:04:33 +02:00
Gunnar Beutner e93808a468 Fix "make dist".
Fixes #4489
2013-08-29 08:38:09 +02:00
Gunnar Beutner 2e2012c913 Clean up Makefiles. 2013-08-29 08:21:07 +02:00
Gunnar Beutner 63d761bcb7 Remove duplicate sentence from the README file. 2013-08-29 07:37:34 +02:00
Pall Sigurdsson 6f513fd4f2 Update icinga2.spec
Added several "BuildRequires" that were needed to make the build process work.

Also added a "sh autogen.sh" to the %build section, otherwise there is no ./configure to execute.

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2013-08-28 18:24:12 +02:00
Michael Friedrich af86fa8ed9 Revert "make: mkembedconfig is required for 'dist'"
This reverts commit 1e637dbbd4.
2013-08-28 18:09:20 +02:00
Gunnar Beutner 3198444fa6 Fix a grammar mistake in --help. 2013-08-28 17:19:34 +02:00