Ad Widget

Collapse

Timed notification: bug or feature?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Vide
    Junior Member
    • Sep 2007
    • 11

    #1

    Timed notification: bug or feature?

    Hi

    I'm using Zabbix 1.6.1 (just upgraded from 1.4) and I'm currently not using the new escalation features presents in 1.6, so I'm used to the old habit "send just 1 mail per alert", with no repetitions or whatever.

    Now, I'm facing anyway an unexpected Zabbix's behaviour that I don't know if it's a bug or a feature.
    the fact is that I have a service which every day is shut down for an amount of time T, and I don't want zabbix to send me notification about the service being down in that period of time. So, I added a time condition in the corresponding action and I was expecting zabbix to react like this:

    1) maintenance time starts
    2) service is stopped
    3) zabbix notices service shut down, raise an event which triggers an action
    4) the action says that zabbix shouldn't send email. That's OK

    5) grace time ends, but server is still down
    6) zabbix should send now a mail, cause the first mail was NEVER sent

    Now, maybe this is a feature.. so where I should set the maintenance period? Maybe in the trigger and not in the action?
    Or maybe I should enable repeated notifications for that action?

    Thanks in advance
    Last edited by Vide; 05-01-2009, 14:04.
  • Calimero
    Senior Member
    • Nov 2006
    • 481

    #2
    On the (very few) systems/items that have daily/weekly planned/automated downtimes, I've put the time 'constraint' in the trigger itself.

    Makes triggers a bit ugly to write but on the other hand it gives you correct availability numbers.

    Comment

    Working...