I have permissions in all folders.
All rrd files are created in the folder.
My cron:
Code: Select all
*/5 * * * * cactiuser php /var/www/cacti-teste/poller.php > /var/www/cacti-teste/log/poller-error.log
Code: Select all
OK u:0,00 s:0,01 r:0,99
OK u:0,00 s:0,01 r:0,99
2017-05-15 12:40:03 - SYSTEM STATS: Time:1.2585 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:32 RRDsProcessed:16
OK u:0,00 s:0,01 r:0,99
OK u:0,00 s:0,01 r:0,99
OK u:0,00 s:0,01 r:0,99
OK u:0,00 s:0,01 r:0,99
OK u:0,00 s:0,01 r:0,99
OK u:0,00 s:0,01 r:0,99
OK u:0,00 s:0,01 r:0,99
OK u:0,00 s:0,01 r:0,99
OK u:0,00 s:0,01 r:0,99
OK u:0,00 s:0,01 r:0,99
OK u:0,01 s:0,01 r:0,99
OK u:0,01 s:0,01 r:1,00
OK u:0,01 s:0,01 r:1,00
OK u:0,01 s:0,01 r:1,00
Code: Select all
rrdtool fetch rra/edgerouter_traffic_in_10.rrd AVERAGE
traffic_in traffic_out
1494777000: -nan -nan
1494777300: -nan -nan
1494777600: -nan -nan
1494777900: -nan -nan
1494778200: -nan -nan
1494778500: -nan -nan
1494778800: -nan -nan
1494779100: -nan -nan
1494779400: -nan -nan
1494779700: -nan -nan
1494780000: -nan -nan
1494780300: -nan -nan
1494780600: -nan -nan
1494780900: -nan -nan
1494781200: -nan -nan
1494781500: -nan -nan
1494781800: -nan -nan
1494782100: -nan -nan
1494782400: -nan -nan
1494782700: -nan -nan
1494783000: -nan -nan
1494783300: -nan -nan
1494783600: -nan -nan
1494783900: -nan -nan
1494784200: -nan -nan
1494784500: -nan -nan
1494784800: -nan -nan
1494785100: -nan -nan
1494785400: -nan -nan
...
The only graph that works is the realtime.
I searched in the forum the same problem and they solution dont worked for me.
Thank you, and sorry for my english.