blob: 9821b94f8866aa5e74833ad7b606bc110ac7fcfa (
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
|
<?php
namespace Icinga\Module\Director\Dashboard;
class TimeperiodsDashboard extends Dashboard
{
protected $dashletNames = [
'TimeperiodObject',
'TimeperiodTemplate',
];
public function getTitle()
{
return $this->translate('Define custom Time Periods');
}
public function getDescription()
{
return $this->translate(
'Want to define to execute specific checks only withing specific'
. ' time periods? Get mobile notifications only out of office hours,'
. ' but mail notifications all around the clock? Time Periods allow'
. ' you to tackle those and similar requirements.'
);
}
public function getTabs()
{
return $this->createTabsForDashboards(
['notifications', 'users', 'timeperiods']
);
}
}
|