|
12 | 12 | unset($items); |
13 | 13 | $items[] = array( 'title' => "Show Overview", |
14 | 14 | 'target' => 'content', |
15 | | - 'link' => 'monitor/show_sys_state.php?state=system'); |
| 15 | + 'link' => 'monitor/show_sys_state.php?state=system', |
| 16 | + 'html_id' => 'system'); |
16 | 17 |
|
17 | 18 | $items[] = array( 'title' => "Show System-Log", |
18 | 19 | 'target' => 'content', |
19 | | - 'link' => 'monitor/log_list.php'); |
| 20 | + 'link' => 'monitor/log_list.php', |
| 21 | + 'html_id' => 'system_log'); |
20 | 22 |
|
21 | 23 | $items[] = array( 'title' => 'Show Jobqueue', |
22 | | - 'target' => 'content', |
23 | | - 'link' => 'monitor/datalog_list.php'); |
| 24 | + 'target' => 'content', |
| 25 | + 'link' => 'monitor/datalog_list.php', |
| 26 | + 'html_id' => 'jobqueue'); |
24 | 27 |
|
25 | 28 | $module["nav"][] = array( 'title' => 'System State (All Servers)', |
26 | 29 | 'open' => 1, |
|
47 | 50 | unset($items); |
48 | 51 | $items[] = array( 'title' => $dropDown, |
49 | 52 | 'target' => '', // no action! |
50 | | - 'link' => ''); // no action! |
| 53 | + 'link' => '', // no action! |
| 54 | + 'html_id' => 'select_server'); |
51 | 55 |
|
52 | 56 | $module["nav"][] = array( 'title' => 'Server to Monitor', |
53 | 57 | 'open' => 1, |
|
66 | 70 |
|
67 | 71 | $items[] = array( 'title' => "Show CPU info", |
68 | 72 | 'target' => 'content', |
69 | | - 'link' => 'monitor/show_data.php?type=cpu_info'); |
| 73 | + 'link' => 'monitor/show_data.php?type=cpu_info', |
| 74 | + 'html_id' => 'cpu_info'); |
70 | 75 |
|
71 | 76 | $module["nav"][] = array( 'title' => 'Hardware-Information', |
72 | 77 | 'open' => 1, |
|
78 | 83 | unset($items); |
79 | 84 | $items[] = array( 'title' => "Show Overview", |
80 | 85 | 'target' => 'content', |
81 | | - 'link' => 'monitor/show_sys_state.php?state=server'); |
| 86 | + 'link' => 'monitor/show_sys_state.php?state=server', |
| 87 | + 'html_id' => 'server'); |
82 | 88 |
|
83 | 89 | $items[] = array( 'title' => "Show Update State", |
84 | 90 | 'target' => 'content', |
85 | | - 'link' => 'monitor/show_data.php?type=system_update'); |
| 91 | + 'link' => 'monitor/show_data.php?type=system_update', |
| 92 | + 'html_id' => 'system_update'); |
86 | 93 |
|
87 | 94 | $items[] = array( 'title' => "Show RAID state", |
88 | 95 | 'target' => 'content', |
89 | | - 'link' => 'monitor/show_data.php?type=raid_state'); |
| 96 | + 'link' => 'monitor/show_data.php?type=raid_state', |
| 97 | + 'html_id' => 'raid_state'); |
90 | 98 |
|
91 | 99 | $items[] = array( 'title' => "Show Server load", |
92 | 100 | 'target' => 'content', |
93 | | - 'link' => 'monitor/show_data.php?type=server_load'); |
| 101 | + 'link' => 'monitor/show_data.php?type=server_load', |
| 102 | + 'html_id' => 'serverload'); |
94 | 103 |
|
95 | 104 | $items[] = array( 'title' => "Show Disk usage", |
96 | 105 | 'target' => 'content', |
97 | | - 'link' => 'monitor/show_data.php?type=disk_usage'); |
| 106 | + 'link' => 'monitor/show_data.php?type=disk_usage', |
| 107 | + 'html_id' => 'disk_usage'); |
98 | 108 |
|
99 | 109 | $items[] = array( 'title' => "Show Memory usage", |
100 | 110 | 'target' => 'content', |
101 | | - 'link' => 'monitor/show_data.php?type=mem_usage'); |
| 111 | + 'link' => 'monitor/show_data.php?type=mem_usage', |
| 112 | + 'html_id' => 'mem_usage'); |
102 | 113 |
|
103 | 114 | $items[] = array( 'title' => "Show Services", |
104 | 115 | 'target' => 'content', |
105 | | - 'link' => 'monitor/show_data.php?type=services'); |
| 116 | + 'link' => 'monitor/show_data.php?type=services', |
| 117 | + 'html_id' => 'services'); |
106 | 118 |
|
107 | 119 | $items[] = array( 'title' => "Show OpenVz VE BeanCounter", |
108 | 120 | 'target' => 'content', |
109 | | - 'link' => 'monitor/show_data.php?type=openvz_beancounter'); |
| 121 | + 'link' => 'monitor/show_data.php?type=openvz_beancounter', |
| 122 | + 'html_id' => 'openvz_beancounter'); |
110 | 123 |
|
111 | 124 | $module["nav"][] = array( 'title' => 'Server State', |
112 | 125 | 'open' => 1, |
|
119 | 132 |
|
120 | 133 | $items[] = array( 'title' => "Show Mail-Queue", |
121 | 134 | 'target' => 'content', |
122 | | - 'link' => 'monitor/show_data.php?type=mailq'); |
| 135 | + 'link' => 'monitor/show_data.php?type=mailq', |
| 136 | + 'html_id' => 'mailq'); |
123 | 137 |
|
124 | 138 | $items[] = array( 'title' => "Show Mail-Log", |
125 | 139 | 'target' => 'content', |
126 | | - 'link' => 'monitor/show_log.php?log=log_mail'); |
| 140 | + 'link' => 'monitor/show_log.php?log=log_mail', |
| 141 | + 'html_id' => 'log_mail'); |
127 | 142 |
|
128 | 143 | $items[] = array( 'title' => "Show Mail warn-Log", |
129 | 144 | 'target' => 'content', |
130 | | - 'link' => 'monitor/show_log.php?log=log_mail_warn'); |
| 145 | + 'link' => 'monitor/show_log.php?log=log_mail_warn', |
| 146 | + 'html_id' => 'log_mail_warn'); |
131 | 147 |
|
132 | 148 | $items[] = array( 'title' => "Show Mail err-Log", |
133 | 149 | 'target' => 'content', |
134 | | - 'link' => 'monitor/show_log.php?log=log_mail_err'); |
| 150 | + 'link' => 'monitor/show_log.php?log=log_mail_err', |
| 151 | + 'html_id' => 'log_mail_err'); |
135 | 152 |
|
136 | 153 | $items[] = array( 'title' => "Show System-Log", |
137 | 154 | 'target' => 'content', |
138 | | - 'link' => 'monitor/show_log.php?log=log_messages'); |
| 155 | + 'link' => 'monitor/show_log.php?log=log_messages', |
| 156 | + 'html_id' => 'log_messages'); |
139 | 157 |
|
140 | 158 | $items[] = array( 'title' => "Show ISPC Cron-Log", |
141 | 159 | 'target' => 'content', |
142 | | - 'link' => 'monitor/show_log.php?log=log_ispc_cron'); |
| 160 | + 'link' => 'monitor/show_log.php?log=log_ispc_cron', |
| 161 | + 'html_id' => 'log_ispc_cron'); |
143 | 162 |
|
144 | 163 | $items[] = array( 'title' => "Show Freshclam-Log", |
145 | 164 | 'target' => 'content', |
146 | | - 'link' => 'monitor/show_log.php?log=log_freshclam'); |
| 165 | + 'link' => 'monitor/show_log.php?log=log_freshclam', |
| 166 | + 'html_id' => 'log_freshclam'); |
147 | 167 |
|
148 | 168 | $items[] = array( 'title' => "Show Clamav-Log", |
149 | 169 | 'target' => 'content', |
150 | | - 'link' => 'monitor/show_log.php?log=log_clamav'); |
| 170 | + 'link' => 'monitor/show_log.php?log=log_clamav', |
| 171 | + 'html_id' => 'log_clamav'); |
151 | 172 |
|
152 | 173 | $items[] = array( 'title' => "Show RKHunter-Log", |
153 | 174 | 'target' => 'content', |
154 | | - 'link' => 'monitor/show_data.php?type=rkhunter'); |
| 175 | + 'link' => 'monitor/show_data.php?type=rkhunter', |
| 176 | + 'html_id' => 'rkhunter'); |
155 | 177 |
|
156 | 178 | $items[] = array( 'title' => "Show fail2ban-Log", |
157 | 179 | 'target' => 'content', |
158 | | - 'link' => 'monitor/show_data.php?type=fail2ban'); |
| 180 | + 'link' => 'monitor/show_data.php?type=fail2ban', |
| 181 | + 'html_id' => 'fai2ban'); |
159 | 182 |
|
160 | 183 | $module["nav"][] = array( 'title' => 'Logfiles', |
161 | 184 | 'open' => 1, |
|
0 commit comments