[icinga-checkins] icinga.org: icinga-api/mhein/default: * Added FORCED_SVC_CHECK commands

git at icinga.org git at icinga.org
Thu Jan 13 11:25:34 CET 2011


Module: icinga-api
Branch: mhein/default
Commit: 83d6f5bd8e8e4b89314345bec540d01a2bf44c20
URL:    https://git.icinga.org/?p=icinga-api.git;a=commit;h=83d6f5bd8e8e4b89314345bec540d01a2bf44c20

Author: Marius Hein <marius.hein at netways.de>
Date:   Thu Nov  4 13:56:49 2010 +0100

* Added FORCED_SVC_CHECK commands

---

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

diff --git a/objects/command/IcingaApiCommandCollection.php b/objects/command/IcingaApiCommandCollection.php
index f7b4130..579f649 100644
--- a/objects/command/IcingaApiCommandCollection.php
+++ b/objects/command/IcingaApiCommandCollection.php
@@ -27,6 +27,7 @@ class IcingaApiCommandCollection
 		// 'DEL_SVC_DOWNTIME'						=> array(self::COMMAND_HOST, self::COMMAND_SERVICE, self::COMMAND_ID),
 		'SET_SVC_NOTIFICATION_NUMBER'			=> array(self::COMMAND_HOST, self::COMMAND_SERVICE, self::COMMAND_DATA),
 		'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),
 		'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),
@@ -55,6 +56,7 @@ class IcingaApiCommandCollection
 		// This have to be in a downtime view
 		// 'DEL_HOST_DOWNTIME'						=> array(self::COMMAND_HOST, self::COMMAND_ID),
 		'SCHEDULE_HOST_CHECK'					=> array(self::COMMAND_HOST, self::COMMAND_CHECKTIME),
+		'SCHEDULE_FORCED_HOST_CHECK'				=> array(self::COMMAND_HOST, self::COMMAND_CHECKTIME),
 		'SCHEDULE_HOST_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),	
 		'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),
@@ -422,4 +424,4 @@ class IcingaApiCommandCollection
 // class exceptions
 class IcingaApiCommandCollectionException extends IcingaApiCommandException {}
 
-?>
\ No newline at end of file
+?>





More information about the icinga-checkins mailing list