diff options
Diffstat (limited to 'library/Director/Dashboard/CommandsDashboard.php')
-rw-r--r-- | library/Director/Dashboard/CommandsDashboard.php | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/library/Director/Dashboard/CommandsDashboard.php b/library/Director/Dashboard/CommandsDashboard.php new file mode 100644 index 0000000..13f4e42 --- /dev/null +++ b/library/Director/Dashboard/CommandsDashboard.php @@ -0,0 +1,35 @@ +<?php + +namespace Icinga\Module\Director\Dashboard; + +class CommandsDashboard extends Dashboard +{ + protected $dashletNames = array( + 'CheckCommands', + 'ExternalCheckCommands', + // 'NotificationCommands', + // 'ExternalNotificationCommands', + 'CommandTemplates', + ); + + public function getTitle() + { + return $this->translate('Manage your Icinga Commands'); + } + + public function getDescription() + { + return $this->translate( + 'Define Check-, Notification- or Event-Commands. Command definitions' + . ' are the glue between your Host- and Service-Checks and the Check' + . ' plugins on your Monitoring (or monitored) systems' + ); + } + + public function getTabs() + { + return $this->createTabsForDashboards( + ['hosts', 'services', 'commands'] + ); + } +} |