Ad Widget

Collapse

Ping check from SNMP monitored host

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tasbirnitole
    Junior Member
    • Sep 2015
    • 12

    #1

    Ping check from SNMP monitored host

    May be this question is like a dumb but I need help. Is there any way to ping an IP from a Cisco device specially a router that is monitored through SNMP by zabbix? Have root/admin access to both router and zabbix. I need to ping the WAN Gateway of the router, currently I am checking ICMP from zabbix but if there is any disruption between zabbix and router it triggers but I need to get trigger actually if there is any disruption from the router to it's gateway. Interface down trigger does not help.

    Is there any way to check ICMP from Cisco router and send the data to zabbix and log it?
  • tim.mooney
    Senior Member
    • Dec 2012
    • 1427

    #2
    I don't know how feature-full Cisco's IOS is, so I don't know if it would be possible to make the Cisco device periodically send data to Zabbix via something like a zabbix trapper item.

    However, as a first, alternate approach, I would set up a trigger dependency so that your existing ping check of the WAN Gateway depends upon whatever availability trigger you have for the SNMP checks between Zabbix and the Cisco device. That way, when the problem is between Zabbix server and the Cisco device, the other WAN check trigger won't also fire.

    Read up on trigger dependencies for more information. Having good network topology dependencies in place in Zabbix can greatly improve the quality of the alerts you get when there are problems.

    Comment

    • Gokiwi64
      Member
      • Jun 2020
      • 36

      #3
      You could use an EEM script on the router (depending on the model and IOS), Then pick up a syslog entry for it in zabbix ?

      Comment

      • gert.derouck
        Member
        • Jan 2020
        • 69

        #4
        Most probably you can use an ssh check?


        Comment

        • elco
          Junior Member
          • Aug 2022
          • 1

          #5
          You could use IP SLA for this. Configure a probe using the following commands on your router/switch:

          ip sla 1
          icmp-echo <ip> [source-interface <int>]
          tag <tag>
          frequency 59
          ip sla schedule 1 life forever start-time now

          and then configure the attached template for the host entry of your switch/router on Zabbix. The template has a discovery rule that will discover all configured IP SLA probes on the device and will start montoring response times and availability.
          Attached Files

          Comment

          Working...