SOLVED - Cacti 1.2.16 Reads Interfaces is opposite direction

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
User avatar
TFC
Cacti Pro User
Posts: 739
Joined: Wed Apr 09, 2003 2:17 am
Location: Izmir/Turkey

SOLVED - Cacti 1.2.16 Reads Interfaces is opposite direction

Post by TFC »

Hi,
I use cacti 1.2.16 /from github) and 0.8.8b
I monitor same interface of same device with same Interface by using graphic template. But 1.2.16 shows inbound and outbound values as opposite.
For example, In 0.8.8b:
1.png
1.png (117.73 KiB) Viewed 626 times
I know that, Inbound should be greater than outbound (this is behaviour of my traffic). So, it s normal
But, In 1.2.6 whows traffic in opposite way that's abnormal.
2.png
2.png (54.06 KiB) Viewed 626 times
PS: I tested default with Bits/sec graphs also. Result is same. Also I double check, SNMP data quesries and Data source templates. And CDEF etc. also.
Have you any idea how can I solve this without swap outbound and inbound rrd values in graph templates?
Last edited by TFC on Wed Jan 06, 2021 1:17 am, edited 1 time in total.
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Cacti 1.2.16 Reads Interfaces is opposite direction

Post by TheWitness »

Compare the OID's in the Resource directory XML files. They should be the same.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Cacti 1.2.16 Reads Interfaces is opposite direction

Post by TheWitness »

Please look at this GitHub ticket to find out which system is wrong. Just follow the procedure. I did the comparison with the stock graph template on 1.2.17 and it was fine.

https://github.com/Cacti/cacti/issues/4029

After you do that investigations on both systems, tell me which one was right

I think that was your ticket right? There was a bug corrected in the 0.8.x to 1.x where in the 0.8.x system, if you restored from a backup, the in/out would reverse. That does not happen in 1.x.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests