Wrote a script a long time ago, in a contract far far away......
Went looking for it after my last posting, and I can't find it. :-(
From memory, it was very rough, and didn't really do much, besides provide
visibility, and check state and error counts.
I think the key information gathering command was something like this
fcinfo hba-port | grep "HBA Port WWN:" \
| cut -d":" -f2 \
| while read WWN; do fcinfo hba-port -l $WWN; done
I bunged that into a temp file, and then did a little creative grepping for
stuff like "State:" and "Current Speed:"
YMMV
If you want to collaborate on this one, I have a few spare cycles in my
current contract.
If you are really busy, it looks interesting enough that I might just run
with it :-)
(It may also be useful in my environment)
Cheers
V
On Tue, Aug 10, 2010 at 10:04 AM, Vernon Everett
<user-b3f8dacb72c8@xymon.invalid>wrote:
What are you looking to know?
On Mon, Aug 9, 2010 at 10:14 PM, Kevin Kelly <user-46671a9fcf56@xymon.invalid> wrote:
Does anyone know of a script that monitors HBA in a Solaris environment?
Just thought I would check before I spend time on creating one.
Thanks in Advanced!
-Kevin
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email