[icinga-checkins] icinga.org: icingaweb2/master: HostActionsHook: initial very simple implementation

git at icinga.org git at icinga.org
Mon Feb 2 18:26:04 CET 2015


Module: icingaweb2
Branch: master
Commit: 5e4b611860da8365b47d2ab750851a426b2f2fd1
URL:    https://git.icinga.org/?p=icingaweb2.git;a=commit;h=5e4b611860da8365b47d2ab750851a426b2f2fd1

Author: Thomas Gelf <thomas at gelf.net>
Date:   Wed Jan 14 11:00:26 2015 +0100

HostActionsHook: initial very simple implementation

refs #8208

---

 .../library/Monitoring/Web/Hook/HostActionsHook.php          |   10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/modules/monitoring/library/Monitoring/Web/Hook/HostActionsHook.php b/modules/monitoring/library/Monitoring/Web/Hook/HostActionsHook.php
new file mode 100644
index 0000000..c1ccdfb
--- /dev/null
+++ b/modules/monitoring/library/Monitoring/Web/Hook/HostActionsHook.php
@@ -0,0 +1,10 @@
+<?php
+
+namespace Icinga\Module\Monitoring\Web\Hook;
+
+use Icinga\Module\Monitoring\Object\Host;
+
+abstract class HostActionsHook
+{
+    abstract public function getActionsForHost(Host $host);
+}



More information about the icinga-checkins mailing list