Solved

Nagios MIBs

Posted on 2010-09-21
3
2,879 Views
Last Modified: 2012-06-27
In Nagios, I need to monitor RAID.  It is a Dell R710 server and I
have downloaded the Dell MIBs for this and placed the file I got from Dell
in /usr/share/snmp/mibs/  and renamed it to StorageManagement-MIB.txt.

Some internet sites say you can just place the MIB file there and it will
work.  I have tried running mib2c and mib2c-update as some sites
have suggested but haven't had any luck.  Following
http://www.net-snmp.org/wiki/index.php/TUT:mib2c-update

The following will return the MIB number for this value

snmptranslate -m +StorageManagement-MIB -IR -On arrayDiskState

However running the following:

snmpget -v2c -c public localhost .1.3.6.1.4.1.674.10893.1.20.140.1.1.13

returns:

SNMPv2-SMI::enterprises.674.10893.1.20.140.1.1.13 = No Such Object available
on this agent at this OID

I am beginning to wonder if I have to uninstall net-snmp and re-install it
compiling in the Dell MIB file.

O/S = RHE 4

Appreciate any feedback,
Rgds,
Dave.
0
Comment
Question by:dka07
3 Comments
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 33732685
Did you recycle snmpd?
0
 

Author Comment

by:dka07
ID: 33750196
Thanks for the response.
Yes, we have done that.
Just a thought, when snmp walking the mib tree there were a number of errors..

The only thing on the net I could see was related to the mib being wrong for
the kernel? Any ideas? Rgds, dave.

snmpwalk -v 2c -c public localhost .1.3.6.1.4.1

UCD-DLMOD-MIB::dlmodNextIndex.0 = INTEGER: 4
UCD-DLMOD-MIB::dlmodName.1 = STRING: /usr/share/snmp/mibs/StorageManagement-MIB.txt
UCD-DLMOD-MIB::dlmodName.2 = STRING: /usr/share/snmp/mibs/StorageManagement-MIB.txt
UCD-DLMOD-MIB::dlmodName.3 = STRING: StorageManagement-MIB
UCD-DLMOD-MIB::dlmodPath.1 = STRING: /usr/share/snmp/mibs/StorageManagement-MIB.txt
UCD-DLMOD-MIB::dlmodPath.2 = STRING: /usr/share/snmp/mibs/StorageManagement-MIB.txt
UCD-DLMOD-MIB::dlmodPath.3 = STRING: /usr/share/snmp/mibs
UCD-DLMOD-MIB::dlmodError.1 = STRING: dlopen failed: /usr/share/snmp/mibs/StorageManagement-MIB.txt: invalid ELF header
UCD-DLMOD-MIB::dlmodError.2 = STRING: dlopen failed: /usr/share/snmp/mibs/StorageManagement-MIB.txt: invalid ELF header
UCD-DLMOD-MIB::dlmodError.3 = STRING: dlopen failed: /usr/share/snmp/mibs: cannot read file data: Is a directory
UCD-DLMOD-MIB::dlmodStatus.1 = INTEGER: error(3)
UCD-DLMOD-MIB::dlmodStatus.2 = INTEGER: error(3)
UCD-DLMOD-MIB::dlmodStatus.3 = INTEGER: error(3)
UCD-SNMP-MIB::ucdExperimental.15.1.1.1.1 = INTEGER: 1
0
 
LVL 5

Accepted Solution

by:
group0 earned 500 total points
ID: 33775487
Regarding your original question, "No Such Object available on this agent at this OID" message means that this OID is not supported by the agent.  If it were just that you were leaving off the index (ie arrayDiskState.1, arrayDiskState.2) you would get a "No Such Instance currently exists at this OID" instead.

I've never used this MIB before, but from what I've found on google, here's the important bits:

-Do you have Open Manage Server Administrator installed, and SNMP enabled in it?
-Is your snmpd.conf properly configured to query OMSA?

The following link is geared towards debian, but may help: http://lazorsoftware.blogspot.com/2008/05/dell-openmanage-server-administrator.html

Also, a quick check on oidview.com shows that StorageManagement-MIB::arrayDiskState resolves to 1.3.6.1.4.1.674.10893.1.20.130.4.1.4

1.3.6.1.4.1.674.10893.1.20.140.1.1.13 (what snmptranslate resolved arrayDiskState to) is actually StorageManagement-MIB::virtualDiskLayout

Finally, since you are using RHEL4, this may also be relevant: https://bugzilla.redhat.com/show_bug.cgi?id=462016
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
AWS RDS 3 68
i can not do linux commands in cygwin windows 10 6 62
Cisco Router help 5 54
Delete a folder on a linux computer on a regular basis 10 24
Outsource Your Fax Infrastructure to the Cloud (And come out looking like an IT Hero!) Relative to the many demands on today’s IT teams, spending capital, time and resources to maintain physical fax servers and infrastructure is not a high priority.
Fine Tune your automatic Updates for Ubuntu / Debian
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now