ja:documentation:pandorafms:management_and_operation:01_alerts

差分

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

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
ja:documentation:pandorafms:management_and_operation:01_alerts [2026/03/21 04:28] – [アラートの概要] junichija:documentation:pandorafms:management_and_operation:01_alerts [2026/04/18 06:34] (現在) – [アラートの仕組] junichi
行 33: 行 33:
 ==== アラートの仕組 ==== ==== アラートの仕組 ====
  
-{{  :wiki:esquema-alert-structure.png  }}+{{  :wiki:pfms-alerts-alert_structure.png?700  }}
  
-  * **[[#ks2|Commands]]**: Specify //what will be done//; It will be the execution that Pandora FMS server will carry out when triggering the alert. +  * **[[#ks2|Commands]]**: Specify //what will be done;// it will be the execution that Pandora FMS server will carry out when triggering the alert. 
-  * **[[#ks3|Actions]]**: Specify //how it will be done;//  they are the customizations of the command arguments. +  * **[[#ks3|Actions]]**: Specify //how it will be done;// they are the customizations of the command arguments. 
-  * **[[#ks4|Templates]]**: Specify //when it will be done;//  define the conditions for triggering the action(s).+  * **[[#ks4|Templates]]**: Specify //when it will be done;// define the conditions for triggering the action(s).
  
   * **[[#ks2|コマンド]]**: アラートが発生したときに Pandora FMS サーバが実行するコマンド定義します。コマンドの例としては、ログへの書き込み、email または SMS の送信、スクリプトの実行などです。   * **[[#ks2|コマンド]]**: アラートが発生したときに Pandora FMS サーバが実行するコマンド定義します。コマンドの例としては、ログへの書き込み、email または SMS の送信、スクリプトの実行などです。
行 1475: 行 1475:
 |  ''_lastdatatimestamp_''  |Last date and time of check received by a module (useful for unknown transition alerts).| |  ''_lastdatatimestamp_''  |Last date and time of check received by a module (useful for unknown transition alerts).|
 |  ''_lastdatatime_''  |Last date and time of check received (in Unix time format) by a module (useful for unknown transition alerts).| |  ''_lastdatatime_''  |Last date and time of check received (in Unix time format) by a module (useful for unknown transition alerts).|
 +|  ''_logTimestamp_''  | Timestamp when the log was created. |
 +|  ''_logSource_''  | Source of the log that triggered the alert. |
  
 ^ マクロ ^ 説明 ^ ^ マクロ ^ 説明 ^
 | ''_lastdatatimestamp_'' |モジュールが最後に受信したチェックの日時(不明な遷移アラートに便利です)。| | ''_lastdatatimestamp_'' |モジュールが最後に受信したチェックの日時(不明な遷移アラートに便利です)。|
 | ''_lastdatatime_'' |モジュールが最後に受信したチェックの日時(Unix 時刻形式)(不明な遷移アラートに便利です)。| | ''_lastdatatime_'' |モジュールが最後に受信したチェックの日時(Unix 時刻形式)(不明な遷移アラートに便利です)。|
 +|  ''_logTimestamp_''  | ログが作成された時刻のタイムスタンプ。|
 +|  ''_logSource_''  | アラートを発報したログのソース。 |
  
 ^  Macro  ^  Description  ^ ^  Macro  ^  Description  ^
行 1545: 行 1549:
 |  ''_target_ip_''  |IP address of the Module target.| |  ''_target_ip_''  |IP address of the Module target.|
 |  ''_target_port_''  |Module target port.| |  ''_target_port_''  |Module target port.|
 +|  ''_telegramtoken_''  |It is replaced by the token configured in <wrap :en>**Management → Settings → System settings → General setup → Alerts configuration → Telegram configuration**</wrap>.|
 |  ''_timestamp_''  |Time and date the alert was triggered.| |  ''_timestamp_''  |Time and date the alert was triggered.|
 |  ''_time_down_human_''  |This macro only works for recovery alerts: \\ Downtime or offline time in long format, such as: "1day 10h 35m 40s".| |  ''_time_down_human_''  |This macro only works for recovery alerts: \\ Downtime or offline time in long format, such as: "1day 10h 35m 40s".|
行 1553: 行 1558:
 | ''_target_ip_'' |モジュールターゲットの IP アドレス。| | ''_target_ip_'' |モジュールターゲットの IP アドレス。|
 | ''_target_port_'' |モジュールターゲットのポート番号。| | ''_target_port_'' |モジュールターゲットのポート番号。|
 +|  ''_telegramtoken_''  |これは、<wrap :ja>**管理(Management) → セットアップ(Settings) → システム設定(System settings) → 一般設定(General setup) → アラート設定(Alerts configuration) → Telegram設定(Telegram configuration)**</wrap>で設定されたトークンに置き換えられます。|
 | ''_timestamp_'' |アラートが発報された日時。| | ''_timestamp_'' |アラートが発報された日時。|
 | ''_time_down_human_'' |このマクロは復旧アラートにのみ機能します: \\ ダウンタイムまたはオフライン時間 (長い形式、例: "1day 10h 35m 40s")。| | ''_time_down_human_'' |このマクロは復旧アラートにのみ機能します: \\ ダウンタイムまたはオフライン時間 (長い形式、例: "1day 10h 35m 40s")。|
  • ja/documentation/pandorafms/management_and_operation/01_alerts.1774067310.txt.gz
  • 最終更新: 2026/03/21 04:28
  • by junichi