actionで正しい{TRIGGER.NAME}が取得できない。
KAZです。
zabbix1.4.2においてactionで正しい{TRIGGER.NAME}が取得できない事象が発生しましたので展開します。
この件について情報をお持ちの方がいましたら御教授願いたく。
※:恥ずかしながら現在再現確認は取っておりません。
また、下記長文失礼致します。
−設定情報−
【Item】
Description: port postgres (bxxxxxx)
key : net.tcp.port[xxx.xxx.xxx.149,xx33]
Description: port postgres (cxxxxxx)
key : net.tcp.port[xxx.xxx.xxx.149,xx36]
Description: port postgres (jxxxxxx)
key : net.tcp.port[xxx.xxx.xxx.149,xx51]
【Trigger】
Name : port postgres (bxxxxxx)
Expression : {nnnnnnnn:net.tcp.port[xxx.xxx.xxx.149,xx33].last(0)}#1
Name : port postgres (cxxxxxx)
Expression : {nnnnnnnn:net.tcp.port[xxx.xxx.xxx.149,xx36].last(0)}#1
Name : port postgres (jxxxxxx)
Expression : {nnnnnnnn:net.tcp.port[xxx.xxx.xxx.149,xx51].last(0)}#1
【action】
Subject:
xxxxxxxx {TRIGGER.NAME} xxx
Message:
{HOSTNAME}
{TRIGGER.NAME}
{DATE} {TIME}
{TRIGGER.SEVERITY}
−上記設定でトリガーがONになった時の動作−
【Events】
2007.Oct.25 11:40:30 port postgres (cxxxxxx) ON High
2007.Oct.25 11:38:54 port postgres (jxxxxxx) ON High
2007.Oct.25 11:38:27 port postgres (bxxxxxx) ON High
【Action】
2007.Oct.25 11:40:30 Email sent xxxx@xxx.jp Subject: xxxxxxxx port postgres (cxxxxxx) xxx
nnnnnnnn
port postgres (cxxxxxx)
2007.10.25 11:40:30
High
メール件名と本文の{TRIGGER.NAME}で取得したトリガー名がEVENTSの内容と異なっている。
↓
2007.Oct.25 11:38:54 Email sent xxxx@xxx.jp Subject: xxxxxxxx port postgres (cxxxxxx) xxx
nnnnnnnn
port postgres (cxxxxxx)
2007.10.25 11:38:54
High
2007.Oct.25 11:38:27 Email sent xxxx@xxx.jp Subject: xxxxxxxx port postgres (bxxxxxx) xxx
nnnnnnnn
port postgres (bxxxxxx)
2007.10.25 11:38:27
High
KAZ - 投稿数: 1085
KAZです。
再現試験を試みた結果、「トリガーを複製しながら作成した初回のみ発生」しているようです。
※:まだ一回しか再現しておりません。
その後は正しい{TRIGGER.NAME}が取得できている状態です。
当方では暫くの間、再現待ちとなりました。
この件について情報をお持ちの方が居られましたら、情報提供願いたく。
宜しくお願い致します。