Cacti / cacti

Cacti ™
http://www.cacti.net
GNU General Public License v2.0
1.6k stars 398 forks source link

Single Device Graph showing different data on 2 Cacti Servers #5709

Closed sdiwakar123 closed 2 months ago

sdiwakar123 commented 3 months ago

Hi We have 2 Cacti Servers were we have added a device on both Servers. We have observed that Graph data showing different data on both Cacti Servers. We have recently upgraded 1 Cacti Server to version 1.2.25 and other Cacti Server version is 1.2.14.

image Cacti version:1.2.25

image Cacti version 1.2.14

Kindly help us to find the root cause.

Thanks

TheWitness commented 2 months ago

You need to ensure that you are creating 64 bit graphs, and that the RRDfile max values are correct for the ifHighSpeed for the device is correct. Often times, this problem comes from an ifHighSpeed that reports incorrect information.

Use the rrdtool info $filename on both files and check the max values on the two RRA's.

sdiwakar123 commented 2 months ago

Hi both Graph are 64 bit only. only the difference is Cacti version. If you want i can provide you rrd info of both graph.

TheWitness commented 2 months ago

What happened when you ran rrdtool info on the two files? I suspect in the data source you had differences.

image

sdiwakar123 commented 2 months ago

image

image

Please see both Graph rrd info report

TheWitness commented 2 months ago

Is that the correct max value for the data source? Is the number up top the bad RRDtool info? It looks more like a 32 bit OID. Check the poller cache and make sure the OID's are the same for both systems.

sdiwakar123 commented 2 months ago

image

image Yes you are right the OID is different on both Systems. is that could be the reason??

xmacan commented 2 months ago

Here it is described https://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/26007-faq-snmpcounter.html

Maybe you started on your older server with snmp v1 which doesn't support 64bit counters. So 32 bit counters (.1.3.6.1.2.1.2.2.1.10 ) are used. .1.3.6.1.2.1.31.1.1.1 - it is 64 bit counters

sdiwakar123 commented 2 months ago

I have checked SNMP Version it is showing V2 on both Systems. Any solutions regarding this issue ?

xmacan commented 2 months ago

Create new graphs 64bit

sdiwakar123 commented 2 months ago

Hi I have created new graph but it is not plotting data in graph. showing NAN in rrdinfo. but in realtime data is showing. I have given the permission to the rrd file but no luck. what could be the reason ?

TheWitness commented 2 months ago

Run spine at verbosity 3 on the device. Post the output highlighting thou output for that data source or data sources.

./spine -V 3 -R -S -H host_id

Better this be taken up in the forums too. Bad karma here.