On Mon, 18 Aug 2014 13:37:25 +0000 Miguel wrote: MATS> I've been looking around about how to add a enterprise MIB into the tree MATS> MIB of a linux server [...]. I have developed with MATS> perl an agent which is working well and also I have defined a MIB in SMI MATS> v1, so I can query for elements names also. The agent manage the OID MATS> iso.3.6.1.4.1.34567 (It's an example), an enterprises branch.
When you say you have a perl agent, is it independent of snmpd, or an extension of snmpd. MATS> What I want is when I query for all the tree MIB starting from MATS> "enterprises" (.1.3.6.1.4.1) all the tree of my enterprise MIB appear. If your perl agent is properly registered with snmpd at iso.3.6.1.4.1.34567, it should appear when you walk the enterprises branch. MATS> I have added the next line to the snmp.conf MATS> mibs +MY-ENTERPRISE-MIB MATS> so the MIB is loaded by the tools, so when I ask for an element of MATS> MY-ENTERPRISE-MIB I have the correct answer. Thanks in advance,Miguel Setting 'mibs' only load the structure/description of your objects, which is used for translating between OIDs and object names. For snmpd to actually answer queries about your mib objects, snmpd.conf would need to be configured to run/communicate with your perl agent. This is an old message, so hopefully you've already solved this. If not, please provide details about how you configured snmpd.conf. Robert ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders