From a7c386b25806932acba1191338f6a5958c4c4c29 Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Wed, 21 Jan 2015 12:45:48 +0100 Subject: [PATCH] Uploaded lost change from yesterday. Added the text in the snmp console view --- pandora_console/operation/snmpconsole/snmp_view.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pandora_console/operation/snmpconsole/snmp_view.php b/pandora_console/operation/snmpconsole/snmp_view.php index c2372746ce..16a68aeb0b 100644 --- a/pandora_console/operation/snmpconsole/snmp_view.php +++ b/pandora_console/operation/snmpconsole/snmp_view.php @@ -580,6 +580,13 @@ if ($traps !== false) { '; } + if ($trap["text"] != "") { + $string .= ' + ' . '' . __('Text:') . ' + ' . $trap['text'] . ' + '; + } + 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'));