Re: Very Newbie: Converting a complex MIB file with mib2c

2010-07-07 Thread Dave Shield
On 2 July 2010 14:51, Joan Landry wrote: > You have to use mib2c for each table and scalor: > Example: > mib2c -c mib2c.scalar.conf SNMP-USER-BASED-SM-MIB:usmUserSpinLock > mib2c -c mib2c.table_data.conf SNMP-USER-BASED-SM-MIB:usmUserTable Minor correction: You should be able to run "mib2c -c m

Re: Very Newbie: Converting a complex MIB file with mib2c

2010-07-02 Thread Fulko Hew
On Fri, Jul 2, 2010 at 9:11 AM, Stavros Tsolakos wrote: > 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 b

RE: Very Newbie: Converting a complex MIB file with mib2c

2010-07-02 Thread Joan Landry
You have to use mib2c for each table and scalor: Example: mib2c -c mib2c.scalar.conf SNMP-USER-BASED-SM-MIB:usmUserSpinLock mib2c -c mib2c.table_data.conf SNMP-USER-BASED-SM-MIB:usmUserTable -Original Message- From: Stavros Tsolakos [mailto:stsola...@gmail.com] Sent: Friday, July 02, 2010