Could give it a go. Send me the output of iostat -x 2 2 for your favourite OS(s)
Where I am now, I only have Solaris, hence the bias.
Cheers V
On Wed, Sep 15, 2010 at 5:22 AM, Daniel Bourque <dbourque at weatherdata.com>wrote:
Sorry I can't reply to the thread for some reason i quit receiving the emails, I checked the archive and noticed the replies to my former thread. ( thanks ! )
Vernon, since I don't run solaris here, only linux and some tru64, the -r ( csv output ) and -n ( friendly names ) options makes it hard to use your shell script since they either don't exists or don't work the same. Can you perhaps provide a same output of "iostat -xrn" and along with formated text you pass to hobbit in your check.
I can then provide a snippet of code for linux, which would provide the equivalent output. So you could just add a case in the shell script.
case
unamein Linux) /usr/bin/iostat -x $DURATION 2 | wonderful stuff > $TEMPFILE.raw ;; SunOS) /usr/bin/iostat -xrn $DURATION 2 > $TEMPFILE.raw ;; esac-- Dan
To unsubscribe from the xymon list, send an e-mail to xymon-unsubscribe at xymon.com