I am developing support for the EtherLike-MIB and another custom MIB 
with Ethernet statistics.

For both MIBS I have a problem in my handler (when I receive a 
MODE_GETNEXT), that
I get the column number for the first column ok(via 
netsnmp_extract_table_info) and the
appropriate oid, I lookup my value and return it via snmp_set_var_value 
.. but my snmpwalk
command gets the value but then says "Error: OID not increasing: ..."

1.) In the case of the EtherLike-MIB it seems like there should be some 
common code
      that I could tap into and simply return my values ...should I use 
../net-snmp-5.6.1.1/agent/mibgroup
      /etherlike-mib/.. for this ?

     It seems a number of Linux Ethernet drivers should be doind 
something similar, but I have not
      found anything ..

2.) Regarding the OID not increasing .. should I manually increment that 
oid in my handler..

I did a mib2c -c mib2c.create-dataset.conf dot3 to get a skeleton ...

Thanks for any help!
Jes

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to