Ad Widget

Collapse

Template ICMP Ping issue

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AvivMalka
    Junior Member
    • Oct 2014
    • 3

    #1

    Template ICMP Ping issue

    Hello all,

    I am using Zabbix 2.2.5.
    I have an issue that when we backup our environment (vmware), there is a snapshot process which cause a ping loss (3-4 ping loss). When ever there is a backup process running, we get an alert via SMS/Email notify us that {HOST.NAME} is unavailable. It's really annoying so I would like to change this trigger:
    {HOST.NAME} is unavailable
    {Template ICMP Ping:icmpping.max(300)}<1

    To something that only after 15 ping loss send an alert - I am not familiar how to do so - would appreciate your help..

    Thank you all!
  • Alberto Freire
    Junior Member
    • Jul 2014
    • 24

    #2
    You can to use this trigger:

    {Template ICMP Ping:icmpping[].sum(#6)}=0 | ({TRIGGER.VALUE}=1 & {Template ICMP Ping:icmpping[].sum(#2)}#2)

    You can as well to change the ..."sum(#6)"... to a value bigger. This means that after 6 ping loss, the Zabbix will send an alert, and after 2 pings reachable you will receive an "ok"...

    Basically is it!

    Comment

    • AvivMalka
      Junior Member
      • Oct 2014
      • 3

      #3
      Originally posted by Alberto Freire
      You can to use this trigger:

      {Template ICMP Ping:icmpping[].sum(#6)}=0 | ({TRIGGER.VALUE}=1 & {Template ICMP Ping:icmpping[].sum(#2)}#2)

      You can as well to change the ..."sum(#6)"... to a value bigger. This means that after 6 ping loss, the Zabbix will send an alert, and after 2 pings reachable you will receive an "ok"...

      Basically is it!
      Hi,

      I've tried it, but after disabling for 10 seconds my server network card, it still sends HOSTNAME Unreachable.

      {Template ICMP Ping:icmpping.sum(#100)}=0 | ({TRIGGER.VALUE}=1 & {Template ICMP Ping:icmpping.sum(#2)}#2)

      This is the trigger I've putted

      Thanks!

      Comment

      • Alberto Freire
        Junior Member
        • Jul 2014
        • 24

        #4
        How is your 'item' config? Copy it here.


        Cheers!

        Comment

        • AvivMalka
          Junior Member
          • Oct 2014
          • 3

          #5
          Originally posted by Alberto Freire
          How is your 'item' config? Copy it here.


          Cheers!

          Name ICMP ping

          Type Simple check

          Key icmpping

          User name

          Password

          Type of information Numeric (unsigned)

          Data type Decimal

          Units

          Use custom multiplier

          Update interval (in sec) 60

          Flexible intervals
          Interval Period Action
          No flexible intervals defined.
          New flexible interval
          Interval (in sec) Period
          History storage period (in days) 7

          Trend storage period (in days) 365

          Store value As is

          Show value Service state


          New application

          Applications ICMP

          Populates host inventory field

          Description

          Enabled

          Comment

          • Alberto Freire
            Junior Member
            • Jul 2014
            • 24

            #6
            Well, strange...

            Try to remove the host configuration and create it again. But this time, create the host and item manually without a default template. Use the same trigger bellow, we will test this way.


            Cheers!

            Comment

            Working...