Commit Graph

42 Commits

Author SHA1 Message Date
Michael Friedrich 6f7b231302 compatlog: refactor custom/acknowledgement notifications with author/commenttext
refs #4361
2013-07-01 11:17:58 +02:00
Michael Friedrich 3af0559b4a Compat: log notifications (wip)
- we need a way to figure out which last commend id (or, author and
  text) where set when type is CUSTOM or ACKNOWLEDGEMENT
- GetCheckCommandName was required too
- not sure if notifications.cpp is the correct location

refs #4361
refs #3985
refs #2750
2013-06-28 21:31:38 +02:00
Gunnar Beutner 463f4e4cf9 Implement notification_*_filter variables for Host/Service objects. 2013-06-26 10:19:00 +02:00
Gunnar Beutner d2b31f6a06 Implement notification conditions.
Fixes #2841
2013-06-26 09:08:50 +02:00
Gunnar Beutner 69fcd7fa40 Implement flapping detection. 2013-06-21 10:20:29 +02:00
Gunnar Beutner d042a181bd Refactor commands and implement event handlers.
Fixes #3877
Fixes #4001
2013-06-13 11:33:00 +02:00
Gunnar Beutner 8e754b085e Implement notification escalations. 2013-05-13 13:44:57 +02:00
Gunnar Beutner fbbcaeac31 Update documentation. 2013-04-24 14:15:08 +02:00
Gunnar Beutner 836c26da66 Bugfixes for the timeperiod feature. 2013-04-16 10:12:53 +02:00
Gunnar Beutner fd3e92ea0c Refactor AsyncTasks. 2013-03-25 17:36:15 +00:00
Gunnar Beutner 6d69d6c639 Refactor the macro resolver
Fixes #3884
2013-03-22 14:42:14 +01:00
Gunnar Beutner 97fee26289 Remove @threadsafety doc strings
Fixes #3889
2013-03-22 12:02:20 +01:00
Gunnar Beutner 99bd0f0189 Implement the 'notification_period' attribute. 2013-03-21 13:42:46 +01:00
Gunnar Beutner 8b53735cc9 Move the notification_interval option to the Notification class.
Fixes #3821
2013-03-20 10:08:27 +01:00
Gunnar Beutner 9d076c3c03 Refactor #includes (Part 3). 2013-03-17 20:19:29 +01:00
Gunnar Beutner 0bb0711d72 Refactor #includes (Part 2). 2013-03-16 21:18:53 +01:00
Gunnar Beutner 3073200b53 Cleaned up #includes (Part 1). 2013-03-15 18:21:29 +01:00
Gunnar Beutner 7c46bb4f7d Use 'explicit' for constructors. 2013-03-14 23:52:52 +01:00
Gunnar Beutner 442a2dbc7d Implement timeperiods. 2013-03-13 16:04:53 +01:00
Gunnar Beutner c7f9a78f4d Revert "Remove redundant check for valid task object."
This reverts commit 8337795ff7.
2013-03-08 14:56:23 +01:00
Gunnar Beutner 8337795ff7 Remove redundant check for valid task object. 2013-03-08 14:43:28 +01:00
Gunnar Beutner e2416b5b54 Check return values of SymGetLineFromAddr64 and SymFromAddr. 2013-03-07 16:00:10 +01:00
Gunnar Beutner 02be9010e7 Implemented LAST*STATE* macros. 2013-03-07 12:04:20 +01:00
Gunnar Beutner 659fcf8fa3 Fix cppcheck warnings. 2013-03-06 15:41:13 +01:00
Gunnar Beutner be95f3171d Even more code refactoring. 2013-03-04 15:52:42 +01:00
Gunnar Beutner 48485c5f26 More lock refactoring. Yay. 2013-03-02 09:07:47 +01:00
Gunnar Beutner 572a477da3 Refactored object locking code. 2013-03-01 12:07:52 +01:00
Gunnar Beutner 3a99842f90 Implement the PerfdataWriter class. 2013-02-28 11:45:47 +01:00
Gunnar Beutner ee4c8a5755 Fixed incorrect lock in Notification::BeginExecuteNotificationHelper(). 2013-02-28 10:26:53 +01:00
Gunnar Beutner e9d32eeada Implemented user groups. 2013-02-27 21:49:03 +01:00
Gunnar Beutner d666960fa0 Refactor the cache code... again. 2013-02-27 15:23:25 +01:00
Gunnar Beutner e9648f35bc Make the services/notifications caches thread safe.
Send notifications based on the notification_interval setting.
2013-02-27 12:44:51 +01:00
Gunnar Beutner 35c79a76c1 Make attribute lookups O(1). 2013-02-26 10:13:54 +01:00
Gunnar Beutner 0a0bb967a4 Make sure we don't block on write() while holding locks. 2013-02-24 12:47:24 +01:00
Gunnar Beutner 77affd3ad6 Implemented the User class. 2013-02-24 08:26:10 +01:00
Gunnar Beutner 2ef255b9f6 Fine-grained locks (WIP, Part 9). 2013-02-24 01:10:34 +01:00
Gunnar Beutner 997ca3a77a Fine-grained locks (WIP, Part 6). 2013-02-19 23:02:08 +01:00
Gunnar Beutner ecc95b3dc0 Fine-grained locks (WIP, Part 4). 2013-02-19 07:26:52 +01:00
Gunnar Beutner 1d807d91bc Implemented dictionary support for commands. 2013-02-13 20:08:09 +01:00
Gunnar Beutner 2501ff805a Remove Host::OnInitCompleted and clean up the classes' constructors.
Fixes #3678
2013-02-11 14:01:52 +01:00
Gunnar Beutner c44ad7b06b Implemented notification request messages, notifications dictionary for hosts/services and state-based notifications. 2013-02-09 15:20:10 +01:00
Gunnar Beutner 3e7376576e Implemented rudimentary notifications. 2013-02-09 11:42:22 +01:00