mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 00:04:37 +02:00
Uploaded lost change from yesterday. Added the text in the snmp console view
(cherry picked from commit a7c386b25806932acba1191338f6a5958c4c4c29)
This commit is contained in:
parent
f4c49fdd09
commit
c2af060e62
@ -580,6 +580,13 @@ if ($traps !== false) {
|
||||
</tr>';
|
||||
}
|
||||
|
||||
if ($trap["text"] != "") {
|
||||
$string .= '<tr>
|
||||
<td align="left" valign="top">' . '<b>' . __('Text:') . '</td>
|
||||
<td align="left">' . $trap['text'] . '</td>
|
||||
</tr>';
|
||||
}
|
||||
|
||||
if ($trap["type"] != "") {
|
||||
$trap_types = array(-1 => __('None'), 0 => __('Cold start (0)'), 1 => __('Warm start (1)'), 2 => __('Link down (2)'), 3 => __('Link up (3)'), 4 => __('Authentication failure (4)'), 5 => __('Other'));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user