Graphs doesn't work when the traffic is more than 34Gbps
Moderators: Developers, Moderators
-
- Posts: 10
- Joined: Fri Mar 13, 2015 4:51 pm
Graphs doesn't work when the traffic is more than 34Gbps
Hi friends.
I have a problem with my cacti; when the traffic is more than 34Gbps aproximately the graph not show me the real traffic....
thanks for your replies
Version 0.8.7g
I Attach picture...
I have a problem with my cacti; when the traffic is more than 34Gbps aproximately the graph not show me the real traffic....
thanks for your replies
Version 0.8.7g
I Attach picture...
- Attachments
-
- 34Gbps.JPG (30.08 KiB) Viewed 3224 times
Re: Graphs doesn't work when the traffic is more than 34Gbps
Your maximum is showing as 34G, is that what is being returned by the interface ? What happens when you look at the graph data? Does it show the same?
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
-
- Posts: 10
- Joined: Fri Mar 13, 2015 4:51 pm
Re: Graphs doesn't work when the traffic is more than 34Gbps
when I consulting the value of the interface from the CLI of the router it presents much more than 34G, that interface is a LACP, and the sum of all its members is much more than those 34G, I think it has to be some parameter within the templates of the graph that is limiting display shows that value
Regards
JC
Regards
JC
Re: Graphs doesn't work when the traffic is more than 34Gbps
Which template are you using?
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
-
- Posts: 10
- Joined: Fri Mar 13, 2015 4:51 pm
Re: Graphs doesn't work when the traffic is more than 34Gbps
Template:
Interface - Traffic (bits/sec)
Regards,
JC
Interface - Traffic (bits/sec)
Regards,
JC
Re: Graphs doesn't work when the traffic is more than 34Gbps
You need to be using the 64-bit counters not the ones without 64-bit in the name.
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
-
- Posts: 10
- Joined: Fri Mar 13, 2015 4:51 pm
Re: Graphs doesn't work when the traffic is more than 34Gbps
I have the graph using
In / Out Bits (64-bit Counters)
with the normal template would not exceed 114M.
Regards,
JC
In / Out Bits (64-bit Counters)
with the normal template would not exceed 114M.
Regards,
JC
-
- Posts: 4
- Joined: Tue Feb 27, 2018 8:29 am
Re: Graphs doesn't work when the traffic is more than 34Gbps
I am encountering this same issue with the graph when the traffic is exceeding regardless of using a 64-bit counter.
Arjun Dixit
Re: Graphs doesn't work when the traffic is more than 34Gbps
On a fresh install of 1.1.36, I have no option for Interface - Traffic (bits/sec) with 64bit counters (screenshot attached)...I did see it in an older 0.8 version we have... I installed the basic template package, is this additional? what template pkg is it in?
New to cacti world, so be gentle...
New to cacti world, so be gentle...
- Attachments
-
- Cacti-interfaceOptions.png (39.57 KiB) Viewed 3040 times
Re: Graphs doesn't work when the traffic is more than 34Gbps
OK, so here's what I found (not the most intuitive experience..):
In 0.8, you see this (screenshot), in 1.1.36 which is very different IMHO, you see this (screenshots). No need to duplicate the Data Template (I did for clarity)
Hope that helps other noobs like me. Also, a current manual and maybe even a YouTube tutorial on latest version would be GREAT...
In 0.8, you see this (screenshot), in 1.1.36 which is very different IMHO, you see this (screenshots). No need to duplicate the Data Template (I did for clarity)
Hope that helps other noobs like me. Also, a current manual and maybe even a YouTube tutorial on latest version would be GREAT...
- Attachments
-
- Cacti-DataTemplate.png (168.23 KiB) Viewed 3039 times
-
- Cacti-0-8-datatemplate.png (107.62 KiB) Viewed 3039 times
-
- Posts: 39
- Joined: Fri Mar 18, 2016 8:49 am
Re: Graphs doesn't work when the traffic is more than 34Gbps
Is this on a linux server. If so can you run the following command on the command line inserting the path and file name where indicated? I have a feeling I know what the problem is.
rrdtool info <Data Source> | grep max
If your output is something along the lines of 4.27e+9 then I know how to fix this quick and easy. You just have to retune your rrd file.
rrdtool info <Data Source> | grep max
If your output is something along the lines of 4.27e+9 then I know how to fix this quick and easy. You just have to retune your rrd file.
Re: Graphs doesn't work when the traffic is more than 34Gbps
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
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
Who is online
Users browsing this forum: No registered users and 1 guest