[xymon] HBA monitor script for Solaris
Vernon Everett
everett.vernon at gmail.com
Tue Aug 10 05:17:47 CEST 2010
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
<everett.vernon at gmail.com>wrote:
> What are you looking to know?
>
>
> On Mon, Aug 9, 2010 at 10:14 PM, Kevin Kelly <kkelly at lifetouch.com> 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
>> _____________________________________________________________________
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20100810/5933eb49/attachment.html>
More information about the Xymon
mailing list