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

Re: [hobbit] hobbit monitoring



Stef Coene wrote :
> Just wondering, how hard would it be to create an extra channel for trending?
> So you can use the bb client to send "numbers" to the hobbit server together 
> with some extra control information.  
> 
> bb <bb server> trends <server name>
> <rrd file name> <ds name> <number> <options>

It's a bad idea, because you hook the underlying data storage format
into the protocol.

You can always add something like that :

hobbitd_channel --channel=status --log=/var/log/hobbit/rrd-customengine-status.log hobbitd_rrdcustomengine --rrddir=/usr/local/hobbit/data/rrd
hobbitd_channel --channel=data --log=/var/log/hobbit/rrd-customengine-data.log hobbitd_rrdcustomengine --rrddir=/usr/local/hobbit/data/rrd

It's up to the reader to write the hobbitd_rrdcustomengine program (can
be Perl, Shell, whatever suits you).


-- 
Charles Goyard - cgoyard (at) cvf.fr - (+33) 1 45 38 01 31