Dataquery for cacti
Wednesday, November 8, 2006 15:00What is Dataquery?
Dataquery is the ex-cactiquery addon for cacti. It was renamed to dataquery to be distinguished between the old version of it. The new version makes use of the plugin architecture.
How do i run Dataquery?
Just install the plugin and make sure you read the Readme file included in the package.
To query a graph just open your cacti as your normaly would do, next to the graphs you will see a small icon with an arrow, this is the dataquery plugin. If you click the icon you will be presented a screen with the raw values as they where polled from within the rra files.
By default the timespan if not selected is 1 hour, if you want to query for a different timespan just make sure you either select a timespan value from the cacti top graph form or by using the zoom tool (zoom in and then query).
I get errors while exporting data.
Make sure you have created a csv directory which is writeable by the http process (eg nobody), if not make one change the permissions and define it inside the cacti Settings window.

ohereza says:
March 5th, 2008 at 5:37 pm
I am running dataquery 0.1.4a on cacti version 0.8.6j. I always get values from the last hour when using the dataquery plugin. I have tried both ways described on this site to change the timespan (”select a timespan value from the cacti top graph form or by using the zoom tool (zoom in and then query)”), but I always get just data from the last hour.
Do you know what is the problem ?
pestilence says:
March 11th, 2008 at 11:43 am
Please upgrade to the latest cacti
dataquery is not implemented inside cacti.
If you can’t upgrade (I strongly recommend so though) I will try to find out what is the problem.