ja:documentation:08_technical_reference:02_annex_externalapi

差分

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

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
次のリビジョン両方とも次のリビジョン
ja:documentation:08_technical_reference:02_annex_externalapi [2022/11/25 22:30] – [get tags] junichija:documentation:08_technical_reference:02_annex_externalapi [2022/12/26 08:51] – [set delete_module] junichi
行 992: 行 992:
   * ''other=''< フィールドセパレータ > CSV フォーマットを指定した場合はフィールドセパレータは必須です。指定しないと各フィールドが一緒に返されます。   * ''other=''< フィールドセパレータ > CSV フォーマットを指定した場合はフィールドセパレータは必須です。指定しないと各フィールドが一緒に返されます。
  
-**例**+Example (see [[:en:documentation:08_technical_reference:02_annex_externalapi#pandora_fms_external_api|call syntax]]): 
 + 
 +**例** ([[:ja:documentation:08_technical_reference:02_annex_externalapi#pandora_fms_外部_api|書式]]を参照):
  
 This example will return all tags in the system in CSV format with semicolon separator. This example will return all tags in the system in CSV format with semicolon separator.
行 4585: 行 4587:
 モジュールを削除します。 モジュールを削除します。
  
-書式:+<WRAP center round info 75%>
  
-  * op=set (必須) +From version 768 onwards, if the module to be deleted (e.g. //[[:en:documentation:03_monitoring:03_remote_monitoring#example_of_host_alive_module_creation|Host Alive]]// is the //parent// of another module ("[[:en:documentation:03_monitoring:01_intro_monitoring#advanced_options|Cascading Protection Services]]" functionality), the //child// modules will also be deleted.
-  * op2=delete_module (必須) +
-  * id=<エージェント名> (必須) +
-  * id2=<モジュール名> (必須) +
-  * other=simulate (オプション) +
-      * <エージェントの別名の利用> (値は 0 または 1 です)+
  
-**例** +</WRAP>
-<code>+
  
-http://127.0.0.1/pandora_console/include/api.php?op=set&op2=delete_module&id=miguel-portatil&id2=juanito&other=simulate+<WRAP center round info 75%>
  
-</code>+バージョン 768 以降、削除するモジュール (例: //[[:ja:documentation:03_monitoring:03_remote_monitoring#host_alive_モジュール作成の例|Host Alive]]// ) が別のモジュールの //親// ("[[:ja:documentation:03_monitoring:01_intro_monitoring#高度なオプション|関連障害検知抑制]]" が有効)である場合、 //子// モジュールも削除されます。 
 + 
 +</WRAP> 
 + 
 +[[:en:documentation:08_technical_reference:02_annex_externalapi#pandora_fms_external_api|Call syntax]]: 
 + 
 +[[:ja:documentation:08_technical_reference:02_annex_externalapi#pandora_fms_外部_api|書式]]: 
 + 
 +  * ''op=set''  (required). 
 +  * ''op2=delete_module''  (obligatorio) 
 +  * ''id=''< agent name > (obligatorio). 
 +  * ''id2=''< module name > (obligatorio). 
 + 
 +  * ''op=set'' (必須) 
 +  * ''op2=delete_module'' (必須) 
 +  * ''id=''<エージェント名> (必須) 
 +  * ''id2=''<モジュール名> (必須) 
 + 
 +**Example (see **  [[:en:documentation:08_technical_reference:02_annex_externalapi#pandora_fms_external_api|call syntax]]**):** 
 + 
 +**例 (**[[:ja:documentation:08_technical_reference:02_annex_externalapi#pandora_fms_外部_api|書式]]**を参照):** 
 + 
 +<code bash> 
 +.../include/api.php?op=set&op2=delete_module&id=example&id2=example2&apipass=1234&user=admin&pass=pandora&other_mode=url_encode_separator_|
  
-<code> 
-http://127.0.0.1/pandora_console/include/api.php?op=set&op2=delete_module&id=miguel-portatil&id2=juanito 
  
 </code> </code>