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/03/24 04:30] – [Windows システムでの実行] junichi
行 64: 行 64:
 <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>
行 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 システムでの実行 ====
  • ja/documentation/pandorafms/monitoring/02_operations.txt
  • 最終更新: 2024/05/12 08:02
  • by junichi