[mrtg] Re: Business Hours and 95%ile.

Danny Brando 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
-dannyb


--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list