Michael Friedrich
f42f4fbdb2
compat: add last_time_* for status.dat
2013-07-18 18:28:43 +02:00
Michael Friedrich
b4dd18481b
compat: add current_notification_number
2013-07-18 17:23:48 +02:00
Michael Friedrich
917f7d363b
compat: add next_notification to status.dat
2013-07-16 16:51:02 +02:00
Gunnar Beutner
ed28ae1b3f
compat: Make sure host is not null.
2013-07-16 10:18:03 +02:00
Michael Friedrich
36e9e9adbd
custom attr: move into DynamicObject using GetCustom()
2013-07-12 15:13:05 +02:00
Gunnar Beutner
1179d37fa0
compat: Refactor check_command/event_handler code.
2013-07-02 10:24:27 +02:00
Gunnar Beutner
bf58700c10
compat: Make sure commands have unique names.
2013-07-02 09:35:03 +02:00
Gunnar Beutner
049fbcb3cb
compat: Escape new-lines in commands.
2013-07-02 09:16:06 +02:00
Gunnar Beutner
eb95e9a718
Make sure the CGIs don't croak on our objects.cache file.
2013-07-02 08:52:47 +02:00
Gunnar Beutner
03e019580a
Implement dumping commands and timeperiods.
2013-07-02 08:44:03 +02:00
Michael Friedrich
207b91224b
compat: dump commands to objects.cache
...
service->notifications may create duplicates.
2013-07-01 20:12:03 +02:00
Michael Friedrich
91e36eb90d
compat: add more missing attributes
2013-07-01 19:04:08 +02:00
Michael Friedrich
ce9c390ed9
flapping: fix division by 0, add compat status, extcmds
...
and some debug output.
refs #4360
refs #2711
2013-07-01 17:25:30 +02:00
Gunnar Beutner
e2714525c9
Remove the built-in attributes notes_url and action_url.
2013-07-01 13:55:25 +02:00
Gunnar Beutner
4766e801a2
objects.cache: Add support for the "notes" attribute.
2013-07-01 13:51:00 +02:00
Gunnar Beutner
23c87f6eaf
Implement support for custom variables.
...
Fixes #4344
2013-07-01 13:46:50 +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
fe35791b1b
status.dat: Escape new-lines in multi-line plugin output
...
Fixes #3671
2013-06-24 11:35:56 +02:00
Gunnar Beutner
6f158ff793
Implement external commands for flapping detection.
2013-06-21 10:28:21 +02:00
Gunnar Beutner
1f570ea9f7
Implement Icinga1.x-style compat log file rotation
...
Fixes #3874
2013-03-20 11:11: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
a21cf21d52
Implement the CompatLog type.
2013-03-19 13:04:30 +01:00
Gunnar Beutner
2a8bc3ca0f
Refactor #includes (Part 5).
2013-03-18 17:39:40 +01:00
Gunnar Beutner
c3975af6ec
Refactor #includes (Part 4).
2013-03-18 11:02:18 +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
3c363499bb
Eliminate the Component class.
...
Fixes #3832
Fixes #3840
2013-03-12 13:45:54 +01:00
Gunnar Beutner
d8edd98e41
Add more information to exceptions.
2013-03-11 13:47:17 +01:00
Gunnar Beutner
5d0fa0f6c9
Removed dummy timeperiod definition.
2013-03-09 00:01:04 +01:00
Gunnar Beutner
d7a995e752
status.dat/objects.cache: check_interval/retry_interval should be in minutes.
2013-03-09 00:00:43 +01:00
Gunnar Beutner
f771ede8f1
Fixed deadlock.
2013-03-09 00:00:10 +01:00
Gunnar Beutner
cada2abeb3
Implement automated stacktraces for exceptions.
2013-03-07 19:44:39 +01:00
Gunnar Beutner
e2416b5b54
Check return values of SymGetLineFromAddr64 and SymFromAddr.
2013-03-07 16:00:10 +01:00
Gunnar Beutner
5a166f83d7
Move pidfile and command pipe to /var/run/icinga2 rather than /var/run
...
Fixes #3670
2013-03-07 12:23:43 +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
5228d7f10b
Implemented compat support for users and user groups.
2013-02-28 10:50:20 +01:00
Gunnar Beutner
975c527b07
Bugfix: Output dummy check data for hosts that don't have a hostcheck.
2013-02-28 10:26:01 +01:00
Gunnar Beutner
e9d32eeada
Implemented user groups.
2013-02-27 21:49:03 +01:00
Gunnar Beutner
e98fd3e3eb
Bug fixes for the new cache code.
2013-02-27 16:04:49 +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
163f0a9f5c
Implemented support for disabling notifications.
2013-02-26 12:37:25 +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
2ef255b9f6
Fine-grained locks (WIP, Part 9).
2013-02-24 01:10:34 +01:00
Gunnar Beutner
404b1807e6
Removed PCH support (as it's clearly not working properly).
2013-02-22 08:12:43 +01:00
Gunnar Beutner
5e91f6c54d
Fine-grained locks (WIP, Part 7).
2013-02-20 19:52:25 +01:00