[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] NCV help!



Ok, I had still had the status green when I tested data

Lars
----- Original Message ----- From: "Henrik Stoerner" <henrik (at) hswn.dk>
To: <hobbit (at) hswn.dk>
Sent: Thursday, September 28, 2006 7:39 AM
Subject: Re: [hobbit] NCV help!



On Wed, Sep 27, 2006 at 05:06:10PM -0700, Charles Jones wrote:

Here is a running of the script, with the last line prefixed with
"echo"  so that we can see what it's sending:

/users/monitor/local/hobbit/client/bin/bb 127.0.0.1 data
cna-prod-app-28.modjk green Wed Sep 27 23:53:18 GMT 2006 mod_jk : 0.115922

As others have pointed out, the "mod_jk : N" must be on a separate line. Also, "data" messages should not have anything but the hostname and data-type on the first line. So try changing your script to do

VALUE=`printf "%2.6f\n" $JKAVG`
$BB $BBDISP "data $MACHINE.modjk

modjk : $VALUE
"

with a new-line right after the data identifier, and "modjk" (with no
underscore) on a line by itself.


Regards, Henrik


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