If you're using hobbit 4.2RC then have a look at the metrics report under reports, this generates graphs of a specific rrd between 2 periods. Maybe look at the code behind that? There are utilities for generating html pages of rrd's in the old mrtg format on the main rrd site.
Thanks,
Craig
-----Original Message----- From: Chris Wopat [mailto:chrisw at supranet.net] Sent: 09 August 2006 15:10 To: hobbit at hswn.dk Subject: [hobbit] reading rrd files for seperate customer "extranet"
Hello,
Searching for the archives for this, I see some discussion on getting customer specific pages (Subject: "Alternate Pagesets"). Instead of this, I'm curious if anyone has written anything or any sample code to read directly from the RRD files to display in HTML.
I'm not too farmiliar with RRD, so that's why I'm asking here first. The
idea is to put graphs that have data from hobbit's RRD files to our customer login page. We'd keep track of what directory belongs to which customer via a seperate SQL database with a simple customer-> dir mapping.
Anyone tried this? Or maybe even anyone know sample code to read RRD and
graph them, preferably with something PHP driven? Or even possibly what the particular structure of hobbit's RRD's are so I can figure this out a bit more easily?
thanks --Chris
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk