rrd files not being created
Moderators: Developers, Moderators
rrd files not being created
This has probably been hashed out before but I have created graphs according to the directions yet no rrd files are being created in the rra directory. I checked the permisions and it is owned bye cactiuser. The polller cron job is running. At what time are these files created? How do I discover why they arent being created.
rrd files not being created
I got same problem with dan.ross
When run graph debug mode
i get opening '/var/www/html/cacti/rra/acasia_traffic_in_41.rrd': No such file or directory
but when see at source and paste at CLI
/usr/bin/rrdtool create \
/var/www/html/cacti/rra/acasia_traffic_in_41.rrd \
--step 300 \
DS:traffic_out:COUNTER:600:0:100000000 \
DS:traffic_in:COUNTER:600:0:100000000 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
result, i can see graph on cacti.
my crontab command :
*/5 * * * * root php /var/www/html/cacti/cmd.php > /dev/null 2>&1
Can you help me to solve this problem
thanks' before (cause i'm newbie)
When run graph debug mode
i get opening '/var/www/html/cacti/rra/acasia_traffic_in_41.rrd': No such file or directory
but when see at source and paste at CLI
/usr/bin/rrdtool create \
/var/www/html/cacti/rra/acasia_traffic_in_41.rrd \
--step 300 \
DS:traffic_out:COUNTER:600:0:100000000 \
DS:traffic_in:COUNTER:600:0:100000000 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
result, i can see graph on cacti.
my crontab command :
*/5 * * * * root php /var/www/html/cacti/cmd.php > /dev/null 2>&1
Can you help me to solve this problem
thanks' before (cause i'm newbie)
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
You run the poller as root (usually not recommended). It would be better, to pipe the results not to /dev/null but to your cacti log directory (e.g. /var/www/html/cacti/log/poller.log if <path_cacti> resolves to /var/www/html/cacti). Looking at poller.log may resolve some issues.
Another question: what about the timestamp of this newly created rrd? Does it change every 5 mins? It would not change if there's no update.
Next hint: look at <path_cacti/log/cacti.log for possible errors. You can increase log verbositiy under "Settings": Switch to DEBUG mode.
Reinhard
Another question: what about the timestamp of this newly created rrd? Does it change every 5 mins? It would not change if there's no update.
Next hint: look at <path_cacti/log/cacti.log for possible errors. You can increase log verbositiy under "Settings": Switch to DEBUG mode.
Reinhard
Dear Reinhard
thank's for your attention, but result still same. Crontab can't cretae a file .rra
For graph that created by CLI, time is counting but never have a data from SNMP.
Cacti.log also can't increase.
after i change php / with location for php (with /usr/bin/php) cacti log file give information like this :
/bin/sh: root: command not found
Now i trys change user, and also reinstall for everything (i use .tar.gz packet, not rpm).
Thank's for your attention.
thank's for your attention, but result still same. Crontab can't cretae a file .rra
For graph that created by CLI, time is counting but never have a data from SNMP.
Cacti.log also can't increase.
after i change php / with location for php (with /usr/bin/php) cacti log file give information like this :
/bin/sh: root: command not found
Now i trys change user, and also reinstall for everything (i use .tar.gz packet, not rpm).
Thank's for your attention.
Who is online
Users browsing this forum: No registered users and 0 guests