bb-mdstat Instructions
list Josh Luthman
Mon, 29 Dec 2008 18:55:03 -0500
Message-Id: <user-1a36dea3666e@xymon.invalid>
Can anyone tell me to put these? I can't include them of the readme...
Drop bb-mdstat.sh into ~hobbituser/client/ext/bb-mdstat.sh
*Found here:
http://www.deadcat.net/download.php?fileid=731&filename=bb-mdstat.sh&location=1
cd ~hobbituser/client/ext/
chmod 755 bb-mdstat.sh
chown hobbituser:hobbituser bb-mdstat.sh
Add this to the bottom of ~hobbit/client/etc/clientlaunch.cfg
[raid]
ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg
CMD $HOBBITCLIENTHOME/ext/bb-mdstat.sh
LOGFILE $HOBBITCLIENTHOME/logs/myscript.log
INTERVAL 5m
Now at this point your Hobbit client will sent [raid] information in the
client data. Now simply add the raid column by adding "raid" to the end of
the host in bb-hosts as such:
1.2.3.4 myhost.foo.bar # raid
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer