Hi everybody. I'm trying to implement a MIB using mib2c.iterate.conf. The code
is generated and I've filled the corresponding parts: get_first_data_point,
get_next_data_point, the switch part; the other part of the
netsnmp_extract_iterator_context I've just commented, for test reasons. The
values that I've filled were "TEST" (by hand). Everything seems to be fine
when compiling the agent. When I query the agent with:
snmpget -v 2c -c public localhost:16100 gpsMonitorID.\"TESTE\"

But the result is: 
gpsMonitorID."TESTE": Unknown Object Identifier (Index out of range: "TESTE
(gpsMonitorID))

I've already have configured the snmp.conf, snmpd.conf and exported my MIB.

Am I filling the code generated by mib2c.iterate.conf wrong? 

A second question is: I'm using net-snmp 5.0.10 and this doesn't have
mib2c.mfd.conf neather mib2c.table_dataset.conf. Do I have to download another
toolkit?

Thanks(previously) for your help.

Jordan Janeiro
Telemídia - PUC-Rio



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to