I thought I read this concept a while ago in the forum feedback section but can not find it.
How would one set up a trigger that was say :..."item_trigger_value<100"..for most of the day except from say...noon-to-3PM its "item_trigger_value<500"?
Possibility 1) Just write a UserPAramater script that, when polled by Zabbix_server, it does another zabbix_get on the target key-item, looks at date-time and has hard coded time based threshold value and returns 0 or 1 (OFF or ON)?
Possibility 2) Have an independent UserParameter script that returns "Time-Window"=true or false and then & (and) that with the key-item value in the trigger. I would need 2 triggers with threshold values for "time-window"= true and "time-window"=false.
Possibilty 3) Mess with different distribution lists that contain users and the time of day they would recieve emails? (Yet for the same users)(That sounds horrible)
Possibility 4) Somehow work with dependecies? But I don't really know how that would be any different than #2 above (really).
Possibility 5) Somebody's better idea.
Possibility 6) Wait for 1.4 when maybe this is supported?
What do you all think? Thank you so much.
Zabbix 1.1.3
How would one set up a trigger that was say :..."item_trigger_value<100"..for most of the day except from say...noon-to-3PM its "item_trigger_value<500"?
Possibility 1) Just write a UserPAramater script that, when polled by Zabbix_server, it does another zabbix_get on the target key-item, looks at date-time and has hard coded time based threshold value and returns 0 or 1 (OFF or ON)?
Possibility 2) Have an independent UserParameter script that returns "Time-Window"=true or false and then & (and) that with the key-item value in the trigger. I would need 2 triggers with threshold values for "time-window"= true and "time-window"=false.
Possibilty 3) Mess with different distribution lists that contain users and the time of day they would recieve emails? (Yet for the same users)(That sounds horrible)
Possibility 4) Somehow work with dependecies? But I don't really know how that would be any different than #2 above (really).
Possibility 5) Somebody's better idea.
Possibility 6) Wait for 1.4 when maybe this is supported?
What do you all think? Thank you so much.
Zabbix 1.1.3
?
Comment