summaryrefslogtreecommitdiffstats
path: root/library/Director/Dashboard/HostsDashboard.php
blob: 281accb9ea4020e0d25650d98b37909809eafaf2 (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
<?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.'
        );
    }

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