WOW! Thanks! That's more than I hoped for. Working examples are my best learning tool.
From what I can see, I don't think graph.php is ever calling my srss_report.php. I can tell that metric.php is being used every time. Frustrating. How can I log stuff in graph.php so I can see what is happening? Art Sent from my iPhone On Jun 15, 2010, at 8:47 PM, Vladimir Vuksan <vli...@veus.hr> wrote: > It's quite hairy :-). I basically had to turn on E_ERR to figure out > some of these errors. I have an apache stacked graph report > (modified from Ben Hartshorne) here > > http://vuksan.com/linux/ganglia/index.html#Apache_Traffic_Stats > > I have gotten to a point where I actually have a template that > generates these reports. I have also "hacked" things up to give me > aggregate stacked and line graphs. I blogged recently about > aggregate line graphs > > http://vuksan.com/blog/2010/06/05/beauty-of-aggregate-line-graphs/ > > I have been meaning to post bunch of examples but haven't gotten > around to it yet. I just uploaded one that aggregates load on all > web servers on one graph. You can find it here > > http://github.com/vvuksan/ganglia-misc/blob/master/graph.d/all_web_load_report.php > > Hope this helps, > Vladimir > > > On Tue, 15 Jun 2010, Art Peck wrote: > >> Try as I might, and I HAVE tried, I can not seem to get the modular >> graphs to work. >> I followed the process here: >> https://sourceforge.net/apps/trac/ganglia/wiki/ganglia_modular_graph_documentation >> >> to no avail. This >> looked very precise and I thought I had found the answer, but >> apparently there is still some subtle thing I'm missing. >> I walked through the graph.php code to see if there were any hints. >> There seems to be some discrepancies with the web page, but >> that's may just be me misreading it. Any way, my modular graph is >> still not working. >> I'm very sure this all works because the IBM guys have some amazing >> things on their ganglia web site. >> I guess I have at least two questions: >> (1) Where does the error_log() function log the messages? That >> would be very helpful. At least I could see how my report is (or >> isn't in my case) being called. >> (2) Exactly where in the host view should by modular graph be >> showing? How does graph.php, etc know which group it goes in? I'm >> guessing from the GROUPS key that I set in my descriptor that I >> passed to rrdtool? >> (3) My report filename is srss_report.php; and the function name >> inside that file is graph_srss_report (). Although the web page is >> not totally clear on that, I dug it out of the graph.php code .... >> always go to the src I say! Is this set up correctly?? >> Geez, I know I'm a newbie at ganglia, but I've been doing stuff >> like this for a LONG time and I've never been this baffled. I sure >> would appreciate someone enlightening me. ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Ganglia-developers mailing list Ganglia-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-developers