Ad Widget

Collapse

Escalation delay to a specifiy time

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kozakzs
    Junior Member
    • Jun 2011
    • 3

    #1

    Escalation delay to a specifiy time

    Hi,

    I use escalation and it's great but I have a problem.

    We have email and sms alerts configured, when a problem occurs, administrators and project managers get an email notification firstm, then if the problem exists for at least 10 more minutes, everybody gets sms notification too for their mobile phone. It's working great.

    But it's annoying and not necessary to send an sms alert to a project manager during the night. It's okay that a PM get a notification during business hours but he cannot do anything during night and it's also annoying getting sms alerts at 3 AM. Of course an administrator may want to get sms alerts as soon as possible but it's not necessary to everybody.

    Is there any solution to delay some alerts not until a specific amount of time (10 minutes, 1 hour) but until a specific time (8 AM, 9 AM etc.). I mean it would be great if we could block sms alerts during the night and let these messages send out by Zabbix at 8 am for example. So project managers would not be disturbed by sms messages during the night, they would get those messages later, in the morning.

    Another approach of this issue is like a maintenance window when messages are blocked during the night, and delivered to projects managers in the morning if and only if the problem still exists in the morning.

    Do you have any idea how to implement this feature? Is it possible in Zabbix or is it a feature request?
  • zabbix_zen
    Senior Member
    • Jul 2009
    • 426

    #2
    Assuming you have either created a user for all the PMs (with all their mobile numbers) or a different user for each PM,
    you can easily solve this going to Administration | Users
    editing each intended user's
    Media | When active

    from the default 1-7,00:00-23:59; to let's say
    1-5,08:00-18:59;

    Comment

    • kozakzs
      Junior Member
      • Jun 2011
      • 3

      #3
      Originally posted by zabbix_zen
      you can easily solve this going to Administration | Users
      editing each intended user's
      Media | When active

      from the default 1-7,00:00-23:59; to let's say
      1-5,08:00-18:59;
      Hi,

      I'm afraid this is not what I want. :S

      This availibilty setting simply block the alerts out of the business hours but the PMs will not get the alerts later, at the beginning of the day.

      I need a solution that blocks the alerts during out of business hours but send the alerts out when business hours come again.

      Comment

      • theflo
        Junior Member
        • May 2011
        • 3

        #4
        Hi kozakzs !

        One way to do what you want is to set a maintenance period. In fact you create one of the type no data collection : this will not collect any data during the period you set, but at the end all the triggers declenched during the night will be detected.

        So yoyu just have to put a condition in your mail action that says -> maintenance period = not in maintenance and it should be alright.

        Hope it helped!

        Comment

        • kozakzs
          Junior Member
          • Jun 2011
          • 3

          #5
          Originally posted by theflo
          Hi kozakzs !

          One way to do what you want is to set a maintenance period. In fact you create one of the type no data collection : this will not collect any data during the period you set, but at the end all the triggers declenched during the night will be detected.

          So yoyu just have to put a condition in your mail action that says -> maintenance period = not in maintenance and it should be alright.

          Hope it helped!
          Yeah, I was thinking about handling this issue as a maintenance period but actually it's NOT a real maintenance period and some people need to get alerts... so I do not wanna mess things up. Maintenance period is a little different thing.

          Comment

          • regi
            Junior Member
            • Aug 2011
            • 6

            #6
            Hi
            I have this problem too

            It's not really nice solution but u can do it like this:

            for example u want to delay sms 'generated' between 00:00 and 05:00:

            define 6 Actions:
            a1 (Conditions: Time period in "1-7,00:00-00:59") escalation period 5h, step from/to = 2
            a2 (Conditions: Time period in "1-7,01:00-01:59") escalation period 4h, step from/to = 2
            a3 (Conditions: Time period in "1-7,02:00-02:59") escalation period 3h, step from/to = 2
            a4 (Conditions: Time period in "1-7,03:00-03:59") escalation period 2h, step from/to = 2
            a5 (Conditions: Time period in "1-7,04:00-04:59") escalation period 1h, step from/to = 2
            aX (Conditions: Time period in "1-7,05:00-23:59") no escalation just send sms

            and zabbix will send all sms between 5am and 6am
            if triggers state is still PROBLEM ofc

            Comment

            Working...