I've been playing with hobbit-4.1.2p1 for a week or so now, and have just spent the last couple of hours banging my head on the desk trying to get bb-mysqlstat to show graphs. Well, getting the reports through wasn't hard, and I could even get an empty link to show on the trends page by (mostly) following this advice:
http://www.hswn.dk/hobbiton/2005/06/msg00268.html
but I wasn't getting graphs...
Anyway, to make a long story short, it looks like the [mysqlslow] and [mysqlthread] entries in hobbitgraph.cfg need to have YAXIS defined. With that in, I get graphs.
Looking at hobbitd/hobbitgraph.c, it appears that where YAXIS is defined, it gets copied to newitem->yaxis (line 284), then that gets copied to rrdargs (line 890). I haven't had time to really read the whole file closely, but unless rrdargs is being checked somewhere, I'd guess that rrd_graph can't handle being passed an empty pointer for the yaxis label...
This is a great tool, and if I can ever persuade management to switch from Big Brother... :)
Ralph Mitchell
On Wed, Dec 28, 2005 at 05:35:15AM -0600, Ralph Mitchell wrote:
Anyway, to make a long story short, it looks like the [mysqlslow] and [mysqlthread] entries in hobbitgraph.cfg need to have YAXIS defined. With that in, I get graphs.
Yep, it's a mistake. Was fixed after the 4.1.2p1 release.
Regards, Henrik
Great, thanks! Is this the right place to report things like that, or is there a bug-tracker somewhere I should have looked at??
Ralph Mitchell
On 12/28/05, Henrik Stoerner <henrik at hswn.dk> wrote:
On Wed, Dec 28, 2005 at 05:35:15AM -0600, Ralph Mitchell wrote:
Anyway, to make a long story short, it looks like the [mysqlslow] and [mysqlthread] entries in hobbitgraph.cfg need to have YAXIS defined. With that in, I get graphs.
Yep, it's a mistake. Was fixed after the 4.1.2p1 release.
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
participants (2)
-
henrik@hswn.dk
-
ralphmitchell@gmail.com