Hello;
I have been looking through the forums for hours and I didn't manage to find my answer.
I am trying to create a graph from a CSV file. The file is uploaded on once a day and contains the CDR for mobile phones using 3G.
As the CDR are issued each time 1MB is consummed I must take the timestamp from the file. Each line is a CDR. I managed to write a php script to extract the data and an Input method to handle it. The output is like:
day:2/29/2012 time:04:34:46.0 kbps:900
I would like to graph the kbps value while using the date and hour as the x-axis values. Is there a way to do that?
Another problem might be that I could want to run the script once a day to avoid importing the same data several times.
Help on using output from a script as x-axis values
Moderators: Developers, Moderators
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Help on using output from a script as x-axis values
In this case, using the cacti poller won't help as data is made available asynchronously.
This will leas to what we call "externally updated rrd files".
Learn how to handle them at 1st link of my sig; see rrdtool chapter
R.
This will leas to what we call "externally updated rrd files".
Learn how to handle them at 1st link of my sig; see rrdtool chapter
R.
Who is online
Users browsing this forum: No registered users and 1 guest