|Cheshire Cat Computing
|Question on the CSV File output
|Page 1 of 1|
|Author:||Spyke [ Tue Aug 10, 2004 10:28 am ]|
|Post subject:||Question on the CSV File output|
If you look at the CSV file that's generated for any of the graphs that have a datapoint for Peak inbound and outbound traffic it leaves that information out.
It shows the incoming and outgoing traffic datapoints where appropriate for the graph in question, but not the peak inbound/outbound.
Since that data exists in the graph, how difficult would it be to get added to the CSV file (i.e. what tweak to get it added in the script would I need to do)?
Reason being, for certain data analysis bits once you hit monthly, there can be a big difference between the value of the peak inbound traffic and the incoming traffic at any specific datapoint due to how each one is recorded.
Any help would be appreciated. Thanks. =)
|Author:||stevesh [ Tue Aug 10, 2004 10:57 am ]|
True, this is not exported.
The export is performed by the do_export function (of course). Look for the 'Fetch data' comment. In order to add two more columns for the peaks, a second RRDs::fetch call would have to be made with MAX rather than AVERAGE and this dataset simultaneously processed to provide the data for the two new columns.
If you feel confident about perling then this sould not be too difficult.
I'll add it to the list of 2.15 work since it is relatively simple and of obvious benefit.
(update: I have a working beta of this now (it really was a simple procedure!). There are a few issues with making it completely flexible over all possible configurations, though, that are being worked on. Let me know if you need a copy of 2.15b4)
|Author:||Spyke [ Thu Aug 12, 2004 3:38 am ]|
|Author:||stevesh [ Thu Aug 12, 2004 9:46 am ]|
|Page 1 of 1||All times are UTC + 12 hours [ DST ]|
|Powered by phpBB® Forum Software © phpBB Group