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
This commit is contained in:
parent
f4b66cee1a
commit
c76f8dd616
@ -580,6 +580,13 @@ if ($traps !== false) {
|
|||||||
</tr>';
|
</tr>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($trap["text"] != "") {
|
||||||
|
$string .= '<tr>
|
||||||
|
<td align="left" valign="top">' . '<b>' . __('Text:') . '</td>
|
||||||
|
<td align="left">' . $trap['text'] . '</td>
|
||||||
|
</tr>';
|
||||||
|
}
|
||||||
|
|
||||||
if ($trap["type"] != "") {
|
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'));
|
$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