We are trying to utilise the Orion.Discovery 'ValidateCredentials' Verb to verify SNMPv3 on a given IPAddress to confirm if the Credential inside of Solarwinds will work for the given Node before updating it to the new SNMP
utilising the orionsdk-python library I have ran the following, however it always returns False even if I am certain that the SNMP Credential is working for the given Node:
dummy_ip = "1.1.1.1"
dummy_snmp_port = 161
dummy_credential_details = {"Name": "solarwinds", "Context": ""}
dummy_engine_id = 1
dummy_preferred_snmp = "SNMP3"
swis.invoke(
'Orion.Discovery', 'ValidateCredentials', dummy_ip, dummy_snmp_port,"SolarWinds.Orion.Core.Models.Credentials.SnmpCredentialsV3", dummy_credential_details, dummy_engine_id, dummy_preferred_snmp
)
I would appreciate in any assistance on how to use this Verb, with examples if possible. Or if anyone has any other ideas on how to validate a SNMP Credential Set within solarwinds will work on a Node BEFORE updating the Nodes SNMP Credentials.
Regards,
Pramod/ Lochie