pass_persist agent doesn't work with snmpwalk (probable noob question)

2012-03-16 Thread Charlie Martin
Okay, so I've implemented a sub-agent using the pass_persist mechanism in net-SNMP. Testing with snmpget, I can get the values expected. Testing with snmpgetnext, I get the value of the "next" OID. Here's a sample, slightly anonymized: 1004 $ snmpget -On -v 2c -c xxx dev1 1.3.6.1.4.1.59.1.5.

Re: pass_persist agent doesn't work with snmpwalk (probable noob question)

2012-03-16 Thread Vincent Bernat
OoO La nuit ayant déjà recouvert d'encre ce jour du vendredi 16 mars 2012, vers 23:03, Charlie Martin disait : > Okay, so I've implemented a sub-agent using the pass_persist mechanism > in net-SNMP. Testing with snmpget, I can get the values expected. > Testing with snmpgetnext, I get the

Re: pass_persist agent doesn't work with snmpwalk (probable noob question)

2012-03-16 Thread Charlie Martin
On 03/16/2012 04:52 PM, Vincent Bernat wrote: > Use: > snmpwalk -On -v 2c -c copan psmdev1 1.3.6.1.4.1.59.1.5.3.1.1 1020 $ snmpwalk -On -v 2c -c copan psmdev1 1.3.6.1.4.1.59.1.5.3.1.1 .1.3.6.1.4.1.59.1.5.3.1.1 = No Such Instance currently exists at this OID Which actually corresponds to the o

mib2c tool

2012-03-16 Thread Jasti Durgashree
Hi, I am using mib2c tool for generating template code. My doubt is which configuration file should be used. I mean UCD-SNMP style or NET-SNMP style. If we use NET-SNMP style, which configuration to be used for tables? If possible can you please send me one modified code after generating from mib