14 Commits

Author SHA1 Message Date
Michael Friedrich
43793a1884 compatlog: fix boost algorithm include 2013-07-02 13:38:06 +02:00
Michael Friedrich
9334c1e346 notifications: refactor NotificationSent message
like flapping and downtimes behave now.

refs #4361
2013-07-01 17:56:21 +02:00
Michael Friedrich
bd6e5d11ac compatlog: use flapping threshold/current
fixes #4360
2013-07-01 14:49:04 +02:00
Michael Friedrich
4de7908b94 compatlog: add flapping messages
refs #4360
2013-07-01 14:44:56 +02:00
Michael Friedrich
b906b51d3b refactor downtime message handling (wip) 2013-07-01 11:28:49 +02:00
Michael Friedrich
cd48a4946a compatlog: fix checkcommand name
refs #4361
2013-07-01 10:03:00 +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
Michael Friedrich
147cd81328 add downtime message (started,stopped,cancelled) and compat logger
refs #3985
refs #2750
2013-06-28 13:40:01 +02:00
Michael Friedrich
7c0a71bc29 Compat: split cr output into (long_)output, log only output
status.dat requires output, and long_output seperated for proper
representation by guis and addons (they cannot be changed for
compatibility reasons, we must change).

logging an ALERT requires only the output (first line of the check
result output).

fixes #3882
fixes #4348
2013-06-26 18:23:59 +02:00
Gunnar Beutner
ea0052f208 Fix: Compat Log: abort on OwnLock()
Fixes #4332
2013-06-24 08:56:49 +02:00
Gunnar Beutner
70e96aa2f0 Refactor ScriptFunctions. 2013-03-25 19:47:02 +00:00
Gunnar Beutner
fd3e92ea0c Refactor AsyncTasks. 2013-03-25 17:36:15 +00:00
Gunnar Beutner
1f570ea9f7 Implement Icinga1.x-style compat log file rotation
Fixes #3874
2013-03-20 11:11:46 +01:00
Gunnar Beutner
a21cf21d52 Implement the CompatLog type. 2013-03-19 13:04:30 +01:00