Hi all,
I've been looking around about how to add a enterprise MIB into the tree MIB of 
a linux server, but I don't know if I'm asking with the adequate question or 
might it is not possible what I want. 
I have developed with perl an agent which is working well and also I have 
defined a MIB in SMI v1, so I can query for elements names also. The agent 
manage the OID  iso.3.6.1.4.1.34567 (It's an example), an enterprises branch.   
What I want is to get my enterprise MIB when I snmpwalk starting from 
"enterprises" (.1.3.6.1.4.1). Now when I launch: 
snmpwalk -On -v2c -c public localhost enterprises
I get:
.1.3.6.1.4.1.2021.2.1.1.1 = INTEGER: 1.1.3.6.1.4.1.2021.2.1.1.2 = INTEGER: 
2.1.3.6.1.4.1.2021.2.1.1.3 = INTEGER: 
3.............1.3.6.1.4.1.8072.1.2.1.1.4.0.1.0.0 = STRING: 
.1.3.6.1.4.1.8072.1.2.1.1.4.0.1.1.0 = STRING: 
.1.3.6.1.4.1.8072.1.2.1.1.4.0.1.2.0 = STRING: 
.1.3.6.1.4.1.8072.1.2.1.1.4.0.7.1.3.6.1.2.1.4.127 = STRING: ip............
.1.3.6.1.4.1.8072.1.9.1.1.5.15.103.114.112.105.110.116.101.114.110.97.108.85.115.101.114.0.3.2.6.110.111.116.105.102.121
 = INTEGER: active(1)
So ¿where is my the MIB branch of my company (34567)? it would be after 8072 
¿wouldn't be?
¿It's posible to do what I want?

 I have added the next line to the snmp.conf
mibs +MY-ENTERPRISE-MIB
so the MIB is loaded by the tools, so when I ask for an element of 
MY-ENTERPRISE-MIB  I have the correct answer.
Thanks in advance,Miguel                                          
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to