Michael Friedrich
bda7e9f362
Revert "DB IDO: Add check_source_object_id reference to endpoint objects."
...
There's not necessarily a 1:1 relation between the check source node
name and the endpoint name.
This reverts commit a26df23e3d
.
Refs #5810
Refs #5636
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2014-03-21 10:18:03 +01:00
Michael Friedrich
a26df23e3d
DB IDO: Add check_source_object_id reference to endpoint objects.
...
Refs #5810
Refs #5636
2014-03-20 18:03:47 +01:00
Michael Friedrich
b4f0148871
DB IDO: Add status/history references from local node to endpoint object.
...
Refs #5636
2014-03-20 18:03:47 +01:00
Michael Friedrich
dfd08ec6ea
DB IDO: Use node name for local status updates.
...
Refs #5636
2014-03-20 18:03:47 +01:00
Michael Friedrich
88dafa8eef
Revert "DB IDO: Add endpoint id to history tables, part 1."
...
This reverts commit 5e2308b065427e15f96dbdcbfe65e6dfded9575e.
2014-03-20 18:03:47 +01:00
Michael Friedrich
c1ed614201
Fix Windows build.
...
Refs #5636
2014-03-20 18:03:47 +01:00
Michael Friedrich
a29b50cad4
DB IDO: Add endpoint id to history tables, part 1.
2014-03-20 18:03:47 +01:00
Michael Friedrich
dbee02a23a
DB IDO: Set is_connected=1 on identity==node.
...
Refs #5636
2014-03-20 18:03:47 +01:00
Michael Friedrich
ea973e5c82
Move cluster endpoint/jsonrpc functionality into libremote.
...
Refs #5690
Refs #5636
2014-03-20 18:03:47 +01:00
Michael Friedrich
fc7d7cc9eb
DB IDO: Send endpoint authority for status updates.
...
Refs #5636
2014-03-20 18:03:47 +01:00
Michael Friedrich
097bb5ac97
DB IDO: Add endpoints/endpointstatus tables.
...
Refs #5636
2014-03-20 18:03:47 +01:00
Michael Friedrich
bf9c89f625
DB IDO/Livestatus: Fix global enabled status values.
...
Fixes #5808
2014-03-20 11:33:59 +01:00
Michael Friedrich
ce737ff2f3
Change copyright header (again).
...
Fixes #5424
2014-03-19 11:42:47 +01:00
Michael Friedrich
1279d27720
Fix enable_perfdata attribute in compat features.
...
Fixes #5693
2014-03-12 15:21:56 +01:00
Michael Friedrich
2f8b49f4ef
Add comment on clearing tables on reconnect.
...
Refs #5565
2014-03-09 18:20:45 +01:00
Michael Friedrich
4a077c9ceb
Update next check before processing any result triggering status updates.
...
Fixes #5733
2014-03-09 18:06:24 +01:00
Michael Friedrich
3885885aac
DB IDO: Drop obsolete icinga_node column.
...
Fixes #5730
2014-03-08 14:44:58 +01:00
Gunnar Beutner
ac3cbfe801
Clear servicedependencies table after reconnect.
...
Fixes #5714
2014-03-06 09:37:58 +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
4aeaf9a947
DB IDO: Add icinga_node to *history tables.
...
Refs #5470
2014-02-06 16:44:46 +01:00
Michael Friedrich
07615f14e8
DB IDO: Add check_source to statehistory table.
...
Refs #5470
2014-02-06 16:01:03 +01:00
Gunnar Beutner
ed2d4e627c
Fix builds on Debian wheezy.
...
Fixes #5596
2014-02-04 12:59:22 +01:00
Gunnar Beutner
856f01198d
Re-use IDs where possible.
...
Refs #5565
2014-02-04 09:37:56 +01:00
Gunnar Beutner
3a23f0110b
Move the ClearConfigTables function into the DbConnection class.
...
Refs #5565
2014-02-04 09:19:11 +01:00
Gunnar Beutner
5ae20eb31a
Fix duplicate object IDs for command objects.
...
Fixes #5584
2014-01-31 10:42:27 +01:00
Michael Friedrich
d31ca31e90
DB IDO: Implement notification object insert id cache.
...
Refs #5103
2014-01-29 17:38:02 +01:00
Michael Friedrich
a3097ff3c6
DB IDO: Fix the way notification_id is handled.
...
Fixes #5103
Fixes #5265
2014-01-28 17:53:40 +01:00
Michael Friedrich
f30eca5a73
DB IDO: Refactor notification signal handling.
...
Refs #5103
Fixes #5265
2014-01-28 15:53:12 +01:00
Michael Friedrich
f9c37524f1
DB IDO: Fix wrong timestamp in column expiration_time.
...
Fixes #5292
2014-01-23 17:42:33 +01:00
Michael Friedrich
fcec5c61a0
CompatUtility: Fix broken custom variable dump.
...
Fixes #5547
2014-01-21 16:13:27 +01:00
Johannes Meyer
cf81db562f
Fix that the service_object_id is not correctly set in the servicechecks table
...
fixes #5486
2014-01-16 16:12:29 +01:00
Johannes Meyer
5aca228950
Fix that "categories" is not a valid attribute for DbConnection objects
...
refs #5482
2014-01-16 12:25:46 +01:00
Johannes Meyer
518ab55418
Fix the config compiler's ignorance
...
fixes #5482
2014-01-16 10:17:25 +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
41d4ba169f
Embed constants into lib{base,icinga,db_ido}.
...
Fixes #5247
2013-12-17 14:24:29 +01:00
Michael Friedrich
66765311c3
Refactor CompatUtility::* for DB IDO, Livestatus, StatusData.
...
Fixes #5241
2013-12-13 09:38:22 +01:00
Michael Friedrich
085fca90ad
Fix missing comment_data column in downtime tables.
...
Fixes #5282
2013-12-09 13:30:13 +01:00
Gunnar Beutner
3d7c103035
Fix deadlock in ServiceDbConnect::Add{Comments,Downtimes}.
...
Fixes #5286
2013-12-09 13:22:50 +01:00
Gunnar Beutner
5e9ce84c17
Fix duplicate IDs in queries for comments/downtimes.
...
Fixes #5283
2013-12-09 12:22:54 +01:00
Gunnar Beutner
3b99dc1e84
Fix incorrect value for the triggered_by_id column.
...
Fixes #5279
2013-12-09 09:22:04 +01:00
Gunnar Beutner
41ded2858c
Implement scheduled downtimes.
...
Fixes #3584
2013-12-06 13:45:18 +01:00
Michael Friedrich
fa14b39719
DB IDO: Fix reconnect config/status inserts.
...
Fixes #5266
2013-12-05 12:12:57 +01:00
Gunnar Beutner
7482548966
Fix: display_name property doesn't work for hosts.
...
Fixes #5258
2013-12-04 12:07:57 +01:00
Gunnar Beutner
553bd3246b
Improve compatibility with -fvisibility=hidden.
...
Refs #5246
2013-12-02 11:07:41 +01:00
Gunnar Beutner
f05858d3ad
Avoid unnecessary copies when iterating over dictionaries.
...
Refs #5246
2013-12-02 11:07:38 +01:00
Gunnar Beutner
5daedd2dea
Remove unnecessary host config update.
...
Refs #5235
2013-11-28 10:37:22 +01:00
Gunnar Beutner
640136fbdb
Make object, type and variable names case-sensitive.
...
Fixes #5228
2013-11-27 12:29:42 +01:00
Gunnar Beutner
7a3a8de83c
Optimize IDO queries.
...
Refs #5124
2013-11-22 10:32:53 +01:00
Gunnar Beutner
b915494157
Avoid unnecessary updates for the is_active column.
...
Fixes #5124
2013-11-22 10:13:42 +01:00