summaryrefslogtreecommitdiffstats
path: root/library/Director/Dashboard/Dashlet/ExternalCheckCommandsDashlet.php
blob: 2711fb974fc8c0cb1c0207ca6c3c3e059d7a7779 (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
<?php

namespace Icinga\Module\Director\Dashboard\Dashlet;

class ExternalCheckCommandsDashlet extends CheckCommandsDashlet
{
    protected $icon = 'download';

    public function getSummary()
    {
        return $this->translate(
            'External Commands have been defined in your local Icinga 2'
            . ' Configuration.'
        );
    }

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

    public function getUrl()
    {
        return 'director/commands?type=external_object';
    }
}