Jean Flach
a21ffd6fe4
Fix flapping
...
Re-implement flapping following the 'old way' of just observing the last
20 stage changes.
refs #4982
2017-10-24 15:54:05 +02:00
Michael Friedrich
b7caf0820d
Ensure that *.icinga.com is used everywhere
...
fixes #13897
fixes #13277
2017-01-10 17:19:12 +01:00
Gunnar Beutner
288413f046
Replace BOOST_FOREACH with range-based for loops
...
fixes #12538
2016-08-25 06:46:17 +02:00
Gunnar Beutner
ebaf239d3b
Replace GetType()->GetName() calls with GetReflectionType()->GetName()
...
fixes #12438
2016-08-15 14:42:03 +02:00
Gunnar Beutner
fda032c0c4
Fix incorrect return values for some of the CompatUtility methods
...
fixes #12425
2016-08-14 17:06:50 +02:00
Michael Friedrich
14fdb794e2
Allow strings in state and type filters (config, API)
...
fixes #11445
2016-06-23 14:52:45 +02:00
Gunnar Beutner
599929b0f6
Update copyright headers for 2016
2016-01-12 08:29:59 +01:00
Michael Friedrich
1813c0932c
Remove dead code from old modified attributes
...
refs #9851
2015-09-29 14:24:39 +02:00
Michael Friedrich
50cd694142
Fix wrong calculation for host compat state UNREACHABLE
...
fixes #10058
2015-09-04 13:24:41 +02:00
Gunnar Beutner
071d2f18fb
Rename DynamicObject/DynamicType to ConfigObject/ConfigType
...
fixes #9914
2015-08-15 20:40:41 +02:00
Markus Frosch
47c8b5e347
Fix multi line handling for compat check results
...
When a multi line result is submitted via the command pipe, any multi line
output is escaped to a actual string '\n', because any external command only
can be a single line.
Example:
[1432735140] PROCESS_SERVICE_CHECK_RESULT;host;service;3;Test1\nTest2|test=1
We need to unescape this values, just like we use to escape multi line output
for IDO and status.dat.
fixes #9324
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-06-15 17:19:28 +02:00
Michael Friedrich
baa8fb424f
Fix missing custom attributes in backends if name is equal to object attribute
...
fixes #9222
2015-05-15 15:59:44 +02:00
Michael Friedrich
9302a6d03c
StatusDataWriter: Fix wrong host notification filters
...
fixes #8387
refs #8192
2015-02-07 22:46:34 +01:00
Michael Friedrich
78bfd0204c
Update copyright year
2015-01-22 12:00:23 +01:00
Michael Friedrich
a0359799bd
Compat: Fix event_handler_enabled dump based on enable_event_handler attribute
...
fixes #8105
2014-12-18 11:22:15 +01:00
Gunnar Beutner
478f03b49a
Replace boost::shared_ptr with boost::intrusive_ptr
...
refs #7622
2014-11-09 16:54:41 +01:00
Gunnar Beutner
60114d4b5d
Fix crash in CompatUtility::GetCheckableCommandArgs
...
refs #7599
2014-11-07 09:26:44 +01:00
Michael Friedrich
eeb6facdac
Livestatus: Add 'cv_is_json' and encode CV arrays/dicts as json
...
refs #7560
2014-11-04 17:39:28 +01:00
Gunnar Beutner
8fdb2835e5
Fix code style
2014-10-28 18:04:51 +01:00
Gunnar Beutner
d84a3306d5
Make CompatUtility::GetCheckablePercentStateChange return a floating-point number
2014-09-08 09:58:53 +02:00
Gunnar Beutner
65bec9e904
Clean up some parts of the code
2014-08-17 17:57:41 +02:00
Gunnar Beutner
632026cd9f
Rename C++ header files.
...
Fixes #6291
2014-05-25 16:27:14 +02:00
Michael Friedrich
601e10cb46
Use CustomVarObject instead of DynamicObject for all libicinga objects.
...
Fixes #6187
2014-05-19 17:57:58 +02:00
Michael Friedrich
aa97c3c670
Add command namespace {check_,event_,notification_} to legacy interfaces.
...
Fixes #5927
2014-05-12 16:18:03 +02:00
Gunnar Beutner
9c3e399188
Remove unnecessary includes.
...
Fixes #6189
2014-05-11 18:11:32 +02:00
Michael Friedrich
f5e568d3fb
DB IDO: Add 'is_reachable' column to {host,service}status tables.
...
Refs #6094
2014-05-10 21:03:47 +02:00
Michael Friedrich
4f44ef13f1
Fix string conversion in CompatUtility::GetCheckableCommandArgs().
...
Refs #5926
2014-05-04 16:49:24 +02:00
Michael Friedrich
5aa578c4e4
Implement CompatUtility::GetCheckableCommandArgs() for DB IDO, Livestatus, StatusDataWriter.
...
Fixes #5926
2014-05-03 03:18:37 +02:00
Gunnar Beutner
d500097e4b
Fix support for StatsOr and StatsAnd.
...
Fixes #6062
2014-04-27 15:16:57 +02:00
Michael Friedrich
c8b3fde2ef
Drop unused statusmap_image & coords attributes entirely.
...
Fixes #6044
2014-04-22 13:48:06 +02:00
Michael Friedrich
fe1a83ff34
Revert "Add statusmap_image and coords host attributes."
...
This reverts commit 252980a6bd
.
Refs #6044
2014-04-22 12:09:24 +02:00
Michael Friedrich
252980a6bd
Add statusmap_image and coords host attributes.
...
They are as important as action_url, etc.
coords is made a dictionary consisting of x_2d and y_2d as keys.
Fixes #6044
2014-04-17 16:48:59 +02:00
Michael Friedrich
5b359ea518
Add CompatUtility::GetModifiedAttributesList() for Livestatus.
...
Fixes #6042
2014-04-17 16:01:44 +02:00
Gunnar Beutner
606834e190
Rename the notification attributes.
...
Fixes #5906
2014-04-09 10:25:23 +02:00
Gunnar Beutner
80778bad1d
Update components to use the new address fields.
...
Refs #5856
2014-04-08 13:34:48 +02:00
Gunnar Beutner
1c115297f9
Rename the service state constants.
...
Fixes #5964
2014-04-08 09:11:54 +02:00
Michael Friedrich
34092f0a52
Fix legacy attributes by object type.
2014-04-05 17:13:05 +02:00
Michael Friedrich
17b87c9b2a
Add CompatUtility::IsLegacyAttribute().
...
Refs #5855
2014-04-04 16:35:45 +02:00
Gunnar Beutner
23e9630682
Implement host checks.
...
Refs #5919
2014-04-04 15:57:54 +02:00
Michael Friedrich
5c58eb368c
Merge 'macros' and 'custom' attributes into 'vars', part 1.
...
Refs #5855
2014-04-03 11:35:25 +02:00
Michael Friedrich
a05c31cda2
CompatUtility: Fix host 2d_coords.
...
Fixes #5917
2014-04-02 14:43:40 +02:00
Michael Friedrich
ce737ff2f3
Change copyright header (again).
...
Fixes #5424
2014-03-19 11:42:47 +01:00
Michael Friedrich
fcec5c61a0
CompatUtility: Fix broken custom variable dump.
...
Fixes #5547
2014-01-21 16:13:27 +01:00
Michael Friedrich
555d72150a
Update copyright header.
...
Fixes #5424
2014-01-09 00:32:11 +01:00
Gunnar Beutner
ad563cf5d2
Use CompatUtility::GetCommandLine in StatusDataWriter::DumpCommand.
...
Fixes #5353
2013-12-17 10:20:28 +01:00
Johannes Meyer
1bec9692c6
Fix address and address6 being empty in objects.cache
...
fixes #5352
2013-12-17 09:50:19 +01:00
Gunnar Beutner
dac4ac02a9
Fix compiler warning in CompatUtility::GetServiceNotificationNotificationOptions.
...
Refs #5349
2013-12-17 07:52:35 +01:00
Michael Friedrich
2ae988f457
Windows build fix.
2013-12-13 17:09:47 +01:00
Michael Friedrich
66765311c3
Refactor CompatUtility::* for DB IDO, Livestatus, StatusData.
...
Fixes #5241
2013-12-13 09:38:22 +01:00
Gunnar Beutner
f05858d3ad
Avoid unnecessary copies when iterating over dictionaries.
...
Refs #5246
2013-12-02 11:07:38 +01:00