-
Notifications
You must be signed in to change notification settings - Fork 91
Description
Hi,
I am currently working on implementing a python solution for migrating nodes from one SNMP credential to another, attempting to support v2 and v3.
With this, I have two questions I am hoping to get some assistance with!
My first question is what would be the optimal way to update the SNMP Credential on a Node, where the User provides just the Credential ID or Community String.
Currently for SNMPv3, I am updating the Orion.NodeSettings instances for the Node by deleting the previous one and creating a new one with the new Credential ID and I am curious to know if this is the ideal way.
My second question is one I am yet to find any solution for. When modifying the SNMP credential, how can I tell that the new SNMP credential is working? I have noticed that when changing from a Good, working SNMP Credential to a Bad SNMP Credential and triggering a PollNow, it may return a False Positive successful Poll as it uses the previous, Good SNMP credential from the cache.
Id like to know if anyone is aware of a way to either;
- Test an SNMP credential on a Node to see if it does / will succeed
- Know what SNMP credential was used to Poll the Node
- Force a reset of the Cache to ensure the Poll uses the new SNMP credential
- Any other possible solutions I am unaware of
Thanks!