diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 3ddbb1813d..8f940ea684 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,10 @@ +2013-04-16 Mario Pulido + + * godmode/agentes/configurar_agente.php: Fixed helps view in Agent config + + *include/help/es/help_alert-matches.php, + include/help/en/help_alert-matches.php: Modified alert help (Scaling alerts) + 2013-04-16 Sergio Martin * include/styles/pandora.css diff --git a/pandora_console/godmode/agentes/configurar_agente.php b/pandora_console/godmode/agentes/configurar_agente.php index e4a9a5afcf..a726ed899e 100644 --- a/pandora_console/godmode/agentes/configurar_agente.php +++ b/pandora_console/godmode/agentes/configurar_agente.php @@ -395,32 +395,39 @@ if ($id_agente) { $onheader = $onheader + array($id => $extension_tab); } } - + + $help_header = ''; // This add information to the header switch ($tab) { case "main": $tab_description = '- '. __('Setup'); break; case "collection": - $tab_description = '- ' . __('Collection') . ui_print_help_icon('collection_tab', true); + $tab_description = '- ' . __('Collection') ; + $help_header = 'collection_tab'; break; case "inventory": - $tab_description = '- ' . __('Inventory') . ui_print_help_icon('inventory_tab', true); + $tab_description = '- ' . __('Inventory'); + $help_header = 'inventory_tab'; break; case "plugins": - $tab_description = '- ' . __('Agent plugins') . ui_print_help_icon('plugins_tab', true); + $tab_description = '- ' . __('Agent plugins'); + $help_header = 'plugins_tab'; break; case "module": $tab_description = '- '. __('Modules'); break; case "alert": - $tab_description = '- ' . __('Alert') . ui_print_help_icon('manage_alert_list', true); + $tab_description = '- ' . __('Alert'); + $help_header = 'manage_alert_list'; break; case "template": - $tab_description = '- ' . __('Templates') . ui_print_help_icon('template_tab', true); + $tab_description = '- ' . __('Templates'); + $help_header = 'template_tab'; break; case "gis": - $tab_description = '- ' . __('Gis') . ui_print_help_icon('gis_tab', true); + $tab_description = '- ' . __('Gis'); + $help_header = 'gis_tab'; break; case "incident": $tab_description = '- ' . __('Incidents'); @@ -429,7 +436,8 @@ if ($id_agente) { $id_extension = get_parameter('id_extension', ''); switch ($id_extension) { case "snmp_explorer": - $tab_description = '- ' . __('SNMP explorer') . ui_print_help_icon('snmp_explorer', true); + $tab_description = '- ' . __('SNMP explorer'); + $help_header = 'snmp_explorer'; break; } break; @@ -439,7 +447,7 @@ if ($id_agente) { ui_print_page_header (__('Agent configuration') . ' - ' . agents_get_name ($id_agente) . - ' ' . $tab_description, "images/setup.png", false, "", true, $onheader); + ' ' . $tab_description, "images/setup.png", false, $help_header , true, $onheader); } else { // Create agent diff --git a/pandora_console/include/help/en/help_alert-matches.php b/pandora_console/include/help/en/help_alert-matches.php index e395f70842..8f12bcd660 100755 --- a/pandora_console/include/help/en/help_alert-matches.php +++ b/pandora_console/include/help/en/help_alert-matches.php @@ -6,5 +6,11 @@

Matches of the alert

-Defines the number of alerts that must occur before executing the action. It is a fine-tunning parameter. -

\ No newline at end of file +Defines the number of alerts that must occur before executing the action. It is a fine-tunning parameter.

+ +This allows "redefine" a little more the alert behavior, so that if we set a maximum of 5 times the times you can fire a warning, and we just want to send us an email, we will set here 0 and 1 , to say that we only send an email from time 0 to 1 (so, once).

+ +Now we see that we can add more actions to the same alert, defining these fields "Number of alerts match from" alert behavior depending on how often you shoot.

+ +For example, we may want to send an email to XXXXX the first time it happens, and if it continues down the monitor, send an email to ZZZZ. To do this, associate after the alert, the alert table assigned, I can add more actions to an alert defined as changing this parameter. +

diff --git a/pandora_console/include/help/es/help_alert-matches.php b/pandora_console/include/help/es/help_alert-matches.php index 2f39f4f3af..235a28be4b 100644 --- a/pandora_console/include/help/es/help_alert-matches.php +++ b/pandora_console/include/help/es/help_alert-matches.php @@ -6,5 +6,10 @@

Coincidencias de la alerta

-Define el número de alertas que deben ocurrir antes de ejecutar la acción. Es un parámetro de ajuste fino. +Define el número de alertas que deben ocurrir antes de ejecutar la acción. Es un parámetro de ajuste fino.

+Esto permite "redefinir" un poco más el comportamiento de la alerta, de forma que si hemos definido un máximo de 5 veces las veces que se puede disparar una alerta, y sólo queremos que nos envie un email, pondremos aquí un 0 y un 1, para decirle que sólo nos envie un email desde la vez 0 a la 1 (osea, una vez).

+ +Ahora veremos que podemos añadir más acciones a la misma alerta, definiendo con estos campos "Number of alerts match from" el comportamiento de la alerta en función de cuantas veces se dispare.

+ +Por ejemplo, podemos querer que mande un email a XXXXX la primera vez que ocurra, y si sigue caído el monitor, envíe un email a ZZZZ. Para ello, despues de asociar la alerta, en la tabla de alertas asignadas, puedo añadir mas acciones a una alerta ya definida cambiando este parámetro.