cactid won't run, and rrd files not being created

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

Moderators: Developers, Moderators

Post Reply
ChristianT
Posts: 7
Joined: Thu Mar 25, 2004 2:55 pm

cactid won't run, and rrd files not being created

Post by ChristianT »

I just installed cacti on a FreeBSD 4.9 system and I'm having some trouble getting it to work. After getting it setup I went through and created data sources and graphs, but the .rrd files were never created. I made sure that httpd had write permissions to the <cacti_path>rra/ directory and i also used su run the rrdtool create command as httpd and it worked fine, but still no good when in the web interface.

Problem number two is this. I decided to use cactid as a poller, but it will only run if my current working directory is the directory where the cactid.conf file is.

Any help would be greatly appreciated

christianT
ChristianT
Posts: 7
Joined: Thu Mar 25, 2004 2:55 pm

Post by ChristianT »

just an update. i tried chmoding the rra directory to 777 and it still didn't write the .rrd files. so it isn't a permissions issue.
nyhusern
Posts: 17
Joined: Tue Feb 15, 2005 11:27 pm

Post by nyhusern »

Hi ChristianT.
Do you get this error on every graph? That means ws and gw or server?
Apply back when you can ;)
ChristianT
Posts: 7
Joined: Thu Mar 25, 2004 2:55 pm

Post by ChristianT »

its the first and only graph i've created since installing. I just followed the instructions as given in the manual ( i think its chapter 13 ). I've tried following those instructions a few times and never has it worked

christianT
nyhusern
Posts: 17
Joined: Tue Feb 15, 2005 11:27 pm

Post by nyhusern »

Ok.
What kind of graph do you try to make? the interface?
I know you could get that problem with your ws, but i have never had problems with my server, but here is what you can do.

First: Start PUTTY and ssh to your server, login as root and go to your cacti/rra folder.
Then go to your www.website.com/cacti/, login as admin and go to Data Sources link, the interface you want to make changes on and turn on the source debug mode. Now go back to ssh and type in the following /usr/local/bin/rrdtool create and paste in the info for the debug mode manually.

Example:

/usr/local/bin/rrdtool create 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

PS: Maybe the debug mode will poppup copies of DS:traffic_in:COUNTER:600:0:100000000 DS:traffic_out:COUNTER:600:0:100000000
So remeber! You only need one of each! not the whole rod ;)

Hope you'll get your cacti up and running

Nyhusern
ChristianT
Posts: 7
Joined: Thu Mar 25, 2004 2:55 pm

Post by ChristianT »

that may work as a bandaid fix, but it doesn't really resolve the problem. Has any one else had problems like this? Is there any thing i might have configured incorrectly that would make it act this way?
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests