Cacti Mismatch values - Realtime grahs vs Normal Graphs
Moderators: Developers, Moderators
-
- Cacti User
- Posts: 67
- Joined: Wed Nov 25, 2015 2:35 pm
Cacti Mismatch values - Realtime grahs vs Normal Graphs
Hello Folks,
I have installed "realtime plugin" which works great. However, I notice the values it shows differ from the normal graphs. I agree the realtime graphs shows the recent updated value and it is not suppose to be same as the normal one but what I am seeing is vast difference.
If you see the above graphs, the first one is from realtime plugin and second is normal trend where you can find the huge difference in "Inbound" traffic. Any reason why it behaves like this way?
I have installed "realtime plugin" which works great. However, I notice the values it shows differ from the normal graphs. I agree the realtime graphs shows the recent updated value and it is not suppose to be same as the normal one but what I am seeing is vast difference.
If you see the above graphs, the first one is from realtime plugin and second is normal trend where you can find the huge difference in "Inbound" traffic. Any reason why it behaves like this way?
-
- Cacti User
- Posts: 67
- Joined: Wed Nov 25, 2015 2:35 pm
Re: Cacti Mismatch values - Realtime grahs vs Normal Graphs
Anyone could help me out on this?
Re: Cacti Mismatch values - Realtime grahs vs Normal Graphs
You are not comparing like for like. The graph on the right is a whole day, not a minute.
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
-
- Cacti User
- Posts: 67
- Joined: Wed Nov 25, 2015 2:35 pm
Re: Cacti Mismatch values - Realtime grahs vs Normal Graphs
I agree but the "Inbound" values it shows doesnt doesnt make sense even after averaging.I should see values in "MB" at least in "Maximum" GPRINT.
Re: Cacti Mismatch values - Realtime grahs vs Normal Graphs
Check the max values on the RRDfile using the "rrdtool info rrdfile" command. I bet that there is a max value on the RRDfile that is clipping the data over longer periods of time.
If this graph was first created on a Cacti version before 0.8.8 (and I can not remember the version of 0.8.8), you may have had an invalid max value. Also, if your ifSpeed or ifHighSpeed snmp values are bogus, you could also get bad values on current versions of Cacti.
You can use the "rrdtool tune rrdfile options" command to correct the maximum values to be more realistic. More options can be found here: https://oss.oetiker.ch/rrdtool/doc/rrdtune.en.html
If this graph was first created on a Cacti version before 0.8.8 (and I can not remember the version of 0.8.8), you may have had an invalid max value. Also, if your ifSpeed or ifHighSpeed snmp values are bogus, you could also get bad values on current versions of Cacti.
You can use the "rrdtool tune rrdfile options" command to correct the maximum values to be more realistic. More options can be found here: https://oss.oetiker.ch/rrdtool/doc/rrdtune.en.html
Before history, there was a paradise, now dust.
-
- Cacti User
- Posts: 67
- Joined: Wed Nov 25, 2015 2:35 pm
Re: Cacti Mismatch values - Realtime grahs vs Normal Graphs
Here is the 5 minutes interval graphs vs realtime graphs.
The numbers in "Inbound" obviously doesnt make sense where is no units (kb/mb)
On the other hand just to test the working, I created seperate graphs just for inbound and its graphs absolutely fine.
Note: I am not using default snmp graph template for the traffic. I use script/command - data input method.
The numbers in "Inbound" obviously doesnt make sense where is no units (kb/mb)
On the other hand just to test the working, I created seperate graphs just for inbound and its graphs absolutely fine.
Note: I am not using default snmp graph template for the traffic. I use script/command - data input method.
Re: Cacti Mismatch values - Realtime grahs vs Normal Graphs
Please reread my comments.
Before history, there was a paradise, now dust.
-
- Cacti User
- Posts: 67
- Joined: Wed Nov 25, 2015 2:35 pm
Re: Cacti Mismatch values - Realtime grahs vs Normal Graphs
I tried rrdtool tuning and also tried recreating the graphs from scratch but no luck. Any other ideas? Strange thing is it works only if I use both inbound and outbound data-template in one graph template. Also I am using "script/command" data input method.
Re: Cacti Mismatch values - Realtime grahs vs Normal Graphs
For the unit that is showing very small values, use the rrdtool tune <filename> -a:dsname=U. The special character 'U', means no limit.
Basically, if you use 'rrdtool info' your bogus parameter has a max value that is too low. Any values captured above that max value are thrown out.
Cacti has a setting to default the interface to ifHighSpeed if it exists, and if you are using SNMPv2. So, basically:
1) Use only v2 and v3
2) Only use 64bit graphs not the legacy version
3) Ensure ifHighSpeed is set for your interfaces, and if not, tune the rrdfiles directly
Basically, if you use 'rrdtool info' your bogus parameter has a max value that is too low. Any values captured above that max value are thrown out.
Cacti has a setting to default the interface to ifHighSpeed if it exists, and if you are using SNMPv2. So, basically:
1) Use only v2 and v3
2) Only use 64bit graphs not the legacy version
3) Ensure ifHighSpeed is set for your interfaces, and if not, tune the rrdfiles directly
Before history, there was a paradise, now dust.
Who is online
Users browsing this forum: No registered users and 0 guests