I've been working on a custom SNMP library for Ruskus ZoneDirectors and have it mostly where I want it. The issue I'm having now as I finish up is the ability to feed in the results from a UID look-up into the Group/Name fields during discovery.
I have OID's using the exact same Group name "AP: #[1.3.6.1.4.1.25053.1.2.2.4.1.1.1.1.5]" but during discovery, it seems some will walk through the list of results , so each sensor gets the right name of the access point its related to, while others will just use the very first value returned, so all my sensors are looking at different AP's, but all of their names are the same.
I also found that sometimes it doesn't return a value at all. I would put in "AP: #[1.3.6.1.4.1.25053.1.2.2.4.1.1.1.1.5]" and it would just use that literally as the name, not try to resolve it to an actual string.
My only guess so far is that the different sensors seem to be under different Agent groups and maybe that is affecting it? Though one of the sensors that wouldn't get a string at all was under the Agent group that had the OID in it, while others that are working are referencing a value in a different Agent group.
Any help to get this working would be appreciated as renaming sensors after each discovery can cost a huge amount of time.
Best regards,
Jonathan
Add comment