backgroud info:
Red Hat Enterprise Linux AS release 4 (Nahant Update
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
cannot generate rrd file issue..Help required
Moderators: Developers, Moderators
cannot generate rrd file issue..Help required
- Attachments
-
- cacti5.png (43.45 KiB) Viewed 447 times
-
- cacti4.png (41.61 KiB) Viewed 448 times
-
- cacti3.png (22.62 KiB) Viewed 448 times
-
- cacti2.png (43.07 KiB) Viewed 448 times
-
- cacti1.png (14.27 KiB) Viewed 448 times
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: cannot generate rrd file issue..Help required
Is "cactiuser" allowed to write to that directory to create rrd files?
R.
R.
Who is online
Users browsing this forum: No registered users and 3 guests