summaryrefslogtreecommitdiffstats
path: root/library/Director/Dashboard/ServicesDashboard.php
blob: 65c8f0a574b781a2c12e212df465ccbddcee2346 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php

namespace Icinga\Module\Director\Dashboard;

class ServicesDashboard extends Dashboard
{
    protected $dashletNames = array(
        'SingleServices',
        'ServiceApplyRules',
        'ServiceTemplates',
        'ServiceGroups',
        'ServiceChoices',
        '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.'
        );
    }

    public function getTabs()
    {
        return $this->createTabsForDashboards(
            ['hosts', 'services', 'commands']
        );
    }
}