ja:documentation:pandorafms:monitoring:02_operations

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
ja:documentation:pandorafms:monitoring:02_operations [2024/02/05 06:38] – [エージェント設定] junichija:documentation:pandorafms:monitoring:02_operations [2024/05/12 08:02] (現在) – [コンソールからの高度なエージェントプラグイン管理] junichi
行 60: 行 60:
 In [[:en:documentation:01_understanding:03_glossary#nix_environments|*nix environment]], the command **ls**  lists directory files and is executed with the line //module_exec//  to deliver the value to the **wc**  command, which will count the amount of words received for the same number of files. The value returned by this last execution will be the data that the module will obtain and will be displayed in the monitoring. In [[:en:documentation:01_understanding:03_glossary#nix_environments|*nix environment]], the command **ls**  lists directory files and is executed with the line //module_exec//  to deliver the value to the **wc**  command, which will count the amount of words received for the same number of files. The value returned by this last execution will be the data that the module will obtain and will be displayed in the monitoring.
  
-[[:ja:documentation:01_understanding:03_glossary#nix_環境|*nix 環境]] では、コマンド **ls** はディレクトリファイルを一覧表示します。行 //module_exec// でそれを実行し、行数をカウントする **wc** コマンドに値を渡します。 この実行によって返される値は、モジュールが取得するデータであり、監視データとして表示されます。+[[:ja:documentation:pandorafms:understanding:03_glossary#nix_環境|*nix 環境]] では、コマンド **ls** はディレクトリファイルを一覧表示します。行 //module_exec// でそれを実行し、行数をカウントする **wc** コマンドに値を渡します。 この実行によって返される値は、モジュールが取得するデータであり、監視データとして表示されます。
  
 <WRAP center round info 75%> <WRAP center round info 75%>
  
-For the Software Agent on MS Windows® and ''module_name'' instruction, if you want or need to use extended ASCII characters (''áéíóú'', for example) **you must use an external plugin or script**See the [[:en:documentation:03_monitoring:02_operations#plugins_in_software_agents|Software Agent plugin section]].+  * For the Software Agent on MS Windows® and the ''module_name''  instruction, if you wish or need to use extended ASCII characters (''áéíóú'', for example) **use an external plugin or script.**  See [[:en:documentation:pandorafms:monitoring:02_operations#plugins_en_agentes_software|plugin section for Software Agents]]
 +  * For the Software Agent on MS Windows®, ''module_exec_powershell''  is also available for the native check execution with PowerShell®.
  
 </WRAP> </WRAP>
行 70: 行 71:
 <WRAP center round info 75%> <WRAP center round info 75%>
  
-MS Windows® のソフトウェアエージェントで、''module_name'' に拡張 ASCII 文字 (''áéíóú'' など) を使用したい、または使用する必要がある場合は、**外部プラグインまたはスクリプトを使用する必要があります**。 [[:ja:documentation:03_monitoring:02_operations#ソフトウエアエージェントでのプラグインの利用|ソフトウェアエージェントプラグインの章]] を参照してください。+  * MS Windows® のソフトウェアエージェントで、''module_name'' に拡張 ASCII 文字 (''áéíóú'' など) を使用したい、または使用する必要がある場合は、**外部プラグインまたはスクリプトを使用する必要があります**。 [[:ja:documentation:pandorafms:monitoring:02_operations#ソフトウエアエージェントでのプラグインの利用|ソフトウェアエージェントプラグインの章]] を参照してください。 
 +  * MS Windows® 上のソフトウェアエージェントの場合、PowerShell® によるネイティブチェックの実行に ''module_exec_powershell'' も使用できます
  
 </WRAP> </WRAP>
行 108: 行 110:
 === リモート設定 === === リモート設定 ===
  
-<WRAP center round info 60%>+<WRAP center round info 90%>
  
-To enable remote configuration, enable the parameter: ''remote_config 1'' and restart the software agent.+To enable remote configuration, enable the parameter: ''remote_config 1''  and restart the software agent.
  
 </WRAP> </WRAP>
  
-<WRAP center round info 60%>+<WRAP center round info 90%>
  
 リモート設定を有効にするには、パラメータ ''remote_config 1'' を設定し、ソフトウエアエージェントを再起動します。 リモート設定を有効にするには、パラメータ ''remote_config 1'' を設定し、ソフトウエアエージェントを再起動します。
行 120: 行 122:
 </WRAP> </WRAP>
  
-In the Enterprise version it is possible to remotely manage the files of the Software Agents from the Pandora FMS Web Console. The configuration of each agent is stored in the Pandora FMS server in two files: <md5>.conf and <md5>.md5, where <md5> is the hash of the software Agent name. These files are stored respectively in:+Is possible to remotely manage the files of the Software Agents from the Pandora FMS Web Console. The configuration of each agent is stored in the Pandora FMS server in two files: <md5>.conf and <md5>.md5, where <md5> is the hash of the software Agent name. These files are stored respectively in:
  
-Enterprise 版では、Pandora FMS ウェブコンソールからソフトウェアエージェントのファイルをリモートで管理できます。 各エージェントの設定は、Pandora FMS サーバの <md5>.conf と <md5>.md5 という 2 つのファイルに保存されます。<md5> はソフトウェア エージェント名のハッシュです。 これらのファイルはそれぞれ次の場所に保存されます。+Pandora FMS ウェブコンソールからソフトウェアエージェントのファイルをリモートで管理できます。 各エージェントの設定は、Pandora FMS サーバの <md5>.conf と <md5>.md5 という 2 つのファイルに保存されます。<md5> はソフトウェア エージェント名のハッシュです。 これらのファイルはそれぞれ次の場所に保存されます。
  
 <file> <file>
行 295: 行 297:
 <WRAP center round tip 60%> <WRAP center round tip 60%>
  
-{{:wiki:icono-modulo-enterprise.png }}Functionality only for **Enterprise version**; the remote configuration of the respective Software Agent must be enabled.+The remote configuration of the respective Software Agent must be enabled.
  
 </WRAP> </WRAP>
行 301: 行 303:
 <WRAP center round tip 60%> <WRAP center round tip 60%>
  
-{{:wiki:icono-modulo-enterprise.png }}この機能は **Enterprise 版のみ**  です。ソフトウエアエージェントのリモート設定を有効化する必要があります。+ソフトウエアエージェントのリモート設定を有効化する必要があります。
  
 </WRAP> </WRAP>
行 1015: 行 1017:
  
 Windows エージェントでは、さまざまなプラグインを使用できます。 Windows エージェントでは、さまざまなプラグインを使用できます。
 +
 +=== PowerShell チェックの利用 ===
 +
 +From version 776 onwards, there is ''module_exec_powershell'', which allows more complex commands to be entered in PowerShell, with special characters and complex instructions (one instruction delivers results to the next) that are not supported using the ''module_exec''  module.
 +
 +バージョン 776 以降には、''module_exec_powershell'' があり、''module_exec'' モジュールの使用ではサポートされていない特殊文字や複雑な命令 (1 つの命令が次の命令に結果を渡す) を含む、より複雑なコマンドを PowerShell に入力できるようになります。
 +
 +<code powershell>
 +# Example of Powershell execution module
 +module_begin
 +module_name Powershell
 +module_type generic_data_string
 +module_exec_powershell < command_1 > | < command_2 > | … | < command_N >
 +module_end
 +
 +
 +</code>
 +
 +The commands are entered as they are, without the need of quotation marks for them to be processed by PFMS Software Agent (PowerShell commands, on the other hand, may need quotation marks). If the command is not valid, an error is added to the agent log (file ''pandora_agent.log'').
 +
 +コマンドは、PFMS ソフトウェアエージェントによって処理されるように引用符無しにそのまま入力します (一方、PowerShell コマンドには引用符が必要な場合があります)。 コマンドが正しくない場合、エージェントログ (ファイル ''pandora_agent.log'') にエラーが追記されます。
  
 ==== Unix システムでの実行 ==== ==== Unix システムでの実行 ====
行 1034: 行 1057:
 <WRAP center round info 90%> <WRAP center round info 90%>
  
-{{:wiki:icono-modulo-enterprise.png?23x23 |Enterprise Version}}In the **Enterprise** version it is possible to manage without directly editing the configuration file. By having remote configuration enabled, a Software Agent in its administration view will have the plugin editor tab.+By having remote configuration enabled, a Software Agent in its administration view will have the plugin editor tab.
  
 </WRAP> </WRAP>
行 1040: 行 1063:
 <WRAP center round info 90%> <WRAP center round info 90%>
  
-{{:wiki:icono-modulo-enterprise.png?23x23 |Enterprise 版}}**Enterprise** 版では、設定ファイルを直接編集せずに管理することができます。リモート設定を有効にすると、管理画面のソフトウェアエージェントにプラグインエディタータブが表示されます。+リモート設定を有効にすると、設定ファイルを直接編集せずに管理することができます。管理画面のソフトウェアエージェントにプラグインエディタータブが表示されます。
  
 </WRAP> </WRAP>
  
-{{ :wiki:plugin_editor_simple.png?700 }}+{{  :wiki:plugin_editor_simple.png  }}
  
 === 例 1 === === 例 1 ===
行 1092: 行 1115:
  
 ==== コンソールからの高度なエージェントプラグイン管理 ==== ==== コンソールからの高度なエージェントプラグイン管理 ====
- 
-<WRAP center round tip 60%> 
- 
-Version NG 750 or later. 
- 
-</WRAP> 
- 
-<WRAP center round tip 60%> 
- 
-バージョン NG 750 以上 
- 
-</WRAP> 
  
 It is possible to add a token in the agent plugins configuration that when enabled allows the option to 'encapsulate' the plugin definitions inside the ''module_begin'' and ''module_end'' tags. It is possible to add a token in the agent plugins configuration that when enabled allows the option to 'encapsulate' the plugin definitions inside the ''module_begin'' and ''module_end'' tags.
  • ja/documentation/pandorafms/monitoring/02_operations.1707115111.txt.gz
  • 最終更新: 2024/02/05 06:38
  • by junichi