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
cactid won't run, and rrd files not being created
Moderators: Developers, Moderators
-
- Posts: 7
- Joined: Thu Mar 25, 2004 2:55 pm
-
- Posts: 7
- Joined: Thu Mar 25, 2004 2:55 pm
-
- Posts: 7
- Joined: Thu Mar 25, 2004 2:55 pm
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
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
-
- Posts: 7
- Joined: Thu Mar 25, 2004 2:55 pm
Who is online
Users browsing this forum: No registered users and 5 guests