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

larrds extra-tests



I'm trying to setup some custom graphs and an having some problems. It doesn't look like the extra-script is running.

Here is the relavent lines from hobbitlaunch.cfg:

CMD hobbitd_channel --channel=status --log=$BBSERVERLOGS/larrd-status.log hobbitd_larrd --rrddir=$BBVAR/rrd --extra-script=/usr/lib/hobbit/server/bin/hobbit-ext-larrd.sh

CMD hobbitd_channel --channel=data --log=$BBSERVERLOGS/larrd-data.log hobbitd_larrd --rrddir=$BBVAR/rrd --extra-tests=vmio

Here's my testing script:
#!/bin/sh

# Input parameters: Hostname, testname (column), and messagefile
HOSTNAME="$1"
TESTNAME="$2"
FNAME="$3"

echo "HOSTNAME=$1 TESTNAME=$2 FNAME=$3" > /tmp/hobbit-ext-larrd.out

I tried adding LARRD:*,vmio to the bb-hosts file for one of the nodes. I took that back out and added it to the LARRDS and GRAPHS options in hobbitserver.cfg.

I get the graph icon on the bottom of my screen, but the script never runs (it never writes the tmp file).

There has to be something simple that I'm missing, but I don't see it.