Re: mib2c -c mib2c.mfd.conf

2011-11-03 Thread Dave Shield
On 31 October 2011 18:51, Simon Chamlian simon.chaml...@gmail.com wrote: I have an embedded board running Linux/net-snmp (TWR54418 from Freescale). [root@M54418TWR snmp]# mib2c -c mib2c.mfd.conf ERROR: You don't have the SNMP perl module installed. Why do you need to create the MIB

Perl Net-SNMP Problem

2011-11-03 Thread Winans, Don C (IS)
I'm having a problem in a Perl script with the $sess-set($vb) command when the $vb value is defined in the MIB as an enumeration. Integer and string values seem to be working fine. The Net-SNMP snmpset command also works fine. The MIB object is defined as below. When I attempt to set

Re: How to test the Agent

2011-11-03 Thread Dave Shield
On 2 November 2011 21:06, Simon Chamlian simon.chaml...@gmail.com wrote: I launched the snmpd on the target with all config default values. Now I am trying to get a value of an OID without success. --- # snmpget -v 2c -c

Re: mib2c -c mib2c.mfd.conf

2011-11-03 Thread Simon Chamlian
What does mib2c do? I can always install it on a host computer and run it. But eventually, I will need an application that returns values associated to my MIB OIDs. Is that done by modifying the SNMP agent daemon or I can have a different application interact with agent? The tutorial

Re: mib2c -c mib2c.mfd.conf

2011-11-03 Thread Dave Shield
On 3 November 2011 15:21, Simon Chamlian simon.chaml...@gmail.com wrote: What does mib2c do? It produces _template_ code for implementing a MIB module. You would take the generated code file, fill in the gaps, and compile it into the SNMP agent (either a native agent for the system you are