PDA

View Full Version : actions across days


Villain
15-05-2007, 22:18
I have a need for an action to be done only if between the hours of 0700 and 0200. In working with this, I have found that the action will not work if the time is between 2359 and 0200, and the trigger is hit.

Is there a plan to add this type of 'date crossing' in a future release of zabbix? Or, should I stick with duplicating my work to create a second action to cover the 2 hours each morning that I need?

James Wells
16-05-2007, 00:01
Greetings,
I have a need for an action to be done only if between the hours of 0700 and 0200. In working with this, I have found that the action will not work if the time is between 2359 and 0200, and the trigger is hit.
Due to the way Zabbix processes times, you might find it easier using 0000 - 0200. By using 2359 - 0200, Zabbix may get confused at times and come up with 0200 - 2359.

tronite
10-06-2007, 13:36
Greetings,

Due to the way Zabbix processes times, you might find it easier using 0000 - 0200. By using 2359 - 0200, Zabbix may get confused at times and come up with 0200 - 2359.

Wow! I had no idea, thanks for the info.

tronite
10-06-2007, 13:59
Why don't people ever give feedback?