Commit Graph

443 Commits

Author SHA1 Message Date
Gunnar Beutner 9782a361bb Convert global attributes to script variables. 2013-10-08 12:37:21 +02:00
Gunnar Beutner 29adc21021 Use script variables for global options. 2013-10-08 12:22:16 +02:00
Gunnar Beutner 369d88b3c4 Implement global attributes. 2013-10-08 11:57:35 +02:00
Gunnar Beutner f449eb9e84 Implement Utility::Random(). 2013-10-03 22:10:46 +02:00
Michael Friedrich d79680c642 Add random state to NullCheckTask.
refs #4774
2013-10-03 20:33:32 +02:00
Michael Friedrich bfa8cf789b compat: Add more host attributes, refactor contacts getter. 2013-10-02 21:09:13 +02:00
Michael Friedrich 972a4f8b9a Change user attribute macros to $USER...$
but keep the $CONTACT...$ still supported for compatibility.

fixes #4792
2013-10-02 19:01:03 +02:00
Michael Friedrich 09cc7632e7 compatutility: Use User(Group) Ptr, not name.
refs #4735
2013-10-01 16:44:33 +02:00
Michael Friedrich b2f13c37e4 compatutility: Add contact(group) getters.
refs #4735
2013-10-01 15:39:00 +02:00
Gunnar Beutner 400fe5e13c Remove the uncheckable state. 2013-10-01 13:12:04 +02:00
Michael Friedrich 16de7f853b db_ido: Add eventhandlers.
refs #4768
2013-10-01 11:04:30 +02:00
Michael Friedrich c07857dea8 Fix compiler warning. 2013-10-01 10:24:29 +02:00
Michael Friedrich 1ab5639c9a compatutility: Add MapExternalCommandType() used in db_ido.
refs #4768
2013-09-30 20:25:53 +02:00
Michael Friedrich 2699eb3682 db_ido: Add externalcommands.
command_type mapping missing.

refs #4768
2013-09-30 19:32:32 +02:00
Michael Friedrich 30323f410f db_ido: Add {host,service}checks.
refs #4768
2013-09-30 18:39:13 +02:00
Michael Friedrich 86ef8aae8c compatutility: Fix check_type. 2013-09-30 16:52:57 +02:00
Michael Friedrich be5078c9aa Fix error message. 2013-09-27 23:13:25 +02:00
Gunnar Beutner 518f050544 Fix Notification::user_groups validator (rename from Notification::groups).
Fixes #4753
2013-09-27 14:58:32 +02:00
Michael Friedrich f1d2548fc0 External commands fail gracefully when given invalid host/service names.
Added process_check_result script for tests too.

fixes #4647
2013-09-27 13:05:44 +02:00
Gunnar Beutner 93cd1b811e Make check_source a check result attribute. 2013-09-27 07:34:08 +02:00
Michael Friedrich e954e38c5e db_ido: Add check_source. 2013-09-26 22:43:21 +02:00
Michael Friedrich e07183d481 Add check authority to service.
fixes #4762
2013-09-26 21:53:43 +02:00
Michael Friedrich 77abbc1556 db_ido: Add statehistory.
refs #4379
2013-09-25 18:01:08 +02:00
Michael Friedrich 0b4c554711 Fix unused parameter, missing initialization. 2013-09-25 11:31:35 +02:00
Gunnar Beutner 033b06e66a Remove unused parameter. 2013-09-25 11:21:20 +02:00
Gunnar Beutner a6fd88c8af config: Remove unused validator. 2013-09-25 09:24:44 +02:00
Gunnar Beutner 9c84213a1b Build fix. 2013-09-25 09:24:34 +02:00
Gunnar Beutner 881c47893a config: Rename Notification::groups to Notification::user_groups. 2013-09-25 09:23:12 +02:00
Gunnar Beutner b10db3bd7f config: Rename Service::servicegroups to Service::groups. 2013-09-25 09:21:17 +02:00
Gunnar Beutner 03c047f4a7 config: Rename host_name to host. 2013-09-25 09:19:25 +02:00
Gunnar Beutner 414d8c80bc config: Rename servicedependencies/hostdependencies. 2013-09-25 09:16:53 +02:00
Gunnar Beutner 0b265c18af config: Rename Host::hostgroups to Host::groups. 2013-09-25 09:15:30 +02:00
Gunnar Beutner e766b4534f config: Rename Host::hostcheck to Host::check. 2013-09-25 09:12:15 +02:00
Gunnar Beutner a401d871eb config: Don't clone host/service attributes. 2013-09-25 08:51:55 +02:00
Gunnar Beutner bf1a800e39 Update copyright information. 2013-09-25 07:45:56 +02:00
Michael Friedrich 91e0566de0 Fix crash on missing notification_command. 2013-09-24 18:58:51 +02:00
Michael Friedrich d4295cb3a4 notifications: Add OnNotificationSentToAllUsers signal. 2013-09-24 18:49:25 +02:00
Michael Friedrich 83a06b4378 compatutility: Refactor checkresult output, add notification type mapping. 2013-09-24 18:48:24 +02:00
Gunnar Beutner 2ca6ec42e2 config: Add missing "volatile" validator for the Service type. 2013-09-24 13:33:16 +02:00
Gunnar Beutner 826a56ba20 Update type validators. 2013-09-24 13:25:38 +02:00
Gunnar Beutner a7e25beb06 Improve config validation.
Fixes #4391
2013-09-24 13:13:14 +02:00
Gunnar Beutner 3c3101336a Comment out some of the less useful debug messages. 2013-09-21 09:00:40 +02:00
Gunnar Beutner 77a945157f Fix timeperiod update bug. 2013-09-19 00:01:18 +02:00
Gunnar Beutner afbfdb2579 Remove unnecessary check. 2013-09-18 10:30:20 +02:00
Gunnar Beutner e045ece3de Change log level for some messages. 2013-09-18 10:30:11 +02:00
Gunnar Beutner 282acd94ec Fix parameter type for Service::RemoveDowntime. 2013-09-18 10:06:31 +02:00
Michael Friedrich 46659e7551 Add missing DowntimesExpireTimer.
now the expired downtimes will get deleted every 60 seconds.

fixes #4711
2013-09-17 20:11:29 +02:00
Michael Friedrich bcc370b82c Add RemoveDowntime() cancelled parameter, check for expired/triggered downtimes.
refs #4652
refs #4710
2013-09-17 19:37:10 +02:00
Gunnar Beutner 31a55987e5 cluster: Implement domain support. 2013-09-17 13:18:40 +02:00
Gunnar Beutner b887b558bc Ignore check results if we have a local result that's newer. 2013-09-12 17:39:29 +02:00