NeDi Community

NeDi Software Specific => Discovery => Topic started by: Ronald on May 08, 2021, 09:40:14 am

Title: Using a SNMP proxy
Post by: Ronald 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?
Title: Re: Using a SNMP proxy
Post by: Ronald 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.