2017-06-19 00:35:32 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Icinga\Module\Director\Dashboard\Dashlet;
|
|
|
|
|
|
|
|
class CheckCommandsDashlet extends Dashlet
|
|
|
|
{
|
|
|
|
protected $icon = 'wrench';
|
|
|
|
|
|
|
|
public function getSummary()
|
|
|
|
{
|
|
|
|
return $this->translate(
|
2017-07-20 17:22:45 +02:00
|
|
|
'Manage definitions for your Commands that should be executed as'
|
|
|
|
. ' Check Plugins, Notifications or based on Events'
|
2017-06-19 00:35:32 +02:00
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getTitle()
|
|
|
|
{
|
2017-07-20 17:22:45 +02:00
|
|
|
return $this->translate('Commands');
|
2017-06-19 00:35:32 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
public function listRequiredPermissions()
|
|
|
|
{
|
|
|
|
return array('director/admin');
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getUrl()
|
|
|
|
{
|
|
|
|
return 'director/commands';
|
|
|
|
}
|
|
|
|
}
|