diff options
Diffstat (limited to 'library/Director/Dashboard/Dashlet/SingleServicesDashlet.php')
-rw-r--r-- | library/Director/Dashboard/Dashlet/SingleServicesDashlet.php | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/library/Director/Dashboard/Dashlet/SingleServicesDashlet.php b/library/Director/Dashboard/Dashlet/SingleServicesDashlet.php new file mode 100644 index 0000000..297b3f8 --- /dev/null +++ b/library/Director/Dashboard/Dashlet/SingleServicesDashlet.php @@ -0,0 +1,31 @@ +<?php + +namespace Icinga\Module\Director\Dashboard\Dashlet; + +class SingleServicesDashlet extends Dashlet +{ + protected $icon = 'service'; + + public function getTitle() + { + return $this->translate('Single Services'); + } + + public function getSummary() + { + return $this->translate( + 'Here you can find all single services directly attached to single' + . ' hosts' + ); + } + + public function getUrl() + { + return 'director/services'; + } + + public function listRequiredPermissions() + { + return array('director/services'); + } +} |