[icinga-checkins] icinga.org: icingaweb2-module-director/feature/scheduled-downtimes-12138: dashboard: show scheduled downtimes

git at icinga.org git at icinga.org
Thu Oct 13 13:48:46 CEST 2016


Module: icingaweb2-module-director
Branch: feature/scheduled-downtimes-12138
Commit: f7a6efb6cbc1288b80afca8ea882d095003c257b
URL:    https://git.icinga.org/?p=icingaweb2-module-director.git;a=commit;h=f7a6efb6cbc1288b80afca8ea882d095003c257b

Author: Thomas Gelf <thomas at gelf.net>
Date:   Thu Oct 13 09:16:53 2016 +0000

dashboard: show scheduled downtimes

---

 application/views/scripts/index/index.phtml |    1 +
 library/Director/Db.php                     |    1 +
 2 files changed, 2 insertions(+)

diff --git a/application/views/scripts/index/index.phtml b/application/views/scripts/index/index.phtml
index ea24956..e9c87e1 100644
--- a/application/views/scripts/index/index.phtml
+++ b/application/views/scripts/index/index.phtml
@@ -97,6 +97,7 @@ $all = array(
         array('users',    $this->translate('Users / Contacts'), 'director/users', statSummary($this, 'user')),
         array('megaphone', $this->translate('Notifications'), 'director/notifications', $this->translate('Schedule your notifications.') . ' ' . statSummary($this, 'notification')),
         array('calendar', $this->translate('Timeperiods'), 'director/timeperiods', statSummary($this, 'timeperiod')),
+        array('plug', $this->translate('Scheduled Downtimes'), 'director/scheduleddowntimes', statSummary($this, 'scheduleddowntimes')),
     ),
     $this->translate('Deploy configuration to your Icinga nodes') => array(
         array('wrench',   $this->translate('Deployment'), 'director/config/deployments', $this->translate('Config deployment') . pendingDeployments($this), $this->undeployedActivities ? 'warning' : 'ok'),
diff --git a/library/Director/Db.php b/library/Director/Db.php
index 0f4a87d..15a3d2d 100644
--- a/library/Director/Db.php
+++ b/library/Director/Db.php
@@ -384,6 +384,7 @@ class Db extends DbConnection
             'usergroup',
             'command',
             'timeperiod',
+            'scheduled_downtime',
             'notification',
             'apiuser',
             'endpoint',



More information about the icinga-checkins mailing list