[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Use clientchannel to determine status of /proc/mdstat on hobbit server?
- To: <hobbit (at) hswn.dk>
- Subject: Use clientchannel to determine status of /proc/mdstat on hobbit server?
- From: "Dennis Ortsen" <dortsen (at) gmail.com>
- Date: Tue, 3 Apr 2007 17:18:54 +0200
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:from:to:subject:date:message-id:mime-version:content-type:content-transfer-encoding:x-mailer:x-mimeole:thread-index; b=EfZ/rIjVa1RqVfzantER5RRrkGfRoY6P2ou7SNc2SynE47V44A2SH4ryqPwIYtMYUM/OvNYrBYhdYVvwueUAn0KxX8NdyfnHqu0/tm11q9hWGEQK0WtK9NZfnFROFsUKKdQnykEOF69D2RGj0UBwgxMnIYbDkf24Tu79Ytzsue4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:from:to:subject:date:message-id:mime-version:content-type:content-transfer-encoding:x-mailer:x-mimeole:thread-index; b=bDmNj3UaRkcOY+QoOGsLTICRDmk/ihVSaLCGueyrX/9jsLnkP7I5Q1jOLJBDV9pgAt76Ve9GCHVoofSae/5l07o9QgHKWA8b27WOSuPObZYAuAXuxzrsvaRgoVDJuM4xwwdUx5XL6FXVQcfhkY2QG8CSuHGaFglGe1GeAbqR7EM=
- Thread-index: Acd2A2REUtZA1Of/Sj67AsRfCmZHKA==
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