cacti graph shows 1/10 of the interface traffic bps number

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
pooq2013
Posts: 4
Joined: Tue Sep 24, 2013 11:36 am

cacti graph shows 1/10 of the interface traffic bps number

Post by pooq2013 »

I am setting up cacti graph for a Juniper MX480 interfaces traffic bps.

I found the host template for juniper MX960
http://forums.cacti.net/viewtopic.php?f=12&t=47377
http://docs.cacti.net/wiki:user:nica_dan

imported it, and it works fine to show the interface traffic bits/s in the graph.
But the number is 1/10 of the real value.

for example, when i snmpwalk to one of our 10gig interface and the value is shown as 1125851416 1.12G bps
But it's shown as 112M in the cacti graph.

I have checked the data templates(Juniper Interface Traffic), graph templates (Juniper Interface Traffic)
I didn't find any setting to cause this problem.

Any advices? Thanks in advance!
paulgevers
Cacti Pro User
Posts: 613
Joined: Tue Aug 29, 2006 4:09 pm
Location: NL

Re: cacti graph shows 1/10 of the interface traffic bps numb

Post by paulgevers »

Maintainer of cacti in Debian (and Ubuntu).
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
pooq2013
Posts: 4
Joined: Tue Sep 24, 2013 11:36 am

Re: cacti graph shows 1/10 of the interface traffic bps numb

Post by pooq2013 »

I should have a different issue than using 32 bit or 64 bit counters. I had 32 bit counter problem before. the line on the graph will be flat if it's past a certain value.

But this time it's different. All the interface traffic bps number has been divided by 10. like 100M bps was shown as 10 M bps.

i am going to debug to see what is going on.
paulgevers
Cacti Pro User
Posts: 613
Joined: Tue Aug 29, 2006 4:09 pm
Location: NL

Re: cacti graph shows 1/10 of the interface traffic bps numb

Post by paulgevers »

pooq2013 wrote:All the interface traffic bps number has been divided by 10.
Or by 8?
Maintainer of cacti in Debian (and Ubuntu).
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
pooq2013
Posts: 4
Joined: Tue Sep 24, 2013 11:36 am

Re: cacti graph shows 1/10 of the interface traffic bps numb

Post by pooq2013 »

paulgevers,
thank you very much! yes. that's my problem. the juniper graph template was not enabled with the setting of "turn bytes into bits"

I had to change the value of CDEF Function (A CDEF (math) function to apply to this item on the graph.)
of each Graph Template Items

paulgevers wrote:
pooq2013 wrote:All the interface traffic bps number has been divided by 10.
Or by 8?
kdtimmons
Posts: 1
Joined: Wed Sep 06, 2017 10:05 am

Re: cacti graph shows 1/10 of the interface traffic bps numb

Post by kdtimmons »

I am needing assistance with my graph. Attached is images of the still graph and live view of the graph. Can anyone advice me on why the still graph doesn't show correctly? I am using the same template from the post above on a Juniper MX480

Thanks,
KT
Attachments
graph_live.png
graph_live.png (65.88 KiB) Viewed 1146 times
graph_still.png
graph_still.png (126.04 KiB) Viewed 1146 times
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: cacti graph shows 1/10 of the interface traffic bps numb

Post by Osiris »

If this is 1.x, I would sync your template. Also check the data source info debug mode.
Before history, there was a paradise, now dust.
mudmud
Posts: 21
Joined: Sun Oct 28, 2012 2:56 pm

Re: cacti graph shows 1/10 of the interface traffic bps number

Post by mudmud »

Hi all,

Can somebody please share the Juniper template again. The one here ->https://docs.cacti.net/wiki:user:nica_dan is no longer accessible.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests