From 4ba1794e056b2b5daa2b643e2ad052fb7ec13f7f Mon Sep 17 00:00:00 2001 From: fermin831 Date: Wed, 4 Nov 2015 18:33:50 +0100 Subject: [PATCH] Added help to SNMP alert position --- pandora_console/godmode/snmpconsole/snmp_alert.php | 5 ++++- .../include/help/en/help_snmp_alert_position.php | 11 +++++++++++ .../include/help/es/help_snmp_alert_position.php | 11 +++++++++++ .../include/help/ja/help_snmp_alert_position.php | 11 +++++++++++ 4 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 pandora_console/include/help/en/help_snmp_alert_position.php create mode 100644 pandora_console/include/help/es/help_snmp_alert_position.php create mode 100644 pandora_console/include/help/ja/help_snmp_alert_position.php diff --git a/pandora_console/godmode/snmpconsole/snmp_alert.php b/pandora_console/godmode/snmpconsole/snmp_alert.php index c00a8ce85c..429941be2b 100755 --- a/pandora_console/godmode/snmpconsole/snmp_alert.php +++ b/pandora_console/godmode/snmpconsole/snmp_alert.php @@ -841,7 +841,10 @@ if ($create_alert || $update_alert) { break; } echo ''; - echo '' . __('Position') . ''; + echo '' . __('Position') . + ui_print_help_icon ("snmp_alert_position", true) . + ''; + html_print_input_text ("position", $position, '', 3); echo ''; echo ''; diff --git a/pandora_console/include/help/en/help_snmp_alert_position.php b/pandora_console/include/help/en/help_snmp_alert_position.php new file mode 100644 index 0000000000..f40fccbfc2 --- /dev/null +++ b/pandora_console/include/help/en/help_snmp_alert_position.php @@ -0,0 +1,11 @@ + + +

Alert SNMP position

+ +

The alerts with a lower position are evaluated first. If several alerts match with a trap, all matched alerts with same position will be thrown. Although lower position alerts match with the trap, they will not be thrown.

+ +

As a general rule, you have to set more restrictive alerts with lower positions.

diff --git a/pandora_console/include/help/es/help_snmp_alert_position.php b/pandora_console/include/help/es/help_snmp_alert_position.php new file mode 100644 index 0000000000..2ac458d016 --- /dev/null +++ b/pandora_console/include/help/es/help_snmp_alert_position.php @@ -0,0 +1,11 @@ + + +

Alert SNMP position

+ +

Las alertas con menor posición se evalúan primero. Si hay varias alertas con la misma posición que coinciden con el trap, se lanzarán todas las alertas coincidentes con la misma posición. Las de menor posición, aunque coincidan, no se lanzarán.

+ +

Como regla genereal, las alertas más restrictivas deben tener una posición menor

diff --git a/pandora_console/include/help/ja/help_snmp_alert_position.php b/pandora_console/include/help/ja/help_snmp_alert_position.php new file mode 100644 index 0000000000..f40fccbfc2 --- /dev/null +++ b/pandora_console/include/help/ja/help_snmp_alert_position.php @@ -0,0 +1,11 @@ + + +

Alert SNMP position

+ +

The alerts with a lower position are evaluated first. If several alerts match with a trap, all matched alerts with same position will be thrown. Although lower position alerts match with the trap, they will not be thrown.

+ +

As a general rule, you have to set more restrictive alerts with lower positions.