Added help elements
This commit is contained in:
parent
ae6df5a24e
commit
3495bb5cbf
|
@ -680,16 +680,7 @@ function visual_map_editor_print_item_palette($visualConsole_id, $background) {
|
|||
'90' => '90%',
|
||||
'100' => '100%'),
|
||||
'map_linked_weight', '', '', __('By default'), 0, true) .
|
||||
ui_print_help_tip (
|
||||
__("This percentage value specifies the number of items that must be present in the visual
|
||||
console for it to transmit its status to the icon linked here. For example, if 20% is
|
||||
specified and there are five elements in the console, it would be enough if you were in
|
||||
WARNING or CRITICAL to pass that value to the icon. If it were 40%, you would need at
|
||||
least two elements to be in CRITICAL or WARNING to go into that status. If it had one
|
||||
element in critical and another in warning, it would not forward any status to the icon
|
||||
associated with the visual console. If we had three in warning and one in critical,
|
||||
it would only convey the warning status. If there were two in warning and two in critical,
|
||||
it would show the CRITICAL because it is more serious. The same applies to unknown status."), true) .
|
||||
ui_print_help_icon ("linked_map_weight", true) .
|
||||
'</td>';
|
||||
|
||||
$form_items_advance['line_case']['items'] = array('line_item');
|
||||
|
@ -703,8 +694,10 @@ function visual_map_editor_print_item_palette($visualConsole_id, $background) {
|
|||
'percentile_item', 'module_graph', 'simple_value',
|
||||
'icon', 'label', 'datos');
|
||||
$form_items_advance['element_group_row']['html'] = '<td align="left">'.
|
||||
__('Element group') . '</td>' .
|
||||
'<td align="left">' . html_print_select($user_groups, 'element_group', '', '', '', 0, true) .
|
||||
__('Restrict access to group') . '</td>' .
|
||||
'<td align="left">' . html_print_select($user_groups, 'element_group', '', '', '', 0, true) .
|
||||
ui_print_help_tip (
|
||||
__("If selected, restrict visualization of this item in the visual console to users who have access to selected group. This is also used on calculating child visual consoles."), true) .
|
||||
'</td>';
|
||||
|
||||
//Insert and modify before the buttons to create or update.
|
||||
|
|
|
@ -0,0 +1,19 @@
|
|||
<?php
|
||||
/**
|
||||
* @package Include/help/es
|
||||
*/
|
||||
?>
|
||||
<h1>Associated map status weight</h1>
|
||||
|
||||
<p>
|
||||
Only "static image" type elements can have this option. Through it we establish a percentage of elements in a status other than the normal one so that our element linked to that map picks up its status.
|
||||
</p>
|
||||
<p>
|
||||
For example:
|
||||
</p>
|
||||
<p>
|
||||
If we have a map 1 with a "static image" type element that points to map 2 and has its weight set at 50%, you will only see its status modified if at least half of the elements (items that must return a status from an agent, module or other linked console) of map 2 are not in normal status.
|
||||
</p>
|
||||
<p>
|
||||
We can also have an element linked to a console with 10 elements that return a status, which in turn can have elements linked to other consoles. If our element from the first console has a weight of 20%, it is because we want it to show a critical (or warning) status if at least 2 of the 10 elements of the second console have a critical (or warning) status. Similarly, if the weight is 80%, 8 out of 10 elements must be in a non-normal status.
|
||||
</p>
|
|
@ -0,0 +1,19 @@
|
|||
<?php
|
||||
/**
|
||||
* @package Include/help/es
|
||||
*/
|
||||
?>
|
||||
<h1>Peso de estado del mapa asociado</h1>
|
||||
|
||||
<p>
|
||||
Solo los elementos de tipo "imagen estática" pueden llevar esta opción. Mediante ella establecemos un porcentaje de elementos en un estado diferente al normal para que nuestro elemento enlazado a ese mapa recoja su estado.
|
||||
</p>
|
||||
<p>
|
||||
Por ejemplo:
|
||||
</p>
|
||||
<p>
|
||||
Si tenemos un mapa 1 con un elemento de tipo "imagen estática" que apunta a un mapa 2 y tiene su peso establecido en un 50%, solo verá modificado su estado si al menos la mitad de los elementos (elementos que deben devolver un estado tanto de agente, de módulo o de otra consola enlazada) del mapa 2 no están en un estado normal.
|
||||
</p>
|
||||
<p>
|
||||
También podemos tener un elemento enlazado a una consola con 10 elementos que devuelvan un estado, que a su vez pueden tener elementos enlazados a otras consolas. Si nuestro elemento de la primera consola tiene establecido un peso del 20% es porque queremos que nos muestre un estado crítico (o de advertencia) si al menos 2 de los 10 elementos de la segunda consola tienen un estado crítico (o de advertencia). Del mismo modo si el peso fuese del 80%, se tendrán que tener 8 elementos de 10 en un estado no normal.
|
||||
</p>
|
Loading…
Reference in New Issue