トリガーの詳細
| ホスト | shinjiro16 |
| トリガー | Interface wlp2s0: Link down |
| 深刻度 | 軽度の障害 |
| 障害の条件式 | *ERROR*=1 and ({shinjiro16:vfs.file.contents["/sys/class/net/wlp2s0/operstate"].last()}=2 and {shinjiro16:vfs.file.contents["/sys/class/net/wlp2s0/operstate"].diff()}=1) |
| 復旧条件式 | {shinjiro16:vfs.file.contents["/sys/class/net/wlp2s0/operstate"].last()}<>2 or *ERROR*=0 |
| イベント生成 | ノーマル |
| 手動クローズを許可 | はい |
| 有効 | はい |
イベント詳細
| イベント | Interface wlp2s0: Link down | ||||
| 運用データ | Current state:
| ||||
| 深刻度 | 軽度の障害 | ||||
| 時間 | 2026/02/11 18:35:56 | ||||
| 確認済 | いいえ | ||||
| タグ | |||||
| 説明 | This trigger expression works as follows: 1. Can be triggered if operations status is down. 2. {$IFCONTROL:"wlp2s0"}=1 - user can redefine Context macro to value - 0. That marks this interface as not important. No new trigger will be fired if this interface is down. 3. {TEMPLATE_NAME:METRIC.diff()}=1) - trigger fires only if operational status was up(1) sometime before. (So, do not fire 'ethernal off' interfaces.) WARNING: if closed manually - won't fire again on next poll, because of .diff. |
アクション
| ステップ | 時間 | ユーザー/送信先 | アクション | メッセージ/コマンド | ステータス | 情報 |
|---|---|---|---|---|---|---|
| 2026/02/11 18:35:56 |
イベントリスト [直近20]
| 時間 | 復旧時刻 | ステータス | 経過時間 | 継続期間 | 確認済 | アクション |
|---|---|---|---|---|---|---|
| 2026/02/11 18:35:56 | 障害 | 1M 21d 17h | 1M 21d 17h | いいえ |