Ad Widget

Collapse

ping through router

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • akbar415
    Senior Member
    • May 2015
    • 119

    #1

    ping through router

    I have 2 links in one router. I Want to know if link 1 or link 2 is down. I know that all request to ip 172.x.x.1 is through link 1 and ping to 172.x.x.2 is through link 2.

    Click image for larger version

Name:	RouterPing.png
Views:	1
Size:	43.3 KB
ID:	317757

    So I set a item on zabbix to do a icmpping
    icmpping[172.x.x.1]
    and
    icmpping[172.x.x.2]

    But I don't wanna zabbix server do this ping. I want to router do this ping check and return the result to zabbix.


    How can I do that?
  • nick0909
    Member
    • Apr 2013
    • 73

    #2
    You have to run the ping command on the router, which would require an external script to run the ping on that router and return the result to zabbix.

    Another way, if possible, is to install a zabbix proxy at the other site where that router is to do the ping for you. At every physical location we run zabbix proxies and then we are able to have the proxies do checks from that location instead of our central zabbix server.

    Comment

    • akbar415
      Senior Member
      • May 2015
      • 119

      #3
      Thanks for your answer but.

      Originally posted by nick0909
      You have to run the ping command on the router, which would require an external script to run the ping on that router and return the result to zabbix.
      I don't manage the router so I can't connect to the router to execute the ping.

      Originally posted by nick0909
      Another way, if possible, is to install a zabbix proxy at the other site where that router is to do the ping for you. At every physical location we run zabbix proxies and then we are able to have the proxies do checks from that location instead of our central zabbix server.
      I know only the first hop, so if I setup a zabbix proxy on point B (far beyond the first hop) and make a ping from point A, the ping can go through link 1 or link 2, this way even if link 1 is offilne the ping will work, this is not suitable for me.

      Comment

      • zabbixfk
        Senior Member
        • Jun 2013
        • 256

        #4
        I had similar requirement, but in my case i could access the router ( read only), and i had setup small script which would login to router, run pings via link1 and link2 and display result in zabbix. THis is possible via external script. But you should be able to access the router.

        Thanks.

        Comment

        Working...