Very Newbie: Converting a complex MIB file with mib2c

Stavros Tsolakos <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi all.

I am really new to SNMP and net-snmp. I have a MIB file from a network
switch and i wanted to make a custom subagent to make the snmpd of my
workstation report some dummy data, as if it were the switch. I have
managed to build a subagent reporting a dummy integer value. But when
trying to use mib2c on the MIB file (I have configured it correctly,
mib2c can find both the MIB and the starting node) I am not sure of
which configuration file to use.

The MIB contains many tables, many scalar and many string values. Is
there a configuration file to  automagically generate template code
which respects data types? Do I have to use mib2c separately for each
entry of my MIB?

Thank you very much and my apologies if the question is stupid. I am
very newbie and very confused, too.

Regards,

Stavros



------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.