I have an item, checked every 300s and a trigger, checking if the result is not 200:
When fired an e-mail with the following template will be sent:
According to the latest values, the trigger gets executed correctly, because the value changed to 404, but the values reported in the mail are wrong:
This problem exists for years - but I want to try to fix it, because its annoying. Any ideas?
Code:
{host:x.sensors[sensor_blacklist].last(0)}#200
Code:
Subject: [{EVENT.ID}] {TRIGGER.NAME}: {STATUS}
Current: {{HOSTNAME}:{TRIGGER.KEY}.last(0)}
Last: {{HOSTNAME}:{TRIGGER.KEY}.prev(0)}
Code:
Subject: [#211202] host: Sensor blacklist: PROBLEM Current: 200 Last: 404
Comment