summaryrefslogtreecommitdiffstats
path: root/library/Director/Dashboard/CommandsDashboard.php
blob: 13f4e42527158c9f8701378c08047300b00d0290 (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 CommandsDashboard extends Dashboard
{
    protected $dashletNames = array(
        'CheckCommands',
        'ExternalCheckCommands',
        // 'NotificationCommands',
        // 'ExternalNotificationCommands',
        'CommandTemplates',
    );

    public function getTitle()
    {
        return $this->translate('Manage your Icinga Commands');
    }

    public function getDescription()
    {
        return $this->translate(
            'Define Check-, Notification- or Event-Commands. Command definitions'
            . ' are the glue between your Host- and Service-Checks and the Check'
            . ' plugins on your Monitoring (or monitored) systems'
        );
    }

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