[mrtg] Re: Business Hours and 95%ile.
dannyb at dannyb.net
Thu Sep 6 23:56:27 MEST 2001
On Thu, 6 Sep 2001, Forthofer Russ wrote:
> As others have also indicated, I would like to see the data presented with
> just the business day, but also for the entire day. With the knowledge you
> provided, though, it seems it should be pretty straightforward to simply
> create another instance of the graph - either by selectively copying the
> data or by setting up cron as you suggest.
I modified MRTG to also update a database with the date/time/in/out/total
every 5 minute poll for each target, so to get the stats for business
hours only, it is as simple as a sql query. As for the graphs, you can
put together a simple Perl or PHP script using GD to graph the numbers
from the database.....
just my $.02
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
More information about the mrtg