solarwinds / OrionSDK

SDK for the SolarWinds Orion platform, including tools, documentation, and samples in PowerShell, C#, Go, Perl, and Java.
https://thwack.com/OrionSDK
Apache License 2.0
394 stars 139 forks source link

Incorrect return code when using Orion.NPM.Interfaces.DiscoverInterfacesOnNode #331

Open solarwinds-cork opened 1 year ago

solarwinds-cork commented 1 year ago

Invoking this verb returns a status code of 0 to indicate success, however, if the SNMP credentials are invalid for the node it will still return 0.

Sample return when invoked with invalid SNMP credentials. {'DiscoveredInterfaces': [], 'Result': 0}