rrd problems on hobbit-4.2.beta.20060605
I'm a long time bb user, looking to hobbit as a possible migration path.
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 2006-06-10 18:10:10 Tried to down BOARDBUSY: Invalid argument 2006-06-10 18:13:38 Tried to down BOARDBUSY: Invalid argument
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) 2006-06-10 18:13:53 RRD error updating /var/lib/hobbit/rrd/jyro/tcp.dns.rrd from 192.168.111.2: illegal attempt to update using time 1149988433 when last update time is 1149988433 (minimum one second step) 2006-06-10 18:13:53 RRD error updating /var/lib/hobbit/rrd/toro/tcp.dns.rrd from 192.168.111.2: illegal attempt to update using time 1149988433 when last update time is 1149988433 (minimum one second step)
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
Henrik Stoerner wrote:
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
In the hours since I posted this, most of the graphs have showed up.
I had been concentrating on the "process" graph however, which hasn't appeared, but I now realize that it's probably for the same reason that the "procs" page is grey, and displays a "no process checks defined" notice. (slaps forehead)
I'll configure process checks and that should cause the graphs to appear.
In short, it all seems to be working even better than I originally thought.
Sorry for the noise on the list.
Joe
participants (2)
-
henrik@hswn.dk
-
joe@tmsusa.com