Xymon Mailing List Archive search

Use clientchannel to determine status of /proc/mdstat on hobbit server?

list Dennis Ortsen
Tue, 3 Apr 2007 17:18:54 +0200
Message-Id: <002f01c77603$64f92ee0$user-eea6a204c5f0@xymon.invalid>

Hi All,

I've got a shell script that checks the status of the Linux md devices (cat
/proc/mdstat). It is currently intended to be run on the client itself (drop
it in $BBHOME/ext and add some config to $BBHOME/etc/clientlaunch.cfg). It's
a script from the RAID category on www.deadcat.net. Is it possible to have
the script installed only on the hobbit server and use the clientchannel to
retrieve the contents of /proc/mdstat and let the hobbit server do the test?
A new column (raid i.e.) would be preferable. A rule in
$BBHOME/etc/hobbit-clients.cfg would be very nice.

Thanks in advance!

Regards,

Dennis