Page 1 of 1

MIB for SAN

Posted: Thu Aug 01, 2013 8:24 am
by jwu
Our SAN needs to be agentless to setup NagiosXI monitoring.
I was wondering if there are directions on how we can monitor
our SAN agentless using MIB and SNMP? Do we have documentation
on how we can set that up?

Re: MIB for SAN

Posted: Thu Aug 01, 2013 2:23 pm
by lmiltchev
I would recommend searching the Nagios Exchange ("SAN" keyword) for any plugins that may suit for needs. Once you are able to run your checks successfully from the command line, you would be able to add them to Nagios XI by following the steps, outlined in this document:

http://assets.nagios.com/downloads/nagi ... ios_XI.pdf

Re: MIB for SAN

Posted: Fri Aug 02, 2013 9:20 am
by jwu
I couldn't find any, the specific brand and model for our SAN is
Coraid Etherdrive SAN with Coraid VSX,
I do see HP MSA P2000 and EMC Clarion, but nothing else...

if we go the SNMP MIB route, we need to enable SNMP on the SAN and run the
SNMP commands within the NagiosXI interface?

Re: MIB for SAN

Posted: Fri Aug 02, 2013 10:54 am
by abrist
Yes, enable snmp on the SAN, and run an snmpwalk wizard on the device to select the oids you want. You may need to install mibs from the vendor, and/or get documentation for the SAN to identify the MIB/OID you wish to monitor.

Re: MIB for SAN

Posted: Mon Aug 05, 2013 1:27 pm
by jwu
I updated and Managed the new MIB, have it uploaded, and I tried the SNMP wizard,
I keep getting the
OUTPUT: SNMP problem - No data received from host
error...

Do you have the example of the correct output?

This is what I have for the command
COMMAND: /usr/local/nagios/libexec/check_snmp -H <IP address> -p 162 -o <OID> -C public -P 2c -m all

Re: MIB for SAN

Posted: Mon Aug 05, 2013 2:30 pm
by lmiltchev
Did you enable SNMP on the SAN? Can you run snmpwalk successfully?

Code: Select all

snmpwalk <ip address> -v 2c -c <community string>
or

Code: Select all

snmpwalk <ip address> -v 2c -c <community string> mib-2.interfaces

Re: MIB for SAN

Posted: Mon Aug 05, 2013 2:37 pm
by jwu
I finally got it, I didn't have the right OID,
I see in the MIBs you have a long list of MIBS, is there a default MIB file you would suggest that I use for diskio,
like disk usage, CPU usage etc... the basic checks?

Re: MIB for SAN

Posted: Mon Aug 05, 2013 2:48 pm
by scottwilkerson
I haven't used this for disk I/O but I found this
http://net-snmp.sourceforge.net/docs/mi ... IOMIB.html

For most other checks the already installed Net-SNMP should be able to do it and depending on your equipment type you can use the corresponding SNMP Wizard
Linux SNMP Wizard
Windows SNMP Wizard

Re: MIB for SAN

Posted: Tue Aug 27, 2013 11:21 am
by jwu
got it resolved, thanks