Is it possible to get snmp values via nxshell ? I need to get the serial numbers for a certain type of switch and the only way is via snmp
Thanks
Hi,
you can use call NXCSession.queryParameter. For example, to query system description from node with id 178:
print session.queryParameter(178, DataCollectionObject.SNMP, ".1.3.6.1.2.1.1.1.0")
Best regards,
Victor
Quote from: Victor Kirhenshtein on September 28, 2016, 06:06:29 PM
print session.queryParameter(178, DataCollectionObject.SNMP, ".1.3.6.1.2.1.1.1.0")
is there any way to add snmp-context to this ?
Currently it's not possible. I've added request for context support in data collection as feature request (https://dev.raden.solutions/issues/1325 (https://dev.raden.solutions/issues/1325)).
Best regards,
Victor