Ad Widget

Collapse

Newbie question. icmpping and unreliable DSL

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lerouxh
    Junior Member
    • Oct 2014
    • 5

    #1

    Newbie question. icmpping and unreliable DSL

    We have a VPN with several branches that connect via DSL.
    I've configured an item "icmpping[] with 200 interval, and a trigger "{Template Branch routers:icmpping[].last(0)}=0"

    It works, but due to the fact that the DSL lines are quite congested, and here in Africa the quality of the lines in rural areas are not good, it triggers too often. The lines often drops for just a few seconds usually at the exact time Zabbix is checking. This trigger almost always follow immediately with a recovery response.

    How can I configure Zabbix to only trigger after let say 3 consecutive fails?
    Any other suggestions or scripts?

    Thank you in advance for your replies.
    Lerouxh
  • harmonica
    Senior Member
    • Jan 2009
    • 251

    #2
    Hi,

    You can use "hysteresis"



    Example:
    ({TRIGGER.VALUE}=0&{Template_Ping:icmpping[{HOST.IP}].max(360)}=0)|({TRIGGER.VALUE}=1&{Template_Ping:ic mpping[{HOST.IP}].count(600,0,"eq")}>0)

    Comment

    • lerouxh
      Junior Member
      • Oct 2014
      • 5

      #3
      Thank you for the quick response!

      I'll give this try.

      Comment

      • lerouxh
        Junior Member
        • Oct 2014
        • 5

        #4
        Originally posted by harmonica
        Hi,

        You can use "hysteresis"



        Example:
        ({TRIGGER.VALUE}=0&{Template_Ping:icmpping[{HOST.IP}].max(360)}=0)|({TRIGGER.VALUE}=1&{Template_Ping:ic mpping[{HOST.IP}].count(600,0,"eq")}>0)
        Thank you again for your help.
        Just to conclude this thread (in case someone's search lands here), I ended up using the following expression:
        ({TRIGGER.VALUE}=0&{TemplateRouters:icmpping[,2,25,68,200].max(#3)}=0) |
        ({TRIGGER.VALUE}=1&{TemplateRouters:icmpping[,2,25,68,200].count(#2,0,"eq")}>0)


        If I understand this correctly, it triggers after 3 consecutive fails, and only recovers after 2 consecutive successes.

        Comment

        • syndeysider
          Senior Member
          • Oct 2013
          • 115

          #5
          I got over 600 DSL connections. I found this an issue and fixed it by testing via both ping, ssh and telnet. My trigger condition fires if all 3 checks fail, confirming the outage of the router.

          There's also this https://github.com/jjmartres/Zabbix/...zbx-cisco-xdsl which gives some NICE data on line quality for raising quality tickets with your telecommunications provider.
          Last edited by syndeysider; 08-10-2014, 13:27. Reason: spelling

          Comment

          • lerouxh
            Junior Member
            • Oct 2014
            • 5

            #6
            Thank you for the feedback!

            [QUOTE=syndeysider;156345]I got over 600 DSL connections. I found this an issue and fixed it by testing via both ping, ssh and telnet. My trigger condition fires if all 3 checks fail, confirming the outage of the router. [QUOTE]

            syndeysider, do you mind sending me a sample or screenshot of your trigger condition? This is the exact thing that we need.

            Comment

            • syndeysider
              Senior Member
              • Oct 2013
              • 115

              #7
              {Template xxxx - Network - ADSL Routers - Base:net.tcp.service[telnet,,23].last(#3)}=0&{Template xxxx - Network - ADSL Routers - Base:net.tcp.service[ssh,,22].last(#3)}=0&{Template xxxx - Network - ADSL Routers - Base:icmpping[,,,,].sum(#3)}=0

              Comment

              • lerouxh
                Junior Member
                • Oct 2014
                • 5

                #8
                Originally posted by syndeysider
                {Template xxxx - Network - ADSL Routers - Base:net.tcp.service[telnet,,23].last(#3)}=0&{Template xxxx - Network - ADSL Routers - Base:net.tcp.service[ssh,,22].last(#3)}=0&{Template xxxx - Network - ADSL Routers - Base:icmpping[,,,,].sum(#3)}=0
                Fantastic. Thanks!

                Comment

                Working...