diff options
Diffstat (limited to 'library/Director/Dashboard/Dashlet/CheckCommandsDashlet.php')
-rw-r--r-- | library/Director/Dashboard/Dashlet/CheckCommandsDashlet.php | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/library/Director/Dashboard/Dashlet/CheckCommandsDashlet.php b/library/Director/Dashboard/Dashlet/CheckCommandsDashlet.php new file mode 100644 index 0000000..65d8c8c --- /dev/null +++ b/library/Director/Dashboard/Dashlet/CheckCommandsDashlet.php @@ -0,0 +1,31 @@ +<?php + +namespace Icinga\Module\Director\Dashboard\Dashlet; + +class CheckCommandsDashlet extends Dashlet +{ + protected $icon = 'wrench'; + + public function getSummary() + { + return $this->translate( + 'Manage definitions for your Commands that should be executed as' + . ' Check Plugins, Notifications or based on Events' + ); + } + + public function getTitle() + { + return $this->translate('Commands'); + } + + public function listRequiredPermissions() + { + return array('director/admin'); + } + + public function getUrl() + { + return 'director/commands'; + } +} |