Skip to content

Node SNMP Updating and Validation #84

@LochieP

Description

@LochieP

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;

  1. Test an SNMP credential on a Node to see if it does / will succeed
  2. Know what SNMP credential was used to Poll the Node
  3. Force a reset of the Cache to ensure the Poll uses the new SNMP credential
  4. Any other possible solutions I am unaware of

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions