HostsDashboard: introduce a new dashboard

This commit is contained in:
Thomas Gelf 2017-05-19 12:48:31 +02:00
parent ac815b14b6
commit 2038ab28d7
1 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,28 @@
<?php
namespace Icinga\Module\Director\Dashboard;
class HostsDashboard extends Dashboard
{
protected $dashletNames = array(
'Hosts',
'HostTemplates',
'HostGroups',
'HostChoices',
);
public function getTitle()
{
return $this->translate('Manage your Icinga Hosts');
}
public function getDescription()
{
return $this->translate(
'This is where you manage your Icinga 2 Host Checks. Host templates'
. ' are your main building blocks. You can bundle them to "choices",'
. ' allowing (or forcing) your users to choose among a given set of'
. ' preconfigured templates.'
);
}
}