Ad Widget

Collapse

set trigger to send alert after 2 consecutive fails

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SavenetSolutions
    Junior Member
    • Feb 2014
    • 7

    #1

    set trigger to send alert after 2 consecutive fails

    Hi all,

    I am monitoring HTTPS service on one of my VirtualCenter Servers.
    I set up a trigger to send email alert if service fails.
    My trigger looks like this:
    {SnetMGVC1:net.tcp.service[https,,443].last(0)}=0

    How can i change this trigger to send email alert only after 2 consecutive fails? If service is being checked every 30 seconds i want email alert to be sent only if it fails twice in a row.

    many thanks in advance for all your help.

    Sebastian
  • m_gularte
    Member
    Zabbix Certified Specialist
    • Jul 2012
    • 85

    #2
    Hi!

    You can use:

    {SnetMGVC1:net.tcp.service[https,,443].sum(#2)}=0
    Or
    {SnetMGVC1:net.tcp.service[https,,443].sum(60)}=0

    The first one is based on number of checks, and the second one is based on time (seconds).

    Mauro

    Comment

    • SavenetSolutions
      Junior Member
      • Feb 2014
      • 7

      #3
      thank you Mauro

      Comment

      Working...