Hi,

I implemented EtherLike-MIB AgentX subagent after generating template by mib2c and mib2c.mfd.conf.
Everything is working fine during the first cache_load, I can snmpwalk through the whole dot3StatsTable.

(debug message from the subagent below)
_mfd_dot3StatsTable_get_column: column=1, Index=1
_mfd_dot3StatsTable_get_column: column=1, Index=2
_mfd_dot3StatsTable_get_column: column=2, Index=1
_mfd_dot3StatsTable_get_column: column=2, Index=2
... (till column=21)
_mfd_dot3StatsTable_get_column: column=21, Index=1
_mfd_dot3StatsTable_get_column: column=21, Index=2

The problem occurs after the second cache_load, then snmpwalk only and always walk to column=1, and got "Error: OID not increasing: EtherLike-MIB::dot3StatsIndex.2" error because of that;
(debug message from the subagent below)
_mfd_dot3StatsTable_get_column: column=1, Index=1
_mfd_dot3StatsTable_get_column: column=1, Index=2
_mfd_dot3StatsTable_get_column: column=1, Index=2

I know it is something wrong with my cache_load function in the subagent. Any advice would be greatly appreciated.
Thanks.
--
Emi ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to