MIB for SAN

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jwu
Posts: 81
Joined: Wed Jul 24, 2013 2:54 pm

MIB for SAN

Post 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?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: MIB for SAN

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
jwu
Posts: 81
Joined: Wed Jul 24, 2013 2:54 pm

Re: MIB for SAN

Post 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?
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: MIB for SAN

Post 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.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
jwu
Posts: 81
Joined: Wed Jul 24, 2013 2:54 pm

Re: MIB for SAN

Post 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
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: MIB for SAN

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
jwu
Posts: 81
Joined: Wed Jul 24, 2013 2:54 pm

Re: MIB for SAN

Post 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?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: MIB for SAN

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
jwu
Posts: 81
Joined: Wed Jul 24, 2013 2:54 pm

Re: MIB for SAN

Post by jwu »

got it resolved, thanks
Locked