actixsupport
Contributor
Contributor

Monitoring/Alerting on storage path changes

Hi,

We're running Sanmelody with an Active/Active array but we want all requests to go to one of the storage arrays(which we intially set).

Occasionaly for one reason or another a host will change/fail over to the backup box and I only pick this up by manually going through the hosts and cheking the LUN paths.

Does anyone have or know of a way to alert when an ESX host changes it's storage paths?

I'm open to anything here weather it be powershell, syslog, a script that runs on the host! Smiley Happy

Cheers

Ray

0 Kudos
1 Reply
Rubeck
Virtuoso
Virtuoso

Yes, update to vSphere vCenter Smiley Happy

I have done something similar as I was tired of searching for dead paths... I made a simple script wich was launched as a cron job.. The script sends snmp trap with a selected OID to a HP insight manger server with the message:

"FC host HBA status changed"

As you see the script is VERY simple...

#!/bin/bash

dpath= esxcfg-mpath -l | grep -i -o "dead" > /dev/null

if ; then

snmptrap -v 1 -c public <IP SNMP monitor server> 1.3.6.1.4.1.232 localhost 6 16015 0

fi

exit 0

Maybe that will give further ideas...

/Rubeck

0 Kudos