HostGroupsDashlet: just a new dashlet
This commit is contained in:
parent
a74785755c
commit
3437691ce2
|
@ -0,0 +1,31 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Director\Dashboard\Dashlet;
|
||||
|
||||
class HostGroupsDashlet extends Dashlet
|
||||
{
|
||||
protected $icon = 'tags';
|
||||
|
||||
public function getTitle()
|
||||
{
|
||||
return $this->translate('Host Groups');
|
||||
}
|
||||
|
||||
public function getSummary()
|
||||
{
|
||||
return $this->translate(
|
||||
'Define Host Groups to give your configuration more structure. They'
|
||||
. ' are useful for Dashboards, Notifications or Restrictions'
|
||||
);
|
||||
}
|
||||
|
||||
public function getUrl()
|
||||
{
|
||||
return 'director/hostgroups';
|
||||
}
|
||||
|
||||
public function listRequiredPermissions()
|
||||
{
|
||||
return array('director/hosts');
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue