I've now inserted an extra linefeed, so again adding an echo temporarily so we can see whats going on, my output is:
$ /bin/bbcmd ext/hobbit-mod_jk.sh/
2006-09-28 04:15:54 Using default environment file /users/monitor/local/hobbit/client/etc/hobbitclient.cfg
/users/monitor/local/hobbit/client/bin/bb 127.0.0.1 data cna-prod-app-28.modjk green Thu Sep 28 04:16:13 GMT 2006
modjk : 0.139448
Still no rrd file...hmmm
-Charles
lars ebeling wrote:
I have a script monitoring my mailboxsize. To get a graph I have to have the MSG on a seperate line in the status sent to hobbit, like this:
$BB $BBDISP "status $MACHINE.mailbox red édateé
écat /tmp/mailsize.txté " Regards
Lars
----- Original Message -----
*From:* Charles Jones <mailto:user-e86b4aeade4e@xymon.invalid>
*To:* user-ae9b8668bcde@xymon.invalid <mailto:user-ae9b8668bcde@xymon.invalid>
*Sent:* Thursday, September 28, 2006 2:48 AM
*Subject:* Re: [hobbit] NCV help!
MSG=`printf "mod_jk : %2.6f\n" $JKAVG`
$BB $BBDISP "data $MACHINE.modjk green `date` $MSG"
exit 0