diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index a2a0ac182a..79229c4674 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,16 @@ +2014-06-24 Ramon Novoa + + * godmode/agentes/module_manager_editor_common.php, + include/help/en/help_ff_interval.php, + include/help/en/help_ff_threshold.php, + include/help/en/help_ff_timeout.php, + include/help/es/help_ff_interval.php, + include/help/es/help_ff_threshold.php, + include/help/es/help_ff_timeout.php, + include/help/ja/help_ff_interval.php, + include/help/ja/help_ff_threshold.php, + include/help/ja/help_ff_timeout.php: Updated help files for the FF threshold. + 2014-06-24 Junichi Satoh * include/functions_api.php: Added support for 'each_ff' and diff --git a/pandora_console/godmode/agentes/module_manager_editor_common.php b/pandora_console/godmode/agentes/module_manager_editor_common.php index 82e7eef915..93f2d4e268 100644 --- a/pandora_console/godmode/agentes/module_manager_editor_common.php +++ b/pandora_console/godmode/agentes/module_manager_editor_common.php @@ -388,12 +388,13 @@ $table_advanced->data[4][3] = __('Throw unknown events'); $table_advanced->data[4][4] = html_print_checkbox('throw_unknown_events', 1, $throw_unknown_events_check, true); -$table_advanced->data[5][0] = __('FF interval'); +$table_advanced->data[5][0] = __('FF interval') . ' ' . ui_print_help_icon ('ff_interval', true); $table_advanced->data[5][1] = html_print_input_text ('module_ff_interval', $ff_interval, '', 5, 10, true, $disabledBecauseInPolicy).ui_print_help_tip (__('Module execution flip flop time interval (in secs).'), true); $table_advanced->colspan[5][1] = 2; -$table_advanced->data[5][3] = __('FF timeout'); +$table_advanced->data[5][3] = __('FF timeout') . ' ' . ui_print_help_icon ('ff_timeout', true); + $module_type_name = modules_get_type_name($id_module_type); if (preg_match ('/async/', $module_type_name) || $edit) { $table_advanced->data[5][4] = '' . html_print_input_text ('ff_timeout', $ff_timeout, diff --git a/pandora_console/include/help/en/help_ff_interval.php b/pandora_console/include/help/en/help_ff_interval.php new file mode 100644 index 0000000000..83e447c53e --- /dev/null +++ b/pandora_console/include/help/en/help_ff_interval.php @@ -0,0 +1,57 @@ + +

Module Flip Flop Interval

+ +

+ +If FF threshold is greater than 0, several consecutive values are required to change the status of a module. But if you want subsequent cheks to be performed at a different interval you can specify it with FF interval. + +For example, a ping module with a 5 minute interval, a FF threshold of 1 and a FF interval of 60 seconds would behave in the following way: + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TimeDataStatus change
12:001No
12:051No
12:100No
12:111No
12:161No
12:210No
12:220Yes
+ +

+ diff --git a/pandora_console/include/help/en/help_ff_threshold.php b/pandora_console/include/help/en/help_ff_threshold.php index 2a26fb36ea..fda1216fba 100644 --- a/pandora_console/include/help/en/help_ff_threshold.php +++ b/pandora_console/include/help/en/help_ff_threshold.php @@ -40,5 +40,4 @@ From this point you would see as down, but not before. Protection anti Flip-Flop is used to avoid those annoying fluctuations, all modules implement it and use it to avoid the change of state (defined by their defined limits or boundaries machines, as is the case with modules * proc) .

-NOTICE: Due Keepalive only notify ONCE per change. This parameter SHOULD NOT be used in KeepAlive modules. diff --git a/pandora_console/include/help/en/help_ff_timeout.php b/pandora_console/include/help/en/help_ff_timeout.php new file mode 100644 index 0000000000..288c5b69a9 --- /dev/null +++ b/pandora_console/include/help/en/help_ff_timeout.php @@ -0,0 +1,52 @@ + +

Module Flip Flop Timeout

+ +

+ +If FF threshold is greater than 0, several consecutive values are required to change the status of a module. This works well for synchronous modules, but since asynchronous modules do not send data at regular intervals, checking for consecutive values may not be that useful if they are far away in time. Thus, if FF timeout is greater than 0, consecutive values must occur within the configured time interval. + +For example, an asynchronous proc module with a FF threshold of 1 and a FF timeout of 600 (10 minutes) would behave in the following way: + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TimeDataStatus change
12:001No
12:050No
12:200No
12:251No
12:450No
12:500Yes
+ +

+ diff --git a/pandora_console/include/help/es/help_ff_interval.php b/pandora_console/include/help/es/help_ff_interval.php new file mode 100644 index 0000000000..a661dca837 --- /dev/null +++ b/pandora_console/include/help/es/help_ff_interval.php @@ -0,0 +1,57 @@ + +

Intervalo de Flip Flop del Módulo

+ +

+ +Si el umbral de FF es mayor que 0, se necesitan varios valores consecutivos para cambiar el estado del módulo. Pero si desea que las subsiguientes comprobaciones se ejecuten con un intervalo diferente lo puede especificar mediante el intervalo de FF. + +Por ejemplo, un módulo de ping con un intervalo de 5 minutos, un umbral de FF de 1 y un intervalo de FF de 60 segundos se comportaría de la siguiente forma: + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TimeDataStatus change
12:001No
12:051No
12:100No
12:111No
12:161No
12:210No
12:220Yes
+ +

+ diff --git a/pandora_console/include/help/es/help_ff_threshold.php b/pandora_console/include/help/es/help_ff_threshold.php index f9476f51d2..7bea60ade0 100644 --- a/pandora_console/include/help/es/help_ff_threshold.php +++ b/pandora_console/include/help/es/help_ff_threshold.php @@ -46,6 +46,4 @@ Desde este punto lo vería como caído, pero no antes. La protección anti FLip-flop se usa para evitar estas fluctuaciones tan molestas, todos los módulos la implementan y la utilizan para evitar el cambio de estado (definido por sus limites definidos o sus sistemas diferenciales, como por ejemplo ocurre con los módulos *proc).

-AVISO: Dado que los modulos KeepAlive solo cambian de estado una vez, este parámetro no se debería usar nunca con modulos Keepalive. - diff --git a/pandora_console/include/help/es/help_ff_timeout.php b/pandora_console/include/help/es/help_ff_timeout.php new file mode 100644 index 0000000000..d41f1751fe --- /dev/null +++ b/pandora_console/include/help/es/help_ff_timeout.php @@ -0,0 +1,52 @@ + +

Timeout de Flip Flop del módulo

+ +

+ +Si el umbral de FF es mayor que 0, se necesitan varios valores consecutivos para cambiar el estado del módulo. Pero si desea que las subsiguientes comprobaciones se ejecuten con un intervalo diferente lo puede especificar mediante el intervalo FF. Esto funciona bien para módulos síncronos, pero como los módulos asíncronos no envían datos en intervalos regulares, comprobar valores consecutivos puede no resultar muy útil si están muy separados en el tiempo. Así, si el timeout de FF del módulo es mayor que 0, los valores consecutivos deben ocurrir dentro del intervalo de tiempo especificado. + +Por ejemplo, un módulo asíncrono de tipo proc con un umbral de FF de 1 y un timeout de FF de 600 (10 minutos) se comportaría de la siguiente forma: + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TimeDataStatus change
12:001No
12:050No
12:200No
12:251No
12:450No
12:500Yes
+ +

+ diff --git a/pandora_console/include/help/ja/help_ff_interval.php b/pandora_console/include/help/ja/help_ff_interval.php new file mode 100644 index 0000000000..44a039a2be --- /dev/null +++ b/pandora_console/include/help/ja/help_ff_interval.php @@ -0,0 +1,57 @@ + +

Module Flip Flop Interval

+ +

+ +If FF threshold is greater than 0, several consecutive values are required to change the status of a module. But if you want subsequent cheks to be performed at a different interval you can specify it with FF interval. + +For example, a ping module with a 5 minute interval, a FF threshold of 1 and a FF interval of 60 seconds would behave in the following way: + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TimeDataStatus change
12:001No
12:051No
12:100No
12:111No
12:161No
12:210No
12:220Yes
+ +

+ diff --git a/pandora_console/include/help/ja/help_ff_threshold.php b/pandora_console/include/help/ja/help_ff_threshold.php index 35dacec009..3e25b90c37 100644 --- a/pandora_console/include/help/ja/help_ff_threshold.php +++ b/pandora_console/include/help/ja/help_ff_threshold.php @@ -45,4 +45,3 @@ この機能は、すべてのモジュールにおいて実装されています。

-注意: Keepalive は 1回の変化のみ通知するため、KeepAlive モジュールではこのパラメータは使わないでください。 diff --git a/pandora_console/include/help/ja/help_ff_timeout.php b/pandora_console/include/help/ja/help_ff_timeout.php new file mode 100644 index 0000000000..9dbf287c62 --- /dev/null +++ b/pandora_console/include/help/ja/help_ff_timeout.php @@ -0,0 +1,52 @@ + +

Module Flip Flop Timeout

+ +

+ +If FF threshold is greater than 0, several consecutive values are required to change the status of a module. This works well for synchronous modules, but since asynchronous modules do not send data at regular intervals, checking for consecutive values may not be that useful if they are far away in time. Thus, if FF timeout is greater than 0, consecutive values must occur within the configured time interval. + +For example, an asynchronous proc module with a FF threshold of 1 and a FF timeout of 600 (10 minutes) would behave in the following way: + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TimeDataStatus change
12:001No
12:050No
12:200No
12:251No
12:450No
12:500Yes
+ +

+