[hobbit] sending client side data

Jones, Jason (Altrincham) JasonAS_Jones at mentor.com
Tue Jul 31 13:38:03 CEST 2007


Not really, that sends the predetermined colours, what I was thinking is
more sending the output of command x and then have hobbit generate the
webpage.

Any ideas?
Jason.

-----Original Message-----
From: Ralph Mitchell [mailto:ralphmitchell at gmail.com] 
Sent: 31 July 2007 11:32
To: hobbit at hswn.dk
Subject: Re: [hobbit] sending client side data

On 7/31/07, Jones, Jason (Altrincham) <JasonAS_Jones at mentor.com> wrote:
>
> I've been looking through the archives at the sample server side
module
> Henrick showed us
> (http://www.hswn.dk/hobbiton/2007/01/msg00487.html) I'm
> just curious if anyone knows how to send data from the client side to
the
> server the same way the standard hobbit client tests do, looking at bb
I'm
> guessing either bb data or bb client, but when I run bb <hobbitIP>
"client
> <hostname>.<os>" nothing happens and the man pages don't mention how
to
> actually send the data etc.

I have a Hobbit client install running a BigIP check.  In
client/etc/clientlaunch.cfg:

      [bigip-v4]
          ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg
          CMD $HOBBITCLIENTHOME/ext/bigip/bigip3.sh
          LOGFILE $HOBBITCLIENTHOME/logs/hobbitclient.log
          INTERVAL 5m

After doing what it needs to do to get the status, the script sends
off a status message to the server like this:

      MACHINE=`echo $NAME | sed -e 's/\./,/g'`
      MESSAGE="status $MACHINE.$TEST $COLOR `date`<P><font size=+2>The
$BIGIP BigIP says: $NAME $TEST is $STATE</font>"
      $BB $BBDISP $MESSAGE

Is that what you're looking for??

Ralph Mitchell

To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk





More information about the Xymon mailing list