mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
2013-08-14 Ramon Novoa <rnovoa@artica.es>
* godmode/agentes/module_manager_editor_plugin.php, include/help/ja/help_web_checks.php, include/help/ja/help_plugin_macros.php, include/help/en/help_plugin_macros.php, include/help/en/help_web_checks.php, include/help/en/help_snmp_alert_field1.php, include/help/es/help_plugin_macros.php, include/help/es/help_snmp_alert_field1.php, include/help/es/help_web_checks.php: Updated help files. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8664 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
4eeb07ccc3
commit
cb9bec2ffc
@ -1,3 +1,15 @@
|
|||||||
|
2013-08-14 Ramon Novoa <rnovoa@artica.es>
|
||||||
|
|
||||||
|
* godmode/agentes/module_manager_editor_plugin.php,
|
||||||
|
include/help/ja/help_web_checks.php,
|
||||||
|
include/help/ja/help_plugin_macros.php,
|
||||||
|
include/help/en/help_plugin_macros.php,
|
||||||
|
include/help/en/help_web_checks.php,
|
||||||
|
include/help/en/help_snmp_alert_field1.php,
|
||||||
|
include/help/es/help_plugin_macros.php,
|
||||||
|
include/help/es/help_snmp_alert_field1.php,
|
||||||
|
include/help/es/help_web_checks.php: Updated help files.
|
||||||
|
|
||||||
2013-08-14 Koichiro Kikuchi <koichiro@rworks.jp>
|
2013-08-14 Koichiro Kikuchi <koichiro@rworks.jp>
|
||||||
|
|
||||||
* index.php: Improve footer layout.
|
* index.php: Improve footer layout.
|
||||||
|
@ -44,7 +44,7 @@ else {
|
|||||||
$extra_title = __('Plugin server module');
|
$extra_title = __('Plugin server module');
|
||||||
|
|
||||||
$data = array ();
|
$data = array ();
|
||||||
$data[0] = __('Plugin');
|
$data[0] = __('Plugin') . ui_print_help_icon ('plugin_macros', true);
|
||||||
$data[1] = html_print_select_from_sql ('SELECT id, name FROM tplugin ORDER BY name',
|
$data[1] = html_print_select_from_sql ('SELECT id, name FROM tplugin ORDER BY name',
|
||||||
'id_plugin', $id_plugin, 'changePluginSelect();', __('None'), 0, true, false, false, $disabledBecauseInPolicy);
|
'id_plugin', $id_plugin, 'changePluginSelect();', __('None'), 0, true, false, false, $disabledBecauseInPolicy);
|
||||||
// Store the macros in base64 into a hidden control to move between pages
|
// Store the macros in base64 into a hidden control to move between pages
|
||||||
|
31
pandora_console/include/help/en/help_plugin_macros.php
Normal file
31
pandora_console/include/help/en/help_plugin_macros.php
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* @package Include/help/en
|
||||||
|
*/
|
||||||
|
?>
|
||||||
|
<h1>Plug-in macros</h1>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
The following macros are available:
|
||||||
|
<ul>
|
||||||
|
<li>_agent_ : Name of the agent that fired the alert.</li>
|
||||||
|
<li>_agentdescription_ : Description of the agent who fired alert.</li>
|
||||||
|
<li>_agentgroup_ : Agent group name.</li>
|
||||||
|
<li>_agentstatus_ : Current status of the agent.</li>
|
||||||
|
<li>_address_ : Address of the agent that fired the alert.</li>
|
||||||
|
<li>_module_ : Module name.</li>
|
||||||
|
<li>_modulegroup_ : Module group name.</li>
|
||||||
|
<li>_moduledescription_ : Description of the module who fired the alert.</li>
|
||||||
|
<li>_modulestatus_ : Status of the module.</li>
|
||||||
|
<li>_moduletags_ : Tags associated to the module.</li>
|
||||||
|
<li>_id_agent_ : Id of agent, useful to build direct URL to redirect to a Pandora FMS console webpage.</li>
|
||||||
|
<li>_policy_ : Name of the policy the module belongs to (if applies).</li>
|
||||||
|
<li>_interval_ : Execution interval of the module. </li>
|
||||||
|
<li>_target_ip_ : IP address of the target of the module.</li>
|
||||||
|
<li>_target_port_ : Port number of the target of the module.</li>
|
||||||
|
<li>_plugin_parameters_ : Plug-in Parameters of the module.</li>
|
||||||
|
<li>_email_tag_ : Emails associated to the module tags.</li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
<p>
|
||||||
|
</p>
|
@ -18,4 +18,6 @@ You can use these macros in FieldX (1-10) of any alert
|
|||||||
<b>_AGENT_</b>: Agent name<br>
|
<b>_AGENT_</b>: Agent name<br>
|
||||||
<b>_IP_</b>: IP Address<br>
|
<b>_IP_</b>: IP Address<br>
|
||||||
<b>_TIMESTAMP_</b>: Trap date<br>
|
<b>_TIMESTAMP_</b>: Trap date<br>
|
||||||
|
<b>_SNMP_OID_</b>: Trap OID<br>
|
||||||
|
<b>_SNMP_VALUE_</b>: Trap OID value<br>
|
||||||
</p>
|
</p>
|
||||||
|
@ -12,8 +12,6 @@ This is a sample of GOLIAT Webcheck module:
|
|||||||
<br />
|
<br />
|
||||||
</p>
|
</p>
|
||||||
<pre>
|
<pre>
|
||||||
|
|
||||||
|
|
||||||
task_begin
|
task_begin
|
||||||
post http://galaga.artica.es/pandora/index.php?login=1
|
post http://galaga.artica.es/pandora/index.php?login=1
|
||||||
variable_name nick
|
variable_name nick
|
||||||
@ -30,6 +28,39 @@ cookie 1
|
|||||||
resource 1
|
resource 1
|
||||||
check_string Read messages
|
check_string Read messages
|
||||||
task_end
|
task_end
|
||||||
|
</pre>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
The following macros are available:
|
||||||
|
<ul>
|
||||||
|
<li>_agent_ : Name of the agent that fired the alert.</li>
|
||||||
|
<li>_agentdescription_ : Description of the agent who fired alert.</li>
|
||||||
|
<li>_agentgroup_ : Agent group name.</li>
|
||||||
|
<li>_agentstatus_ : Current status of the agent.</li>
|
||||||
|
<li>_address_ : Address of the agent that fired the alert.</li>
|
||||||
|
<li>_module_ : Module name.</li>
|
||||||
|
<li>_modulegroup_ : Module group name.</li>
|
||||||
|
<li>_moduledescription_ : Description of the module who fired the alert.</li>
|
||||||
|
<li>_modulestatus_ : Status of the module.</li>
|
||||||
|
<li>_moduletags_ : Tags associated to the module.</li>
|
||||||
|
<li>_id_agent_ : Id of agent, useful to build direct URL to redirect to a Pandora FMS console webpage.</li>
|
||||||
|
<li>_policy_ : Name of the policy the module belongs to (if applies).</li>
|
||||||
|
<li>_interval_ : Execution interval of the module. </li>
|
||||||
|
<li>_target_ip_ : IP address of the target of the module.</li>
|
||||||
|
<li>_target_port_ : Port number of the target of the module.</li>
|
||||||
|
<li>_plugin_parameters_ : Plug-in Parameters of the module.</li>
|
||||||
|
<li>_email_tag_ : Emails associated to the module tags.</li>
|
||||||
|
|
||||||
</pre>
|
</ul>
|
||||||
|
<p>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
For example:
|
||||||
|
<pre>
|
||||||
|
task_begin
|
||||||
|
get http://_address_
|
||||||
|
check_string _module_
|
||||||
|
task_end
|
||||||
|
|
||||||
|
</pre>
|
||||||
|
</p>
|
||||||
|
29
pandora_console/include/help/es/help_plugin_macros.php
Normal file
29
pandora_console/include/help/es/help_plugin_macros.php
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* @package Include/help/en
|
||||||
|
*/
|
||||||
|
?>
|
||||||
|
<h1>Macros de plug-in</h1>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Las siguientes macros están disponibles:
|
||||||
|
</p>
|
||||||
|
<ul>
|
||||||
|
<li>_agentdescription_ : Descripción del agente que disparó la alerta.</li>
|
||||||
|
<li>_agentgroup_ : Nombre del grupo del agente.</li>
|
||||||
|
<li>_agentstatus_ : Estado actual del agente.</li>
|
||||||
|
<li>_address_: Dirección del agente que disparó la alerta.</li>
|
||||||
|
<li>_module_: Nombre del módulo</li>
|
||||||
|
<li>_modulegroup_ : Nombre del grupo del módulo.</li>
|
||||||
|
<li>_moduledescription_: Descripcion del modulo.</li>
|
||||||
|
<li>_modulestatus_ : Estado del módulo.</li>
|
||||||
|
<li>_moduletags_ : Etiquetas asociadas al módulo.</li>
|
||||||
|
<li>_id_agent_: ID del agente, util para construir URL de acceso a la consola de Pandora.</li>
|
||||||
|
<li>_policy_: Nombre de la política a la que pertenece el módulo (si aplica).</li>
|
||||||
|
<li>_interval_ : Intervalo de la ejecución del módulo. </li>
|
||||||
|
<li>_target_ip_ : Dirección IP del objetivo del módulo.</li>
|
||||||
|
<li>_target_port_ : Puerto del objetivo del módulo.</li>
|
||||||
|
<li>_plugin_parameters_ : Parámetros del Plug-in del módulo.</li>
|
||||||
|
<li>_email_tag_ : Emails asociados a los tags de módulos.</li>
|
||||||
|
|
||||||
|
</ul>
|
@ -18,5 +18,6 @@ Puede usar esas macros en los campos FieldX (1-10) de cualquier alerta.
|
|||||||
<b>_AGENT_</b>: Nombre del Agente <br>
|
<b>_AGENT_</b>: Nombre del Agente <br>
|
||||||
<b>_IP_</b>: Dirección IP<br>
|
<b>_IP_</b>: Dirección IP<br>
|
||||||
<b>_TIMESTAMP_</b>: Fecha trap<br>
|
<b>_TIMESTAMP_</b>: Fecha trap<br>
|
||||||
|
<b>_SNMP_OID_</b>: OID del trap<br>
|
||||||
|
<b>_SNMP_VALUE_</b>: Valor del OID del trap<br>
|
||||||
</p>
|
</p>
|
||||||
|
@ -13,8 +13,6 @@ Este es un ejemplo del modulo Webcheck de GOLIAT:
|
|||||||
<br />
|
<br />
|
||||||
</p>
|
</p>
|
||||||
<pre>
|
<pre>
|
||||||
|
|
||||||
|
|
||||||
task_begin
|
task_begin
|
||||||
post http://galaga.artica.es/pandora/index.php?login=1
|
post http://galaga.artica.es/pandora/index.php?login=1
|
||||||
variable_name nick
|
variable_name nick
|
||||||
@ -31,6 +29,35 @@ cookie 1
|
|||||||
resource 1
|
resource 1
|
||||||
check_string Read messages
|
check_string Read messages
|
||||||
task_end
|
task_end
|
||||||
|
</pre>
|
||||||
|
<p>
|
||||||
|
Las siguientes macros están disponibles:
|
||||||
|
</p>
|
||||||
|
<ul>
|
||||||
|
<li>_agentdescription_ : Descripción del agente que disparó la alerta.</li>
|
||||||
|
<li>_agentgroup_ : Nombre del grupo del agente.</li>
|
||||||
|
<li>_agentstatus_ : Estado actual del agente.</li>
|
||||||
|
<li>_address_: Dirección del agente que disparó la alerta.</li>
|
||||||
|
<li>_module_: Nombre del módulo</li>
|
||||||
|
<li>_modulegroup_ : Nombre del grupo del módulo.</li>
|
||||||
|
<li>_moduledescription_: Descripcion del modulo.</li>
|
||||||
|
<li>_modulestatus_ : Estado del módulo.</li>
|
||||||
|
<li>_moduletags_ : Etiquetas asociadas al módulo.</li>
|
||||||
|
<li>_id_agent_: ID del agente, util para construir URL de acceso a la consola de Pandora.</li>
|
||||||
|
<li>_policy_: Nombre de la política a la que pertenece el módulo (si aplica).</li>
|
||||||
|
<li>_interval_ : Intervalo de la ejecución del módulo. </li>
|
||||||
|
<li>_target_ip_ : Dirección IP del objetivo del módulo.</li>
|
||||||
|
<li>_target_port_ : Puerto del objetivo del módulo.</li>
|
||||||
|
<li>_plugin_parameters_ : Parámetros del Plug-in del módulo.</li>
|
||||||
|
<li>_email_tag_ : Emails asociados a los tags de módulos.</li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
</pre>
|
<p>
|
||||||
|
Por ejemplo:
|
||||||
|
<pre>
|
||||||
|
task_begin
|
||||||
|
get http://_address_
|
||||||
|
check_string _module_
|
||||||
|
task_end
|
||||||
|
</pre>
|
||||||
|
</p>
|
||||||
|
30
pandora_console/include/help/ja/help_plugin_macros.php
Normal file
30
pandora_console/include/help/ja/help_plugin_macros.php
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* @package Include/help/ja
|
||||||
|
*/
|
||||||
|
?>
|
||||||
|
<h1>プラグインマクロ</h1>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
次のマクロが利用できます:
|
||||||
|
</p>
|
||||||
|
<ul>
|
||||||
|
<li>_agent_ : アラートが発生したエージェント</li>
|
||||||
|
<li>_agentdescription_ : 発生したアラートの説明</li>
|
||||||
|
<li>_agentgroup_ : エージェントグループ名</li>
|
||||||
|
<li>_agentstatus : エージェントの現在の状態</li>
|
||||||
|
<li>_address_ : アラートが発生したエージェントのアドレス</li>
|
||||||
|
<li>_module_ : モジュール名</li>
|
||||||
|
<li>_modulegroup_ : モジュールグループ名</li>
|
||||||
|
<li>_moduledescription_ : アラートが発生したモジュールの説明</li>
|
||||||
|
<li>_modulestatus_ : モジュールの状態</li>
|
||||||
|
<li>_moduletags_ : モジュールに関連付けられたタグ</li>
|
||||||
|
<li>_id_agent_ : エージェントのID / Webコンソールへのリンクを生成するのに便利です</li>
|
||||||
|
<li>_policy_ : モジュールが属するポリシー名 (存在する場合)</li>
|
||||||
|
<li>_interval_ : モジュールの実行間隔</li>
|
||||||
|
<li>_target_ip_ : モジュールの対象IPアドレス</li>
|
||||||
|
<li>_target_port_ : モジュールの対象ポート</li>
|
||||||
|
<li>_plugin_parameters_ : モジュールのプラグインパラメータ</li>
|
||||||
|
<li>_email_tag_ : モジュールタグに関連付けられた Email。</li>
|
||||||
|
|
||||||
|
</ul>
|
@ -12,8 +12,6 @@
|
|||||||
<br>
|
<br>
|
||||||
</p>
|
</p>
|
||||||
<pre>
|
<pre>
|
||||||
|
|
||||||
|
|
||||||
task_begin
|
task_begin
|
||||||
post http://galaga.artica.es/pandora/index.php?login=1
|
post http://galaga.artica.es/pandora/index.php?login=1
|
||||||
variable_name nick
|
variable_name nick
|
||||||
@ -30,6 +28,36 @@ cookie 1
|
|||||||
resource 1
|
resource 1
|
||||||
check_string Read messages
|
check_string Read messages
|
||||||
task_end
|
task_end
|
||||||
|
|
||||||
|
|
||||||
</pre>
|
</pre>
|
||||||
|
<p>
|
||||||
|
次のマクロが利用できます:
|
||||||
|
</p>
|
||||||
|
<ul>
|
||||||
|
<li>_agent_ : アラートが発生したエージェント</li>
|
||||||
|
<li>_agentdescription_ : 発生したアラートの説明</li>
|
||||||
|
<li>_agentgroup_ : エージェントグループ名</li>
|
||||||
|
<li>_agentstatus : エージェントの現在の状態</li>
|
||||||
|
<li>_address_ : アラートが発生したエージェントのアドレス</li>
|
||||||
|
<li>_module_ : モジュール名</li>
|
||||||
|
<li>_modulegroup_ : モジュールグループ名</li>
|
||||||
|
<li>_moduledescription_ : アラートが発生したモジュールの説明</li>
|
||||||
|
<li>_modulestatus_ : モジュールの状態</li>
|
||||||
|
<li>_moduletags_ : モジュールに関連付けられたタグ</li>
|
||||||
|
<li>_id_agent_ : エージェントのID / Webコンソールへのリンクを生成するのに便利です</li>
|
||||||
|
<li>_policy_ : モジュールが属するポリシー名 (存在する場合)</li>
|
||||||
|
<li>_interval_ : モジュールの実行間隔</li>
|
||||||
|
<li>_target_ip_ : モジュールの対象IPアドレス</li>
|
||||||
|
<li>_target_port_ : モジュールの対象ポート</li>
|
||||||
|
<li>_plugin_parameters_ : モジュールのプラグインパラメータ</li>
|
||||||
|
<li>_email_tag_ : モジュールタグに関連付けられた Email。</li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
<p>
|
||||||
|
例:
|
||||||
|
<pre>
|
||||||
|
task_begin
|
||||||
|
get http://_address_
|
||||||
|
check_string _module_
|
||||||
|
task_end
|
||||||
|
</pre>
|
||||||
|
</p>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user