cacti stuck at 34gb limit Print

  • 119

Re: Graphs doesn't work when the traffic is more than 34Gbps

#12 Post by gksus » Thu Jan 16, 2020 3:49 am

Consol / Device / <device_to_be_modified> / Data source list / <Data_source_to_be_modified> | Turn On Data Source Debug Mode

In the Data Source Debug you can see something like this:

/usr/bin/rrdtool create \
/srv/www/vhosts/cacti/rra/249/2266.rrd \
--step 300 \
DS:traffic_in:COUNTER:600:0:4294967295 \
DS:traffic_out:COUNTER:600:0:4294967295 \
RRA:AVERAGE:0.5:1:500 \
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:500 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797

Copy this command to text editor and replace 4294967295 to 128849018850, for example.

Use this command in the <cacti_rra_directory>/<device_id_directory> directory to create rrd file. Do not forget chmod and chown the .rrd .

Edit (replace 4294967295 to 128849018850) fields "Data Source Item Fields [traffic_in] Maximum Value" and "Data Source Item Fields [traffic_out] Maximum Value" in the Data Source form.

Enjoy ;)

Was this answer helpful?

« Back

["\r\n