Newer
Older
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<?php
$module["name"] = "monitor";
$module["title"] = "Monitor";
$module["template"] = "module.tpl.htm";
$module["startpage"] = "monitor/system.php?mod=index";
$module["tab_width"] = '';
/*
Logmonitoring module
*/
$items[] = array( 'title' => "Load",
'target' => 'content',
'link' => 'monitor/system.php?mod=load');
$items[] = array( 'title' => "Harddisk",
'target' => 'content',
'link' => 'monitor/system.php?mod=disk');
$items[] = array( 'title' => "Memory usage",
'target' => 'content',
'link' => 'monitor/system.php?mod=memusage');
$items[] = array( 'title' => "CPU",
'target' => 'content',
'link' => 'monitor/system.php?mod=cpu');
$items[] = array( 'title' => "Services",
'target' => 'content',
'link' => 'monitor/system.php?mod=services');
$module["nav"][] = array( 'title' => 'System',
'open' => 1,
'items' => $items);
// aufrumen
unset($items);
/*
Logmonitoring module
*/
$items[] = array( 'title' => "Mail log",
'target' => 'content',
'link' => 'monitor/logview.php?log=mail_log');
$items[] = array( 'title' => "Mail warn",
'target' => 'content',
'link' => 'monitor/logview.php?log=mail_warn');
$items[] = array( 'title' => "Mail err",
'target' => 'content',
'link' => 'monitor/logview.php?log=mail_err');
$items[] = array( 'title' => "Messages",
'target' => 'content',
'link' => 'monitor/logview.php?log=messages');
$items[] = array( 'title' => "Freshclam",
'target' => 'content',
'link' => 'monitor/logview.php?log=freshclam');
$items[] = array( 'title' => "Clamav",
'target' => 'content',
'link' => 'monitor/logview.php?log=clamav');
$module["nav"][] = array( 'title' => 'Logfiles',
'open' => 1,
'items' => $items);
// aufrumen
unset($items);
?>