[icinga-checkins] icinga.org: icinga-api/master: fix Missing commands: remove acknowledgements #1201

git at icinga.org git at icinga.org
Wed Mar 30 10:38:56 CEST 2011


Module: icinga-api
Branch: master
Commit: b2ced17df34ed87e1bfea0e5517d99cdb62af444
URL:    https://git.icinga.org/?p=icinga-api.git;a=commit;h=b2ced17df34ed87e1bfea0e5517d99cdb62af444

Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Wed Mar 30 10:36:40 2011 +0200

fix Missing commands: remove acknowledgements #1201

fixes #1201

---

 objects/command/IcingaApiCommandCollection.php |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/objects/command/IcingaApiCommandCollection.php b/objects/command/IcingaApiCommandCollection.php
index 928cc65..15970e0 100644
--- a/objects/command/IcingaApiCommandCollection.php
+++ b/objects/command/IcingaApiCommandCollection.php
@@ -34,6 +34,7 @@ class IcingaApiCommandCollection
 		'SCHEDULE_SVC_CHECK'					=> array(self::COMMAND_HOST, self::COMMAND_SERVICE, self::COMMAND_CHECKTIME),
 		'SCHEDULE_FORCED_SVC_CHECK'				=> array(self::COMMAND_HOST, self::COMMAND_SERVICE, self::COMMAND_CHECKTIME),
 		'ACKNOWLEDGE_SVC_PROBLEM'				=> array(self::COMMAND_HOST, self::COMMAND_SERVICE, self::COMMAND_STICKY, self::COMMAND_NOTIFY, self::COMMAND_PERSISTENT, self::COMMAND_AUTHOR, self::COMMAND_COMMENT),
+		'REMOVE_SVC_ACKNOWLEDGEMENT'            		=> array(self::COMMAND_HOST, self::COMMAND_SERVICE),
 		'SCHEDULE_SVC_DOWNTIME'					=> array(self::COMMAND_HOST, self::COMMAND_SERVICE, self::COMMAND_STARTTIME, self::COMMAND_ENDTIME, self::COMMAND_FIXED, self::COMMAND_DATA, self::COMMAND_DURATION, self::COMMAND_AUTHOR, self::COMMAND_COMMENT),
 		'PROCESS_SERVICE_CHECK_RESULT'			=> array(self::COMMAND_HOST, self::COMMAND_SERVICE, self::COMMAND_RETURN_CODE, self::COMMAND_OUTPUT, self::COMMAND_PERFDATA),
 		'ADD_SVC_COMMENT'						=> array(self::COMMAND_HOST, self::COMMAND_SERVICE, self::COMMAND_DATA, self::COMMAND_AUTHOR, self::COMMAND_COMMENT),
@@ -64,6 +65,7 @@ class IcingaApiCommandCollection
 		'SCHEDULE_HOST_SVC_DOWNTIME'			=> array(self::COMMAND_HOST, self::COMMAND_STARTTIME, self::COMMAND_ENDTIME, self::COMMAND_FIXED, self::COMMAND_DATA, self::COMMAND_DURATION, self::COMMAND_AUTHOR, self::COMMAND_COMMENT),
 		'PROCESS_HOST_CHECK_RESULT'				=> array(self::COMMAND_HOST, self::COMMAND_RETURN_CODE, self::COMMAND_OUTPUT, self::COMMAND_PERFDATA),
 		'ACKNOWLEDGE_HOST_PROBLEM'				=> array(self::COMMAND_HOST, self::COMMAND_STICKY, self::COMMAND_NOTIFY, self::COMMAND_PERSISTENT, self::COMMAND_AUTHOR, self::COMMAND_COMMENT),
+		'REMOVE_HOST_ACKNOWLEDGEMENT'           		=> array(self::COMMAND_HOST),
 		'ADD_HOST_COMMENT'						=> array(self::COMMAND_HOST, self::COMMAND_DATA, self::COMMAND_AUTHOR, self::COMMAND_COMMENT),
 		'DISABLE_HOST_CHECK'					=> array(self::COMMAND_HOST),
 		'ENABLE_HOST_CHECK'						=> array(self::COMMAND_HOST),





More information about the icinga-checkins mailing list