i can't create the new *.rrd file.

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

Moderators: Developers, Moderators

Post Reply
leaper
Posts: 13
Joined: Mon Aug 04, 2003 4:11 am

i can't create the new *.rrd file.

Post by leaper »

HI:
i have install the cacti.but the rra dirtory only the :
localhost_load_1min_5.rrd localhost_mem_swap_4.rrd localhost_users_6.rrd
localhost_mem_buffers_3.rrd localhost_proc_7.rrd


when i create a new "Data Sources" and the system Save Successful.
but it can't create create the new *.rrd file on "rra" dirtory . the console-->Data Sources.


What the probems happen? who can help Me! Thank you very much.
leaper
Posts: 13
Joined: Mon Aug 04, 2003 4:11 am

Post by leaper »

/mail/rrdtool-1.0.45/src/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--title="Localhost - Traffic" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
DEF:a="/www/htdocs//cacti/rra/localhost_traffic_in_11.rrd":traffic_in:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=a,8,* \
AREA:cdefa#00CF00:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefe#002A97:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s"
Mach
Posts: 17
Joined: Mon Jul 21, 2003 7:12 pm
Location: Portland Oregon

Post by Mach »

Join the club. many others are having this issue also.
leaper
Posts: 13
Joined: Mon Aug 04, 2003 4:11 am

Post by leaper »

What you say???

I have join the raxnet club. You can get me some solutions? who can help me . if none can help me . i will give up the cacti.
User avatar
Era
Posts: 8
Joined: Thu Aug 14, 2003 10:46 am

Post by Era »

I dont know if you have found the solution ot this yet, but this works.

Change the write permissions to your rrd.log file.

chmod 777 ./log/rrd.log
Guest

Post by Guest »

If your rrd.log file wasn't writeable you wouldn't get any graphs. And when you run cmd.php it tells you " error writing file".

Leaper - Check for my post on this fix:

I downgraded to 0.8 and it worked fine. Then I upgraded to 0.8.2 and it worked.
yid
Cacti User
Posts: 83
Joined: Sat Apr 20, 2002 8:26 pm

Post by yid »

Most often the problem is related to permissions of the user running your cmd.php. That user needs to be able to write to the <cacti_path>/log directory and the <cacti_path>/rra directory.

Also make sure that your crontab is actually running.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest