28 Sep
2006
28 Sep
'06
5:39 a.m.
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