[hobbit] rrd problems on hobbit-4.2.beta.20060605

Henrik Stoerner henrik at hswn.dk
Sun Jun 11 08:44:03 CEST 2006


On Sat, Jun 10, 2006 at 06:34:01PM -0700, J Sloan wrote:
> I'm a long time bb user, looking to hobbit as a possible migration path.

Welcome to the club :-)

> I've installed hobbit-4.2.beta.20060605 on a suse 10.0 system, and for the
> most part everything works well, just like a nicer version of big brother.
> 
> However the graphs are all nonexistent, and the following clues appear in the
> rrd logs:
> 
> root at toro:/var/log/hobbit> tail -3 rrd-data.log
> 2006-06-10 18:08:20 Tried to down BOARDBUSY: Invalid argument

These are actually "just" signs of you restarting Hobbit.

> root at toro:/var/log/hobbit> tail -3 rrd-status.log
> 2006-06-10 18:13:53 RRD error updating /var/lib/hobbit/rrd/toro/tcp.bbd.rrd
> from 192.168.111.2: illegal attempt to update using time 1149988433 when last
> update time is 1149988433 (minimum one second step)

This one is a bit odd, but shouldn't prevent you from seeing any graphs.
The message indicates that you do in fact have the RRD files used to track 
the data (these are in the ~hobbit/data/rrd/ directory - or 
/var/lib/hobbit/rrd if you used the RPM install). So that part,
collecting the data, is working.

The most common reason for graphs not appearing appears to be that the
CGI program generating the graphs cannot find one of the libraries it
needs (the rrdtool "librrd.so.*" library). Or if you have installed
a newer version of rrdtool yourself, but the older version is still
available elsewhere on your system.

Try this: Do an "su - www-data" (or whatever userid your webserver
uses) to get the real environment setup. Then run

   REQUEST_METHOD=GET SCRIPT_NAME="hobbitgraph.sh" \
   QUERY_STRING="host=toro&service=bbd&action=view&graph=hourly" \
   ~hobbit/cgi-bin/hobbitgraph.sh

This should provide some more insight into why the graphs won't show up.


Regards,
Henrik




More information about the Xymon mailing list