Commit Graph

276 Commits

Author SHA1 Message Date
Michael Friedrich aa97c3c670 Add command namespace {check_,event_,notification_} to legacy interfaces.
Fixes #5927
2014-05-12 16:18:03 +02:00
Gunnar Beutner c7b5e4c31e Fix some compiler warnings.
Refs #5823
2014-05-11 06:04:43 +02:00
Michael Friedrich 1e26d04bd6 StatusDataWriter: Add 'is_reachable' {host,service}status attribute.
Refs #6094
2014-05-10 21:21:29 +02:00
Michael Friedrich cfa382f0dd StatusDataWriter: Fix dependency relations.
Fixes #6131
2014-05-06 16:10:33 +02:00
Michael Friedrich ddfccf3188 Add debug log entries for dependencies.
Refs #5872
2014-05-03 21:04:56 +02:00
Michael Friedrich 5aa578c4e4 Implement CompatUtility::GetCheckableCommandArgs() for DB IDO, Livestatus, StatusDataWriter.
Fixes #5926
2014-05-03 03:18:37 +02:00
Michael Friedrich adc684289a StatusDataWriter: Fix missing host dependencies.
Fixes #6102
2014-05-01 20:54:09 +02:00
Gunnar Beutner b119c3285b Change log level for some messages.
Fixes #6072
2014-04-29 11:01:28 +02:00
Michael Friedrich 2b70b282ad Add {Host,Service}Group attributes: notes, notes_url, action_url.
Fixes #6057
2014-04-24 14:48: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 c7659337b7 Use legacy attribute getters in interfaces.
Fixes #6041
2014-04-17 13:50:26 +02:00
Michael Friedrich 0dedd7cf19 Add global Enable{Host,Service}Checks. Update interfaces and external commands.
Fixes #6037
Fixes #5975
2014-04-17 11:29:47 +02:00
Michael Friedrich 3b2f931dcb Compat: Only dump host address{,6}, alias if set.
Fixes #6013
2014-04-14 21:50:52 +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 e560e1e00c Remove the HostUnreachable state.
Fixes #5944
2014-04-08 08:54:49 +02:00
Gunnar Beutner 5de03cac18 Fix crash in the CompatLogger class.
Fixes #5961
2014-04-07 21:19:24 +02:00
Michael Friedrich 34092f0a52 Fix legacy attributes by object type. 2014-04-05 17:13:05 +02:00
Michael Friedrich 19434dc73d StatusDataWriter: Dump command and application custom variables.
Refs #5855
2014-04-04 17:35:56 +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
Gunnar Beutner 54063f0b9f Rename __name and __type properties.
Refs #5870
2014-03-28 14:17:55 +01:00
Michael Friedrich 23c47dd430 Make host 'check' attribute available in legacy interfaces.
Fixes #5764
2014-03-21 17:57:24 +01:00
Michael Friedrich f6067d357d Set check source to node name as authority, if empty.
Fixes #5805
2014-03-20 10:32:52 +01:00
Michael Friedrich ce737ff2f3 Change copyright header (again).
Fixes #5424
2014-03-19 11:42:47 +01:00
Michael Friedrich cb85a5c696 Fix host, service sort order in StatusDataWriter.
Fixes #5775
2014-03-16 14:59:19 +01:00
Michael Friedrich 1279d27720 Fix enable_perfdata attribute in compat features.
Fixes #5693
2014-03-12 15:21:56 +01:00
Gunnar Beutner bfc5d2a4be Use fewer threads for plugin-based checks.
Fixes #5748
2014-03-12 10:25:06 +01:00
Gunnar Beutner 22d53cf3b5 Implement a new object type for service dependencies.
Fixes #2799
2014-03-05 09:57:29 +01:00
Michael Friedrich f890a7ae8c Refactor status/perfdata stats registry.
Fixes #5622
2014-02-20 15:25:58 +01:00
Michael Friedrich 84be5e3413 Implement StatsFunction Registry for features.
Refs #5622
2014-02-17 17:53:41 +01:00
Michael Friedrich 5f26bb9147 Add check source to external commands / check result reader.
Fixes #5615
2014-02-07 09:48:15 +01:00
Michael Friedrich 9dd904942a Compat: Fix notification type string.
Fixes #5420
2014-02-04 10:54:38 +01:00
Michael Friedrich f30eca5a73 DB IDO: Refactor notification signal handling.
Refs #5103
Fixes #5265
2014-01-28 15:53:12 +01:00
Johannes Meyer 7e235a53c5 Fix hostcheck state conversion of the statusdatawriter
fixes #5449
2014-01-15 14:50:58 +01:00
Michael Friedrich 6ac77d7f5c Compat: Do not dump empty strings into objects.cache.
Fixes #5450
2014-01-14 16:31:28 +01:00
Michael Friedrich a4466ba880 Fix formatting of execution_time, latency.
Fixes #5427
2014-01-10 00:38:16 +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
Gunnar Beutner 53c1434700 Fix compiler warnings in the CompatLogger class.
Refs #5349
2013-12-17 07:54:41 +01:00
Michael Friedrich f47f7fb8c5 Compat: Fix commands in objects.cache file.
Refs #5328
2013-12-13 17:36:31 +01:00
Michael Friedrich 47f814cc4d Improve StatusDataWriter performance.
Fixes #5328
2013-12-13 15:23:44 +01:00
Michael Friedrich 66765311c3 Refactor CompatUtility::* for DB IDO, Livestatus, StatusData.
Fixes #5241
2013-12-13 09:38:22 +01:00
Michael Friedrich 7e4da258fc Compat: Don't dump empty CV keys.
Fixes #5306
2013-12-11 17:18:01 +01:00
Gunnar Beutner 0b41af7639 Just write objects.cache file once.
Fixes #5270
2013-12-09 10:27:45 +01:00
Gunnar Beutner 203cf73bf7 Improve error messages for the check result reader.
Fixes #5275
2013-12-09 09:52:09 +01:00
Gunnar Beutner 02e0933e7c Make status.dat/objects.cache interval configurable.
Fixes #5262
2013-12-05 10:04:49 +01:00
Gunnar Beutner f05858d3ad Avoid unnecessary copies when iterating over dictionaries.
Refs #5246
2013-12-02 11:07:38 +01:00
Gunnar Beutner 91338a7e49 Remove redundant checks.
Fixes #5071
2013-11-21 12:23:55 +01:00