mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
HostsDashlet: one more dashlet
This commit is contained in:
parent
0b8d67a3ff
commit
68821540d0
32
library/Director/Dashboard/Dashlet/HostsDashlet.php
Normal file
32
library/Director/Dashboard/Dashlet/HostsDashlet.php
Normal file
@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
namespace Icinga\Module\Director\Dashboard\Dashlet;
|
||||
|
||||
class HostsDashlet extends Dashlet
|
||||
{
|
||||
protected $icon = 'host';
|
||||
|
||||
public function getTitle()
|
||||
{
|
||||
return $this->translate('Hosts');
|
||||
}
|
||||
|
||||
public function getSummary()
|
||||
{
|
||||
return $this->translate(
|
||||
'This is where you add all your servers, containers, network or'
|
||||
. ' sensor devices - and much more. Every subject worth to be'
|
||||
. ' monitored'
|
||||
);
|
||||
}
|
||||
|
||||
public function getUrl()
|
||||
{
|
||||
return 'director/hosts';
|
||||
}
|
||||
|
||||
public function listRequiredPermissions()
|
||||
{
|
||||
return ['director/hosts'];
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user