snmpget vs snmpwalk

2014-03-14 Thread Franz Baumgartner
I´m trying to get the temperature from an APC Management Card. snmpwalk gives me the correct results of the ProbeCurrentTemp.2 snmpwalk -v2c -m ALL -c public 10.10.70.40 .1.3.6.1.4.1.318.1.1.10.2.3 PowerNet-MIB::iemStatusProbesNumProbes.0 = INTEGER: 1 PowerNet-MIB::iemStatusProbeNumber.2 = INTEGER

Re: SNMP get response result

2014-03-14 Thread Joel Hansell
Hi Akshay, I'm sure careful study of the source code would reveal exactly the circumstances when the program will exit with a non-zero return value. Maybe one of the developers will chime in, if you're lucky, but unfortunately I have no time for such study at present. However, I know of at least o

RE: SNMP get response result

2014-03-14 Thread Ballarpure, Akshay (EXT-Tata Consultancy Ser - IN/Hyderabad)
Thanks Joel for quick response. We can get snmp-get response = 1 only in case of timeout or there are any other scenarios where we can get it as "1" ? -- With regards, Akshay From: ext Joel Hansell [mailto:joel.hans...@gmail.com] Sent: Thursday, March 13, 2014 3:48 PM To: Ballarpure, Akshay (E