PDA

View Full Version : When exactly are triggers evaluated?


mdeavila
16-07-2005, 19:55
I have a trigger. The intention of the trigger is to fire if no data has been collected for an item. Here's the trigger,

({production-vm:ap.count(720)}<2)

The host (production-vm) has an item (ap) that is collected every 5 minutes. I want this trigger to fire if the ap item does not successfully retrieve data twice over 12 minutes.

When will this trigger be evaluated?

I have had several instances where there was no ap data collected and the trigger did not fire. When the ap item fails a message appears in the zabbix log,

008421:20050716:101908 Getting value of [ap] from host [production-vm] failed
008421:20050716:101908 The value is not stored in database.

But the trigger does not fire.

Should I really be using the nodata() function instead?

Thoughts?

thanks,

Miguel