orjanb314
Joined: 01 Aug 2008 Posts: 6
|
Posted: Thu Aug 14, 2008 5:23 am Post subject: How I solved my empty graph problem |
|
|
I have made a small perl script that querys a table in a database for a value in the last row. And it was this I wanted to graph in cacti. But I struggled for a few hours without getting any values in my graphs.
This might be trivial, but what I found out was that the polling interval for the data source had to be the same as the interval for the poller itself. F. ex. in my data template I had to enter 300 seconds as the step value when the poller interval was 5 minutes. I tried for a while with 60 seconds as step, but I didn't get any graphs made. |
|