Xymon Mailing List Archive search

sending client side data

list Jason Altrincham Jones
Tue, 31 Jul 2007 12:38:03 +0100
Message-Id: <user-faa7c3b13565@xymon.invalid>

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:user-00a5e44c48c0@xymon.invalid] 
Sent: 31 July 2007 11:32
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] sending client side data

On 7/31/07, Jones, Jason (Altrincham) <user-ee957b46acd2@xymon.invalid> 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