Ad Widget

Collapse

icmppingsec specifcy source IP

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

    #1

    icmppingsec specifcy source IP

    I am trying to monitor our sites that have two Internet connections at each restaurant. The firewalls at the sites use distance route weighting for automatic failover. The issue is that only the device's currently active external WAN interface will respond to pings.
    We have added an additonal elastic IP address on our Zabbix ITOC Amazon AMI 2.2.0 instance. We have also added static routing for the two IP addresses on our remote locations with each Zabbis icmp request to be set to reply on each of the WAN interfaces at the locations.
    I am using icmppingsec for monitoring. How can I specify the source IP address in the out of the box icmppingsec template item?
  • skydiver
    Junior Member
    • Oct 2014
    • 5

    #2
    Bumping this...

    Comment

    • kloczek
      Senior Member
      • Jun 2006
      • 1771

      #3
      Originally posted by skydiver
      Bumping this...
      Theoretically possible because zabbix uses external command (fping ) on pinging addresses. From fping man page
      Code:
             -S addr
                  Set source address.
      However current icmp*[] keys implementation does not supports passing in parameters source IP. Possible solution may be add handle yet another parameter in icmpping[], icmppingloss[] and icmppingsec[] which will allow pass source IP.

      Another solution: you can execute fping over for example system.run[] and pass whatever you want (-S <src_IP> as well)
      http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
      https://kloczek.wordpress.com/
      zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
      My zabbix templates https://github.com/kloczek/zabbix-templates

      Comment

      Working...