cannot generate rrd file issue..Help required

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
orakle
Posts: 1
Joined: Thu Oct 14, 2010 2:59 am

cannot generate rrd file issue..Help required

Post by orakle »

backgroud info:
Red Hat Enterprise Linux AS release 4 (Nahant Update 8)
cacti-0.8.7g
cacti-spine-0.8.7g
net-snmp-5.1.4.2
rrdtool-1.3.7
xampp-linux-1.7.3

I've installed cacti normally,the related configuration has been completed on the web.
# su - cactiuser
$ crontab -l
*/5 * * * * /opt/lampp/bin/php /opt/lampp/htdocs/cacti/poller.php > /dev/null 2>&1
manual execution
$ /opt/lampp/bin/php /opt/lampp/htdocs/cacti/poller.php
$
No output

But directory "/opt/lampp/htdocs/cacti/rra" cannot generate rrd file.

But my manual execution can generate rrd file
$ /usr/local/rrdtool-1.3.7/bin/rrdtool create \
> /opt/lampp/htdocs/cacti/rra/137.rrd \
> --step 300 \
> DS:traffic_in:COUNTER:600:0:10000000 \
> DS:traffic_out:COUNTER:600:0:10000000 \
> 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 \
>
$ ll
total 100
-rw-rw-r-- 1 cactiuser cactiuser 94664 Oct 14 16:39 137.rrd
Attachments
cacti5.png
cacti5.png (43.45 KiB) Viewed 447 times
cacti4.png
cacti4.png (41.61 KiB) Viewed 448 times
cacti3.png
cacti3.png (22.62 KiB) Viewed 448 times
cacti2.png
cacti2.png (43.07 KiB) Viewed 448 times
cacti1.png
cacti1.png (14.27 KiB) Viewed 448 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: cannot generate rrd file issue..Help required

Post by gandalf »

Is "cactiuser" allowed to write to that directory to create rrd files?
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests