差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
ja:documentation:pandorafms:technical_reference:02_annex_externalapi [2024/09/16 06:10] – [set create_event] junichi | ja:documentation:pandorafms:technical_reference:02_annex_externalapi [2024/11/09 23:22] (現在) – [get special_days] junichi | ||
---|---|---|---|
行 755: | 行 755: | ||
== get agent_module_name_last_value_alias == | == get agent_module_name_last_value_alias == | ||
- | >= 7.0NG | + | <WRAP center round box 90%> |
- | モジュールの最新の値を返します。このモジュールは、パラメータ id で渡されるエージェントの別名と、パラメータ id2 で渡されるモジュール名でフィルタされます。other | + | This feature also works in Command Center (Metaconsole). |
- | 書式: | + | </ |
- | * op=get (必須) | + | <WRAP center round box 90%> |
- | * op2=agent_module_name_last_value_alias (必須) | + | |
- | * id=<英数字>(必須) エージェント名。 | + | |
- | * id2=< | + | |
- | * other=< | + | |
- | * エラーコードは次の通りです: | + | |
- | * ' | + | |
- | * ' | + | |
- | **例** | + | この機能はコマンドセンター (メタコンソール) でも動作します。 |
- | < | + | </WRAP> |
- | http://127.0.0.1/ | + | |
+ | Returns the last value of a module, which is selected by alias of the agent passed by the '' | ||
+ | |||
+ | モジュールの最新の値を返します。このモジュールは、パラメータ '' | ||
+ | |||
+ | [[#ks2|Call syntax]]: | ||
+ | |||
+ | [[# | ||
+ | |||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | - error_message : Returns error in a text message. | ||
+ | - error_value< | ||
+ | |||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | - error_message: | ||
+ | - error_value< | ||
+ | |||
+ | **Example (see [[# | ||
+ | |||
+ | **例 ([[# | ||
+ | |||
+ | <code bash> | ||
+ | …/ | ||
</ | </ | ||
行 1708: | 行 1735: | ||
== get special_days == | == get special_days == | ||
- | >= 5.1 | + | Returns a list with special days. It allows to specify a field separator, being these: |
- | 特別日一覧を返します。 | + | 特別日のリストを返します。次のデータを表示するためのフィールド区切り文字を指定できます: |
- | 書式: | + | - Numerical ID of the special day. |
+ | - Numerical ID of the calendar to which this special day belongs. | ||
+ | - Numerical ID of the group to which the special day belongs. | ||
+ | - Date of the special day in the format '' | ||
+ | - Numeric ID of the same day of the week configured for that special day. | ||
+ | - Description of the special day. | ||
- | | + | |
- | | + | |
- | | + | |
+ | - 特別日の日付 (形式は '' | ||
+ | - その特別日に設定されている同じ曜日の数値 ID。 | ||
+ | - 特別日の説明。 | ||
- | **例** | + | [[#ks2|Call syntax]]: |
- | < | + | [[# |
- | http://127.0.0.1/ | + | |
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | **Example (see [[#ks2|call syntax]]): | ||
+ | |||
+ | **例 ([[# | ||
+ | |||
+ | <code bash> | ||
+ | …/ | ||
</ | </ |