ntimm

NSA and snmp

Discussion created by ntimm on Apr 17, 2010
Latest reply on Apr 20, 2010 by ntimm

I have tried getting values via a nsa script from a cisco wireless controller but it never displays the values.  Below is the snmp cmd I execute from a command line and it returns fine.  Also what are some of the options with the snmp in the nsa.  I was just using the snmp example script that was on the system.

 snmpget -O avQ -c m5nc0mm -v 2c 172.31.11.31 .1.3.6.1.4.1.14179.2.1.6.1.1.0.31.225.69.51.192

returns -60

 

in NSA it returns a 0

 

 

printf("sysUptime  : %s", snmp.getnumber (h,".1.3.6.1.4.1.14179.2.1.6.1.1.0.31.225.69.51.192") )


sysUptime  : 0

 

Version 1 on command line returns good as well and version 2 in nsa return error on nill value. 

Outcomes