RRDs created in wrong directory
Moderators: Developers, Moderators
RRDs created in wrong directory
Trying to figure out an issue with an existing Cacti installation.
Linux, version 0.8.6j
Cacti is installed in /usr/local/cacti
Existing hosts / graphs update fine.
When I add a new host and add graphs the RRD's are created in /var/lib/cacti and not /usr/local/cacti/rra ?!?
"Graph Management" shows the correct location. I can't find anywhere in the code that's not using rra_path.
Any other ideas?
Linux, version 0.8.6j
Cacti is installed in /usr/local/cacti
Existing hosts / graphs update fine.
When I add a new host and add graphs the RRD's are created in /var/lib/cacti and not /usr/local/cacti/rra ?!?
"Graph Management" shows the correct location. I can't find anywhere in the code that's not using rra_path.
Any other ideas?
Yeah, I've resorted to blowing away the errant directory and symlinking it to the correct place.tapke wrote:I had the same problem. Just added links to the directories.
Not a solution, but as a workaround worked fine.
The poller was quite happily reporting updating non-existent RRDs without displaying any error.
So it quite happily reports creating them in the wrong spot and then updating them in the right spot. WTFgandalf wrote:It will report the errors if you remove the "> /dev/null" by e.g. "> /your/cacti/path/log/poller.log" in crontab
R.
Code: Select all
12/22/2009 01:55:12 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool create /var/lib/cacti/swext_traffic_in_1484.rrd --step 300 DS:traffic_in:COUNTER:600:0:100000000 DS:traffic_out: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:MIN:0.5:1:600 RRA:MIN:0.5:6:700 RRA:MIN:0.5:24:775 RRA:MIN: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 RRA:LAST:0.5:1:600 RRA:LAST:0.5:6:700 RRA:LAST:0.5:24:775 RRA:LAST:0.5:288:797
12/22/2009 01:55:12 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/local/cacti/rra/swext_traffic_in_1484.rrd --template traffic_out:traffic_in N:1008808796:3420880488
Who is online
Users browsing this forum: No registered users and 1 guest