Solved

Nagios MIBs

Posted on 2010-09-21
3
2,901 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.

772 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