Ad Widget

Collapse

How to Delay E-mail Triggers

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • subba5678
    Senior Member
    • May 2010
    • 132

    #1

    How to Delay E-mail Triggers

    Hi ,

    I want to send/trigger e-mail alerts after a delay of 10 mins when a service is down service is down for a time period 10 Mins . if the service is down for 3 mins the alert should appear on the dashboard and that should not send the Email alert , It should send the email alert only if the service is down for 10 Mins . Please help me how to do this .

    Thanks,
    Subbu
    Last edited by subba5678; 21-12-2010, 20:32.
  • prote
    Junior Member
    • Dec 2008
    • 16

    #2
    Take a look at Configuration -> Actions and there click on an user. In the right table you see "Action operations" and a row with "Delay". Click on edit and slow down your Messages

    An alternitive is to use the remote commands and save the triggers in a file. Via Cron and Bash you can filter the messages exactly as you want ...

    Comment

    • subba5678
      Senior Member
      • May 2010
      • 132

      #3
      Hi prote,

      Thanks for the update , but i want the triggers delay for particular time for particular service . i have define all the services in a single action .IF Possible can u please post me the trigger experssion for that so i can give the particular for the service.

      Thanks,
      Subbu

      Comment

      • prote
        Junior Member
        • Dec 2008
        • 16

        #4
        You could use for instance expressions like this:
        ({mytemplate:myitem.last(0)}>6)&(mytemplate:myitem .min(300)}>4)

        It depends on the item which things works and are meaningful. You have to try a lot

        Comment

        • qix
          Senior Member
          Zabbix Certified SpecialistZabbix Certified Professional
          • Oct 2006
          • 423

          #5
          You could use a notification level trigger that just uses last(0).
          Then, make that trigger dependent on an other trigger that uses max(xxx) or min(xxx) for a time based delay with a higher severity.

          Now make you actions so the notification level triggers do not send messages, but your higher levels do.

          I used this to monitor disks that were running full.
          With kind regards,

          Raymond

          Comment

          • subba5678
            Senior Member
            • May 2010
            • 132

            #6
            Hi All,

            Thanks for the help . I changed the template to the below format and able to get the dealy Triggers .


            Trigger Expression:

            {BLR-NOC-02:icmpping[172.25.100.12,3,300,32,100].max(300)}=0&{BLR-NOC-02:icmpping[172.25.100.12,3,300,32,100].min(300)}=0

            @nelsonab: Thanks for the help.


            Thanks,
            Subbu

            Comment

            Working...