equallogic san?

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

spoonwzd
Posts: 28
Joined: Wed Jun 18, 2008 12:10 pm

Post by spoonwzd »

Yeah it is a bit of a pain this. I find the quickest way is to just generate the MRTG config on the SAN and get the info from there.

Steps to achieve this are as follows;

1. Telnet into your SAN
2. Type 'mrtg-config'

Image

3. FTP into your SAN
4. Set the local dir you want to save the file with the 'lcd' command
5. Download the mrtg.cfg you just generated using the 'get' command.

Image

6. Open the mrtg.cfg file in notepad and you should see your SAN's unique identifier listed near the end of each target definition.

Image

7. Go into Cacti and edit each EqualLogic SAN data template.
8. Update each OID field with the unique identifier we found in step 6.

Image

9. Do the same for each SAN data template until all OID's have been updated.

That shoudl be it. Now just set up the device & graphs as usual.

For some reason Cacti states an 'SNMP error' on the device screen, but it still graphs content ok.

Let me know if you're still having issues.
User avatar
Cylindric
Cacti User
Posts: 54
Joined: Mon Jul 16, 2007 9:32 am

Post by Cylindric »

Awesome! We just got an EqualLogic SAN, and these worked perfectly.

To find the OID to use, I didn't have to log into the SAN itself...

From my Cacti box, I simply issued the following:

Code: Select all

snmpwalk -v 1 -c CactiSNMP 10.10.10.10 .1.3.6.1.4.1.12740.2.1.6.1.3.1
SNMPv2-SMI::enterprises.12740.2.1.6.1.3.1.330324393.4 = Gauge32: 66
SNMPv2-SMI::enterprises.12740.2.1.6.1.3.1.330324393.5 = Gauge32: 32
SNMPv2-SMI::enterprises.12740.2.1.6.1.3.1.330324393.6 = Gauge32: 63
SNMPv2-SMI::enterprises.12740.2.1.6.1.3.1.330324393.7 = Gauge32: 33
SNMPv2-SMI::enterprises.12740.2.1.6.1.3.1.330324393.8 = Gauge32: 65
SNMPv2-SMI::enterprises.12740.2.1.6.1.3.1.330324393.9 = Gauge32: 82
SNMPv2-SMI::enterprises.12740.2.1.6.1.3.1.330324393.10 = Gauge32: 53
SNMPv2-SMI::enterprises.12740.2.1.6.1.3.1.330324393.11 = Gauge32: 65
SNMPv2-SMI::enterprises.12740.2.1.6.1.3.1.330324393.12 = Gauge32: 79

And it listed my SAN. The long number near the end was my OID.

I then opened the cacti_host_template_equallogic_san_1_584.xml file in my favoured editor, and did a search for 292008857, and replaced with 330324393.

I reimported the template, and voilá, adding the datasources now pointed at my SAN.

We only have one, so it was simple, otherwise I guess just rince-and-repeat using the "san 2" and "san 3" templates.
Server: Windows Server 2008 R2 x64 (running on a VM, 4Gb RAM)
Cacti: 0.8.8a (using cmd, 270 datasources in 145s)
MySQL: 5.5.16, Apache: 2.2.21, PHP: 5.3.16
spoonwzd
Posts: 28
Joined: Wed Jun 18, 2008 12:10 pm

Post by spoonwzd »

Ahh good call - that's definately an easier way to get the SAN OID! Thanks :)

Its also worth noting that the v4 SAN firmware from EqualLogic no longer provides the 'SES' temperature over SNMP, so it's probably worth removing that from the graph template. It's not defined in their SAN HQ app either, so clearly has been dropped.
kayex
Posts: 10
Joined: Thu Aug 20, 2009 12:42 pm

Post by kayex »

is it possible to get volume information (size, free/used space etc?)
User avatar
Cylindric
Cacti User
Posts: 54
Joined: Mon Jul 16, 2007 9:32 am

Post by Cylindric »

I'm looking into that now. Seems that in ESX 4 some stuff was taken out of the MIBs. I may have to look at the Perl SDK that's available :(
Server: Windows Server 2008 R2 x64 (running on a VM, 4Gb RAM)
Cacti: 0.8.8a (using cmd, 270 datasources in 145s)
MySQL: 5.5.16, Apache: 2.2.21, PHP: 5.3.16
spoonwzd
Posts: 28
Joined: Wed Jun 18, 2008 12:10 pm

Post by spoonwzd »

Cyl: ESX4? :)

You can't rely on the used/free space value on the SAN. It's just talking about usage/allocation at the block level of the disk (which isn't actually relevant to the amount of 'free space' on the NTFS/VMFS partition(s) sitting on the LUN).
holobeer
Posts: 9
Joined: Mon Sep 07, 2009 4:58 am

Post by holobeer »

I just posted a complete Host template for Dell Equallogic SAN groups.

See http://docs.cacti.net/usertemplate:host ... logicgroup for screenshots en information.
This host template does not require manual editing of OID's and also works with SAN groups composed of multiple members.
spoonwzd
Posts: 28
Joined: Wed Jun 18, 2008 12:10 pm

Post by spoonwzd »

holobeer wrote:I just posted a complete Host template for Dell Equallogic SAN groups.

See http://docs.cacti.net/usertemplate:host ... logicgroup for screenshots en information.
This host template does not require manual editing of OID's and also works with SAN groups composed of multiple members.
Very nice HB!
bargi
Posts: 1
Joined: Thu Dec 23, 2010 9:29 am

Re: equallogic san?

Post by bargi »

Hi,

Got the template to work no problems on a group with 3 members but our other EQL boxes in remote offices with only one member just come up with "SNMP error" (yes, checked the obvious :)
Also I'm not seeing the temp and fan speed, we're on the last of the 4.x firmware so perhaps it's been dropped?

any ideas?

Thanks

Ray
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests