Xymon Mailing List Archive search

NCV help!

list Lars Ebeling
Thu, 28 Sep 2006 07:43:11 +0200
Message-Id: <06ec01c6e2c0$fc49a1c0$user-a73ca09b698f@xymon.invalid>

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

Lars
----- Original Message ----- 
From: "Henrik Stoerner" <user-ce4a2c883f75@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
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