2017-04-20 18:22:54 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Icinga\Module\Director\Dashboard;
|
|
|
|
|
|
|
|
class ServicesDashboard extends Dashboard
|
|
|
|
{
|
|
|
|
protected $dashletNames = array(
|
|
|
|
'SingleServices',
|
2017-07-28 22:42:16 +02:00
|
|
|
'ServiceApplyRules',
|
2017-06-21 21:17:52 +02:00
|
|
|
'ServiceTemplates',
|
2017-04-20 18:22:54 +02:00
|
|
|
'ServiceGroups',
|
2017-06-21 21:17:52 +02:00
|
|
|
'ServiceChoices',
|
2017-04-20 18:22:54 +02:00
|
|
|
'ServiceSets'
|
|
|
|
);
|
|
|
|
|
|
|
|
public function getTitle()
|
|
|
|
{
|
|
|
|
return $this->translate('Manage your Icinga Service Checks');
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getDescription()
|
|
|
|
{
|
|
|
|
return $this->translate(
|
|
|
|
'This is where you manage your Icinga 2 Service Checks. Service'
|
|
|
|
. ' Templates are your base building blocks, Service Sets allow'
|
|
|
|
. ' you to assign multiple Services at once. Apply Rules make it'
|
|
|
|
. ' possible to assign Services based on Host properties. And'
|
|
|
|
. ' the list of all single Service Objects gives you the possibility'
|
|
|
|
. ' to still modify (or delete) many of them at once.'
|
|
|
|
);
|
|
|
|
}
|
2017-07-19 18:37:19 +02:00
|
|
|
|
|
|
|
public function getTabs()
|
|
|
|
{
|
|
|
|
return $this->createTabsForDashboards(
|
|
|
|
['hosts', 'services', 'commands']
|
|
|
|
);
|
|
|
|
}
|
2017-04-20 18:22:54 +02:00
|
|
|
}
|