Linux - EnterpriseThis forum is for all items relating to using Linux in the Enterprise.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Here is what I am trying to do, and the problem I am having.
Blackberry Enterprise Server (BES) 5.0.2 was recently installed at our site. They asked me, the Linux and "monitoring" guy, to "monitor" it.
So I pulled down the MIB file from the Blackberry folks (They're called Resarch In Motion, FYI). Also, the SNMP server component of BES was enabled and configured by the Windows / Blackberry admins.
I can successfully use snmpget and snmpwalk to retrieve values from our BES server. Excellent.
The bad news is that I am not getting very useful descriptions of the OIDs being returned. Let me show you the difference in output when I do vs. when I don't use the -M and -m options:
Without vendor-specific MIB:
# snmpwalk -c COMMUNITY -v 2c SERVER 1.3.6.1.4.1.3530 -Of |head -4
.iso.org.dod.internet.private.enterprises.3530.5.1.0 = INTEGER: 5
.iso.org.dod.internet.private.enterprises.3530.5.2.0 = INTEGER: 0
.iso.org.dod.internet.private.enterprises.3530.5.3.0 = INTEGER: 16682
.iso.org.dod.internet.private.enterprises.3530.5.4.0 = INTEGER: 350608
How do I get more of the numerical OID replaced with useful, descriptive text? I don't want to see 'rim.5.4.0', I want to see 'rim.something.text.moretext.evenmoretext'
I'm not super familiar with net-snmp so I'm not sure which of the following are valid:
- Learn about MIB formats in the RFC and manually dig through the 31,000+ entries to find things that could be useful
- Contact the vendor. Something is wrong with the MIB file
- Change the syntax of the command - it is not being invoked correctly to convert the entire OID to text.
- Something else I haven't thought of?
How do I get more of the numerical OID replaced with useful, descriptive text? I don't want to see 'rim.5.4.0', I want to see 'rim.something.text.moretext.evenmoretext'
Thanks!!!
It is depend on how you MIB developed.You can see description(text) if defined in MIB.
As you can see, I already included a -Of flag, and a portion of the OID still appears as numeric. Does this indicate a likely deficiency in the MIB file?
As you can see, I already included a -Of flag, and a portion of the OID still appears as numeric. Does this indicate a likely deficiency in the MIB file?
yes, it depend on MIBs.
In default snmpwalk command you can see result with numbers and text.
As i am trailing i am not able to paste examples.But you can verify snmpwalk result
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.