summaryrefslogtreecommitdiffstats
path: root/library/Director/Dashboard/UsersDashboard.php
blob: 036d149ce23eceb0e815110785ec33b3d24f4d59 (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
<?php

namespace Icinga\Module\Director\Dashboard;

class UsersDashboard extends Dashboard
{
    protected $dashletNames = [
        'UserObject',
        'UserTemplate',
        'UserGroups',
    ];

    public function getTitle()
    {
        return $this->translate('Schedule your notifications');
    }

    public function getDescription()
    {
        return $this->translate(
            'This is where you manage your Icinga 2 User (Contact) objects. Try'
            . ' to keep your User objects simply by movin complexity to your'
            . ' templates. Bundle your users in groups and build Notifications'
            . ' based on them. Running MS Active Directory or another central'
            . ' User inventory? Stay away from fiddling with manual config, try'
            . ' to automate all the things with Imports and related Sync Rules!'
        );
    }

    public function getTabs()
    {
        return $this->createTabsForDashboards(
            ['notifications', 'users', 'timeperiods']
        );
    }
}