Gunnar Beutner
24035ab390
Use AF_UNSPEC for Bind() calls.
...
Fixes #6375
2014-06-01 08:51:06 +02:00
Michael Friedrich
4c8d7eea14
Rename livestatus classes.
...
Refs #6346
2014-05-28 14:42:00 +02:00
Michael Friedrich
0f9d76d40b
Change log message identifier for components/*.
...
Refs #6346
2014-05-28 14:42:00 +02:00
Gunnar Beutner
e7c09dac97
Remove icinga::ErrorInformation.
...
Fixes #6333
2014-05-27 15:51:38 +02:00
Michael Friedrich
e070db65c8
Fix check statistics are mixing host/service checks.
...
Fixes #6313
2014-05-26 20:56:59 +02:00
Gunnar Beutner
632026cd9f
Rename C++ header files.
...
Fixes #6291
2014-05-25 16:27:14 +02:00
Michael Friedrich
1df7518b35
Move more log messages to 'notice' severity.
...
Refs #6070
2014-05-22 23:47:03 +02:00
Michael Friedrich
4296ec3987
Change the most chatting log messages to 'notice' severity.
...
Refs #6070
2014-05-22 16:07:57 +02:00
Michael Friedrich
0713918c5e
Extract exception error info message.
...
Refs #6070
2014-05-22 16:07:57 +02:00
Gunnar Beutner
fceeeba05e
Fix compiler warnings.
...
Fixes #5823
2014-05-22 10:28:21 +02:00
Michael Friedrich
d0bc351f82
Fix PerfdataWriter config validation.
...
Fixes #6255
2014-05-21 18:16:25 +02:00
Michael Friedrich
6c0b8db4bf
Move 'GraphiteWriter already connected' to debug log.
...
Refs #6070
2014-05-19 22:54:17 +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
Gunnar Beutner
c7b5e4c31e
Fix some compiler warnings.
...
Refs #5823
2014-05-11 06:04:43 +02:00
Michael Friedrich
7a4fa25a49
Livestatus: Add 'check_source' to hosts table.
...
Fixes #6185
2014-05-10 21:57:01 +02:00
Michael Friedrich
d98d0e9c53
DB IDO: Bump schema version to 1.11.3.
...
Refs #6094
2014-05-10 21:27:56 +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
f5e568d3fb
DB IDO: Add 'is_reachable' column to {host,service}status tables.
...
Refs #6094
2014-05-10 21:03:47 +02:00
Michael Friedrich
97d51c4269
Livestatus: Add 'is_reachable' to hosts/services table.
...
Refs #6094
2014-05-10 20:37:09 +02:00
Gunnar Beutner
b367187c0b
Implement HA for IDO connections.
...
Refs #6107
2014-05-09 13:02:30 +02:00
Gunnar Beutner
4c022199f4
Reimplement load-balancing for checks.
...
Refs #6107
2014-05-09 11:45:21 +02:00
Gunnar Beutner
45270f1bb8
Refactor the agent and cluster components.
...
Refs #6107
2014-05-08 09:13:04 +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
e295d76483
Checker: Fix exception on disabled host checks.
...
Fixes #6103
2014-05-01 21:57:58 +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
Gunnar Beutner
d500097e4b
Fix support for StatsOr and StatsAnd.
...
Fixes #6062
2014-04-27 15:16:57 +02:00
Gunnar Beutner
ba20797e76
Turn off column headers for Stats queries.
...
Fixes #6061
2014-04-27 12:07:19 +02:00
Gunnar Beutner
d617c7b1f6
Implement support for optional command arguments.
...
Fixes #5933
2014-04-26 15:03:38 +02:00
Gunnar Beutner
e6fb8caace
Implement loop detection for cluster links.
...
Refs #5467
2014-04-25 15:07:13 +02:00
Gunnar Beutner
83fd836c7b
Fix incorrect type for notification timestamps.
...
Refs #5467
2014-04-25 15:07:13 +02:00
Gunnar Beutner
737441f201
Fix deadlock in TlsStream::{Read,Write}.
...
Refs #5467
2014-04-25 15:07:13 +02:00
Gunnar Beutner
24bfc6d084
Clean up ClusterListener::Supports{Checks,Notifications}.
...
Refs #5467
2014-04-25 15:07:13 +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
Gunnar Beutner
951c61ed16
Use fewer threads by default.
...
Refs #6053
2014-04-22 20:53:46 +02:00
Gunnar Beutner
63f22b055b
Properly deal with exceptions in CheckerComponent::ExecuteCheckHelper.
...
Refs #4865
2014-04-22 19:03:01 +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
Michael Friedrich
72f7537fa6
Add modified attributes for user and command vars.
...
Fixes #6043
2014-04-17 15:20:28 +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
Gunnar Beutner
ed057de512
Add missing ::Stop calls.
...
Refs #4865
2014-04-16 15:01:31 +02:00
Gunnar Beutner
76fa54ea70
Fix failed agent checks after restarts.
...
Refs #4865
2014-04-15 15:56:53 +02:00
Michael Friedrich
e32de02dea
Fix copyright.
2014-04-15 15:04:33 +02:00
Gunnar Beutner
060a802d15
Implement support for hosts in the agent component.
...
Refs #4865
2014-04-15 13:38:01 +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
c4893ad1a0
Fix db_ido queries.
...
Fixes #6007
2014-04-13 20:22:25 +02:00
Gunnar Beutner
e92ef19340
Fix auto-discovery info files.
...
Refs #6002
2014-04-13 12:41:34 +02:00
Gunnar Beutner
ca4fe71d69
Implement support for auto-discovering services for passive agents.
...
Fixes #6002
2014-04-13 09:22:27 +02:00
Gunnar Beutner
71e6eae23f
Fix race condition in AgentListener::NewClientHandler.
...
Refs #4865
2014-04-12 13:09:25 +02:00
Gunnar Beutner
899b9da5b4
Update ITL commands.
...
Refs #4865
2014-04-12 08:18:51 +02:00
Gunnar Beutner
06fdaeb2b2
Fix file descriptors not getting closed properly
...
Refs #4865
2014-04-12 08:16:57 +02:00
Gunnar Beutner
2961364e97
Implement support for agent-based checks.
...
Refs #4865
2014-04-12 04:21:09 +02:00
Gunnar Beutner
eba60b625f
Fix the cluster component.
...
Fixes #5950
2014-04-10 10:58:08 +02:00
Gunnar Beutner
103d95d0df
Fix notification timer for notifications with interval <= 0.
...
Fixes #5785
2014-04-09 15:51:10 +02:00
Gunnar Beutner
a16ef350e2
Avoid unnecessary copies for DynamicType::GetObjects.
...
Fixes #5987
2014-04-09 12:22:23 +02:00
Gunnar Beutner
606834e190
Rename the notification attributes.
...
Fixes #5906
2014-04-09 10:25:23 +02:00
Gunnar Beutner
5619498762
Fix re-notification interval.
...
Refs #5909
2014-04-09 01:11:01 +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
0fdb9ea21b
Implement attributes for some well-known macros and allow macro recursion.
...
Refs #5856
Fixes #5959
2014-04-08 13:23:24 +02:00
Gunnar Beutner
1c115297f9
Rename the service state constants.
...
Fixes #5964
2014-04-08 09:11:54 +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
Gunnar Beutner
af5990a4f4
Rename variables.
...
Refs #5909
2014-04-05 19:03:18 +02:00
Michael Friedrich
34092f0a52
Fix legacy attributes by object type.
2014-04-05 17:13:05 +02:00
Michael Friedrich
f13e7b5fa0
Update documentation for custom attribute runtime macros.
...
Refs #5855
2014-04-04 21:52:33 +02:00
Michael Friedrich
e375f15e5b
Implement global runtime macros as $icinga.<name>$.
...
Refs #5855
2014-04-04 19:35:47 +02:00
Michael Friedrich
31d54b2760
Livestatus: Add application variables to status table.
...
Refs #5855
2014-04-04 17:45:59 +02:00
Michael Friedrich
19434dc73d
StatusDataWriter: Dump command and application custom variables.
...
Refs #5855
2014-04-04 17:35:56 +02:00
Michael Friedrich
5030bab4f3
Livestatus: Add command custom variables.
...
Refs #5855
2014-04-04 17:32:23 +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
9344399f44
Remove TODO comment.
...
Refs #5908
2014-04-02 14:16:47 +02:00
Michael Friedrich
3fe169cd7a
Graphite/PerfdataWriter: Add host perfdata.
...
Fixes #5908
2014-04-02 14:13:24 +02:00
Michael Friedrich
2a90817c66
Cluster: Store config with default '.conf' suffix.
...
Refs #5860
2014-03-30 21:49:21 +02:00
Michael Friedrich
1eab42eadd
Fix ClusterListener 'peers' attribute validation.
...
Refs #5870
2014-03-30 18:36:28 +02:00
Gunnar Beutner
54063f0b9f
Rename __name and __type properties.
...
Refs #5870
2014-03-28 14:17:55 +01:00
Gunnar Beutner
a3367938d7
Fix the PostgreSQL schema.
...
Fixes #5849
2014-03-24 12:42:32 +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
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
662e6dd547
Livestatus: Add check_source to services table.
...
Refs #5636
Refs #5812
2014-03-20 19:15:19 +01:00
Michael Friedrich
098dbe7506
Livestatus: Add endpoints table.
...
Refs #5636
Refs #5811
2014-03-20 18:53:08 +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
6899d967d7
DB IDO: Additional endpoint object id tables.
...
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
0264e52211
DB IDO: Clean schema.
...
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
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
Gunnar Beutner
4d6088bee1
Stop checks during shutdown.
...
Fixes #5784
2014-03-17 09:04:19 +01:00
Michael Friedrich
cb85a5c696
Fix host, service sort order in StatusDataWriter.
...
Fixes #5775
2014-03-16 14:59:19 +01:00