Problems configuring cacti with "no data loss"

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
chrish
Posts: 2
Joined: Wed Jun 02, 2010 5:02 am

Problems configuring cacti with "no data loss"

Post by chrish »

Hi all,

for reporting reasons we need some graphs in our network management that do no utilize the normal rrdtool consolidation, so i configured "no data loss" for some graphs in Cacti. I worked straight with the manual that can be found at http://docs.cacti.net/manual:087:8_rrdtool.03_big_rra.

At first, i tried it in our running Cacti installation (Apache 1.3, PHP4, FreeBSD-Box, using poller.php). I configured everything, created the graphs for the hosts, but this did not work.
After that i tried it with a clean, new Cacti installation (Apache 2.x, PHP5, Debian-Box), but even there i did not get things running.

The configuration according to the documentation works fine, but it looks like the RRA files are not created (and even if they exist, not filled by the poller).
In the fresh installation on the debian box i created to graphs for a host, a standard graph (interface traffic 64bit) and a no-loss graph (interface traffic 95th percentile) at the same time. When the poller did his first run he created the RRA file for the standard graph, but not for the no-loss graph:
Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:2 RRDsProcessed:1

I then created the no-loss RRA manually with the following command:

Code: Select all

/usr/bin/rrdtool create \
/var/www/cacti/rra/cisip-a-dus1_traffic_in_9.rrd \
--step 300  \
DS:traffic_in:COUNTER:600:0:100000000 \
DS:traffic_out:COUNTER:600:0:100000000 \
RRA:AVERAGE:0.5:1:115200 \
Now i have a graph/RRA, but it's still not filled by the poller:
Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:2 RRDsProcessed:1
Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:2 RRDsProcessed:1

I checked the poller cache in cacti and tried to rebuild it, but there i can only find two poller items for the standard graph, but no poller items for the no-loss-RRA.

Any ideas on that?

Thanks in advance,
-chris
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

You should not create the rrd manually without using the cacti admin console. We need the data for that rrd to create the graphs
R.
chrish
Posts: 2
Joined: Wed Jun 02, 2010 5:02 am

Post by chrish »

Hi Gandalf,
gandalf wrote:You should not create the rrd manually without using the cacti admin console. We need the data for that rrd to create the graphs
R.
i created the rrd after waiting a couple of hours, and cacti did not create the rrd in this time. (i took the create command from the debug output of the data sources section in cacti).

Thanks,
-chris
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Then, there's an error e.g. on downed host detection. YOu may define the rrd file manually, but still it will not work due to the root problem. You will first have to solve that. E.g. see 2nd link of my sig
R.
Post Reply

Who is online

Users browsing this forum: fpiorek and 7 guests