Welcome, Guest. Please login or register.

Author Topic: Using a SNMP proxy  (Read 1141 times)

Ronald

  • Newbie
  • *
  • Posts: 15
    • View Profile
Using a SNMP proxy
« on: May 08, 2021, 09:40:14 am »
I use a SNMP proxy using the config available from NET-SNMP.  Work greats.  Allows me to use a VPS and whitelist on a SD-WAN edge.
But there will be one IP with many community strings.
Works great except when I do a poll using -Aall it comes up with a IP discovered already.
So I could mark a device as a proxy and the not mark it as already discovered or put in a option on the command line to skip test for existing IPs.
Or see if the community string on the new device is different?

Ronald

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Using a SNMP proxy
« Reply #1 on: May 08, 2021, 10:21:47 am »
All I discovered in trying to do a workaround is that there is redundant code in libmisc and libsnmp to test for the IP.  It always using the last discovered device on that IP and I can't figure out how to make it move to the next device on that IP with a different community.