problem with AgentX getNext and multiple regions?

2011-02-18 Thread Fulko Hew
I'm confused by what Net-SNMP (5.6.rc2) is doing when interacting with my AgentX sub-agent. I have two regions registered, and I perform a getnext to the master... The master sends an AgentX getNext PDU on the first region looking for a positive response. Unfortunately, the 'next' variable isn't

Re: Difficulties with mib2c and MFD

2011-02-18 Thread Dave Shield
On 18 February 2011 16:11, Alec Edgington wrote: >> snmpget -v1 -c public localhost nsIETFWGChair1.0 > > which gave: > > Error in packet > Reason: (noSuchName) There is no such variable name in this MIB. > Failed object: NET-SNMP-EXAMPLES-MIB::nsIETFWGChair1."" That implies that the agent does no

RE: Difficulties with mib2c and MFD

2011-02-18 Thread Alec Edgington
> I have little or no expertise with the MfD framework, > but there is one glaring error in your example: > > > >> snmpget -v1 -c public localhost nsIETFWGChair1 > > A GET request must always include the instance subidentifiers > (i.e. the index to the table). A GET request on the bare MIB object

Re: Difficulties with mib2c and MFD

2011-02-18 Thread Dave Shield
On 18 February 2011 11:02, Alec Edgington wrote: > Hello. I would appreciate some help getting started with building a subagent > using mib2c and MFD. I have little or no expertise with the MfD framework, but there is one glaring error in your example: >> snmpget -v1 -c public localhost nsIETFW

Difficulties with mib2c and MFD

2011-02-18 Thread Alec Edgington
Hello. I would appreciate some help getting started with building a subagent using mib2c and MFD. I'm trying to build a simple example to handle a table. (I did a scalar first, and that seemed worked fine, so this is the next step...) I have net-snmp version 5.5. I do: > mib2c -c mib2c.mfd.con