[hobbit] larrds extra-tests

Henrik Stoerner henrik at hswn.dk
Wed Jun 29 22:24:38 CEST 2005


On Wed, Jun 29, 2005 at 03:59:46PM -0400, Patrick Vaughan wrote:
> 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

You need the --extra-tests and --extra-script on both of the CMD
settings:

   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 --extra-tests=vmio

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


Each of the hobbitd_larrd tasks is independent. So unless you know if
your vmio script report to Hobbit using either a "status" or a "data"
message, the safest way is to enable it on both of them.


Henrik





More information about the Xymon mailing list