Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
I've set up a graph for " Interface - Traffic (bits/sec, Total Bandwidth)" for venet0 but I'm not sure it's accurate. After I got the graph up and running, I transferred a 1.2 gb file to another host and Cacti only reported 80.64 MB moved. Is that normal? The rest of my graphs (with the exception of logged in users) are working fine.
I'm new to SNMP so I'm wondering if there's something I'm doing wrong.
This is definitely not normal. The summation numbers should be fairly accurate. The first thing I would do is eye up the graph and see if your 1.2 GB transfer made a significant dent. Cacti only has the RRD data to go on, so if that is not correct, then your summation number is going to be wrong.
As for the actual calculation, the algorithm that Cacti uses is very simple. It takes each sample in the RRD file and multiplies it by the current resolution (300 seconds for a daily graph), and sums the results together.
If you still cannot get things to look right, just email me a copy of your localhost_traffic_in_12.rrd file so I can reproduce your situation.
Could you possibly post how you were able to setup the venet0 interface for polling? I've been trying to do this using iptables counters, and it just doesnt seem to be working for me.
circut wrote:Could you possibly post how you were able to setup the venet0 interface for polling? I've been trying to do this using iptables counters, and it just doesnt seem to be working for me.
I get erratic results and have no idea why.
I would really love to know how do set this up as well. Anyone got some working templates and instructions?