Wolfgang
19-04-2005, 19:48
Hello,
using version 1.1A7, it seems that i face a possible race condition using the email notification for triggered events.
My setup:
-I do query an snmp value from a vpn interface.
-Upon on a change i create a notification email including other values that i do also monitor.
The problem is, that the other values within that email are wrong, however looking to the history of the items, they are ok.
Here the concret example example:
Trigger:
INSERT YOUR MESSAGE HERE
------Latest data------
VPN current group user tunnel: {vpngate01:CurVpnGroupUserTunnel.last(0)} (latest value)
Details:
Status IF04: {vpngate01:VpnIf04.last(0)}
---------End--------
Values from the history for the checks: (Refers to vpngate01:VpnIf04)
2005.Apr.19 19:06:37 remote peer is (192.168.250.11)(G0000) client-ip (192.168.250.100) group (IPSEC)
2005.Apr.19 19:06:04 remote peer is (0.0.0.0)(G0000)
and also
vpngate01:CurVpnGroupUserTunnel
2005.Apr.19 19:06:37 1.0000
2005.Apr.19 19:06:04 0.0000
However the notification email looks like this:
Email:
INSERT YOUR MESSAGE HERE
------Latest data------
VPN current group user tunnel: 1 (latest value)
Details:
Status IF04: remote peer is (0.0.0.0)(G0000)
---------End--------
as you can see, the value of "VpnIf04" is wrong in the email, but correct in the database.
Any ideas?
using version 1.1A7, it seems that i face a possible race condition using the email notification for triggered events.
My setup:
-I do query an snmp value from a vpn interface.
-Upon on a change i create a notification email including other values that i do also monitor.
The problem is, that the other values within that email are wrong, however looking to the history of the items, they are ok.
Here the concret example example:
Trigger:
INSERT YOUR MESSAGE HERE
------Latest data------
VPN current group user tunnel: {vpngate01:CurVpnGroupUserTunnel.last(0)} (latest value)
Details:
Status IF04: {vpngate01:VpnIf04.last(0)}
---------End--------
Values from the history for the checks: (Refers to vpngate01:VpnIf04)
2005.Apr.19 19:06:37 remote peer is (192.168.250.11)(G0000) client-ip (192.168.250.100) group (IPSEC)
2005.Apr.19 19:06:04 remote peer is (0.0.0.0)(G0000)
and also
vpngate01:CurVpnGroupUserTunnel
2005.Apr.19 19:06:37 1.0000
2005.Apr.19 19:06:04 0.0000
However the notification email looks like this:
Email:
INSERT YOUR MESSAGE HERE
------Latest data------
VPN current group user tunnel: 1 (latest value)
Details:
Status IF04: remote peer is (0.0.0.0)(G0000)
---------End--------
as you can see, the value of "VpnIf04" is wrong in the email, but correct in the database.
Any ideas?