[icinga-checkins] icinga.org: icinga-api/cdoebler/default: * changed host and service boolean states from config to to current ( oracle)

git at icinga.org git at icinga.org
Tue Jan 12 15:53:21 CET 2010


Module: icinga-api
Branch: cdoebler/default
Commit: 49835b277468ae95221bcf06be2add1408099e99
URL:    https://git.icinga.org/?p=icinga-api.git;a=commit;h=49835b277468ae95221bcf06be2add1408099e99

Author: Christian Doebler <christian.doebler at netways.de>
Date:   Tue Jan 12 15:53:01 2010 +0100

* changed host and service boolean states from config to to current (oracle)

---

 .../data_interfaces/IcingaApiSearchIdoOci.php      |   30 ++++++++++----------
 1 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/objects/search/data_interfaces/IcingaApiSearchIdoOci.php b/objects/search/data_interfaces/IcingaApiSearchIdoOci.php
index 132daf4..ae2ecb5 100644
--- a/objects/search/data_interfaces/IcingaApiSearchIdoOci.php
+++ b/objects/search/data_interfaces/IcingaApiSearchIdoOci.php
@@ -386,16 +386,16 @@ class IcingaApiSearchIdoOci
 		'HOST_ADDRESS' => array('h', 'address'),
 		'HOST_ACTIVE_CHECKS_ENABLED' => array('h', 'active_checks_enabled'),
 		'HOST_CONFIG_TYPE' => array('h', 'config_type'),
-		'HOST_FLAP_DETECTION_ENABLED' => array('h', 'flap_detection_enabled'),
-		'HOST_PROCESS_PERFORMANCE_DATA' => array('h', 'process_performance_data'),
-		'HOST_FRESHNESS_CHECKS_ENABLED' => array('h', 'freshness_checks_enabled'),
-		'HOST_FRESHNESS_THRESHOLD' => array('h', 'freshness_threshold'),
-		'HOST_PASSIVE_CHECKS_ENABLED' => array('h', 'passive_checks_enabled'),
-		'HOST_EVENT_HANDLER_ENABLED' => array('h', 'event_handler_enabled'),
-		'HOST_ACTIVE_CHECKS_ENABLED' => array('h', 'active_checks_enabled'),
+		'HOST_FLAP_DETECTION_ENABLED' => array('hs', 'flap_detection_enabled'),
+		'HOST_PROCESS_PERFORMANCE_DATA' => array('hs', 'process_performance_data'),
+		'HOST_FRESHNESS_CHECKS_ENABLED' => array('hs', 'freshness_checks_enabled'),
+		'HOST_FRESHNESS_THRESHOLD' => array('hs', 'freshness_threshold'),
+		'HOST_PASSIVE_CHECKS_ENABLED' => array('hs', 'passive_checks_enabled'),
+		'HOST_EVENT_HANDLER_ENABLED' => array('hs', 'event_handler_enabled'),
+		'HOST_ACTIVE_CHECKS_ENABLED' => array('hs', 'active_checks_enabled'),
 		'HOST_RETAIN_STATUS_INFORMATION' => array('h', 'retain_status_information'),
 		'HOST_RETAIN_NONSTATUS_INFORMATION' => array('h', 'retain_nonstatus_information'),
-		'HOST_NOTIFICATIONS_ENABLED' => array('h', 'notifications_enabled'),
+		'HOST_NOTIFICATIONS_ENABLED' => array('hs', 'notifications_enabled'),
 		'HOST_OBSESS_OVER_HOST' => array('h', 'obsess_over_host'),
 		'HOST_FAILURE_PREDICTION_ENABLED' => array('h', 'failure_prediction_enabled'),
 		'HOST_NOTES' => array('h', 'notes'),
@@ -449,15 +449,15 @@ class IcingaApiSearchIdoOci
 		'SERVICE_OBJECT_ID' => array('os', 'id'),
 		'SERVICE_NAME' => array('os', 'name2'),
 		'SERVICE_DISPLAY_NAME' => array('s', 'display_name'),
-		'SERVICE_NOTIFICATIONS_ENABLED' => array('s', 'notifications_enabled'),
-		'SERVICE_FLAP_DETECTION_ENABLED' => array('s', 'flap_detection_enabled'),
-		'SERVICE_PASSIVE_CHECKS_ENABLED' => array('s', 'passive_checks_enabled'),
-		'SERVICE_EVENT_HANDLER_ENABLED' => array('s', 'event_handler_enabled'),
-		'SERVICE_ACTIVE_CHECKS_ENABLED' => array('s', 'active_checks_enabled'),
+		'SERVICE_NOTIFICATIONS_ENABLED' => array('ss', 'notifications_enabled'),
+		'SERVICE_FLAP_DETECTION_ENABLED' => array('ss', 'flap_detection_enabled'),
+		'SERVICE_PASSIVE_CHECKS_ENABLED' => array('ss', 'passive_checks_enabled'),
+		'SERVICE_EVENT_HANDLER_ENABLED' => array('ss', 'event_handler_enabled'),
+		'SERVICE_ACTIVE_CHECKS_ENABLED' => array('ss', 'active_checks_enabled'),
 		'SERVICE_RETAIN_STATUS_INFORMATION' => array('s', 'retain_status_information'),
 		'SERVICE_RETAIN_NONSTATUS_INFORMATION' => array('s', 'retain_nonstatus_information'),
-		'SERVICE_OBSESS_OVER_SERVICE' => array('s', 'obsess_over_service'),
-		'SERVICE_FAILURE_PREDICTION_ENABLED' => array('s', 'failure_prediction_enabled'),
+		'SERVICE_OBSESS_OVER_SERVICE' => array('ss', 'obsess_over_service'),
+		'SERVICE_FAILURE_PREDICTION_ENABLED' => array('ss', 'failure_prediction_enabled'),
 		'SERVICE_NOTES' => array('s', 'notes'),
 		'SERVICE_NOTES_URL' => array('s', 'notes_url'),
 		'SERVICE_ACTION_URL' => array('s', 'action_url'),





More information about the icinga-checkins mailing list