5 years and custom reports.

dirty_al

23-08-2004 17:14:30

I have tow topics in the same message.
I'd like to know it it is possible to increase the RRD to 5 years instead of 1 year.
The second point is that I'd like to generate a time period custom reports like last month, from Monday to Friday and form 900am to 600pm, like a SLA. It would give great power to netMRG as I dont know any free software for report generation that does such things.
Hope I was undestood and thanks.

[]s.

silfreed

25-08-2004 16:20:11

[quotef544fd2963="dirty_al"]I'd like to know it it is possible to increase the RRD to 5 years instead of 1 year.[/quotef544fd2963]
Yes, but not through a simple configuration change.
NetMRG currently stores its data for a little over two years in the RRDs; this is done at the creation time for the rrds, and is configured in src/rrd.cpp. If you made this change and recompiled, you would also have to tune your existing RRDs to increase their maximum as well.
To view the longer time period, you can modify the settings in lib/graphing.php, but these values moved to stat.php for the next version (so it's a little more centralized).

[quotef544fd2963="dirty_al"]The second point is that I'd like to generate a time period custom reports like last month, from Monday to Friday and form 900am to 600pm, like a SLA.[/quotef544fd2963]
Again, this is possible, but not in an automated fashion. When you click on a graph, there is an 'advanced' link that you can enter custom time periods to view the graph over. You probably could bookmark the URL that makes this graph and visit it again this way. For more information on the date format, look in our docs in the workday highlighting section for tips on how to enter the date format.

-Doug

dirty_al

25-08-2004 16:34:42

Thanks, I will check this files and see what can be done.
The problem with custom reports is that I want to cut specifically some times in the the day during days, like I want to know just the business ours graph from last month, to see if I kept the SLA.

Thanks.