Ad Widget

Collapse

actions across days

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Villain
    Member
    • Aug 2006
    • 84

    #1

    actions across days

    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
    Senior Member
    • Jun 2005
    • 664

    #2
    Greetings,
    Originally posted by Villain
    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.
    Unofficial Zabbix Developer

    Comment

    • tronite
      Senior Member
      • Jun 2007
      • 147

      #3
      Originally posted by James Wells
      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.

      Comment

      • tronite
        Senior Member
        • Jun 2007
        • 147

        #4
        Why don't people ever give feedback?

        Comment

        Working...