[BlueOnyx:07589] Re: Creating Active Monitors
Ken - Precision Web Hosting, Inc
kenlists at precisionweb.net
Sat Jul 2 20:52:20 -05 2011
----- Original Message -----
From: "Darrell D. Mobley" <dmobley at rocketryplanet.com>
To: "'BlueOnyx General Mailing List'" <blueonyx at mail.blueonyx.it>
Sent: Saturday, July 02, 2011 5:40 PM
Subject: [BlueOnyx:07587] Creating Active Monitors
> Is it possible for users to write Active Monitors? I want to write an HP
> monitor that basically Monitors Disk Integrity:
>
>
> #!/bin/sh
>
> cciss_vol_status -q /dev/cciss/c*d0|grep -q "status: OK"
>
> if test "$?" != "0"
> then
> echo Array A not ok! (turn on red light)
> else
> echo Array A is ok! (turn on green light)
> fi
>
>
> How would I go about that?
>
> Active Monitor stuff is not in the developer's guide I have.
>
Darrell
You could look at and modify then script at
/usr/sausalito/swatch/bin/am_disk.pl
----
Ken M
Precision Web Hosting, Inc.
http://www.precisionweb.net
More information about the Blueonyx
mailing list