Cacti graph in BITS where SNMP values are in BYTES !

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

Moderators: Developers, Moderators

Post Reply
fcalleja
Posts: 7
Joined: Mon Feb 23, 2009 5:14 am

Cacti graph in BITS where SNMP values are in BYTES !

Post by fcalleja »

Hi, I have setup some graphes on an Alcatel switch (Omniswitch 6850)

I used the default SNMPinterfaces statistics to setup some graphes.
But the data displayed in the graph are showed in bits/s where in fact the real data are bytes/s.

Fo example : the extracted data shows a trafic of 10MBit/s when in real it is 10Mbytes/s.

How to change it back to bytes ?

I tried to modify bit/s to bytes/s in graph but the graph auto-adapt the value to bytes, so instead of having 10Mbytes/s , I got around 1Mbytes/s.

Thanks for your supprt.
Franck.
Last edited by fcalleja on Tue Feb 24, 2009 4:19 am, edited 1 time in total.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

You can change the graph type to a bytes/sec display.

Graph Management -> select the graph title. Bottom right corner, Choose an action: -> Change graph template -> select the correct one from the list and click Yes.
fcalleja
Posts: 7
Joined: Mon Feb 23, 2009 5:14 am

Change graph template not working.

Post by fcalleja »

This has already been done.

My problem is :

I have a customer that send on a 1G link and for more than 5 minutes, a constant trafic approaching 1G on that port.

An what I see in Cacti is a tranfer rate of 100Mbit/s, instead of around 1Gbit/s.

So I deduce from that fact that Cacti interpret the extracted SNMP as bit where it is byte, or that I select the wrong graph type for the extracted value. But I used the default script "interface.xml", so I do not know where thee is a fault.

So if I use the "Change graph template" function, where I have 100Mbit/s, after I get around 10 Mbytes/s.

And I would expect to see 100 Mbytes/s.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

ahhh

You're not using 64bit templates (and counters) are you? Read http://forums.cacti.net/viewtopic.php?t=24526
fcalleja
Posts: 7
Joined: Mon Feb 23, 2009 5:14 am

Post by fcalleja »

Hi,

I dont think so. I use the included "Data Query [SNMP - Interface Statistics] " which, if I edit interface.xml, use the

ifOutOctet OID : .1.3.6.1.2.1.2.2.1.16
ifInOctet OID : .1.3.6.1.2.1.2.2.1.10

And in the Alcatel MIBs documents I have, these are Counter32 values.

I'll try to create a Counter64 graph to see if there is any difference.

Thanks for your support.
Franck.
fcalleja
Posts: 7
Joined: Mon Feb 23, 2009 5:14 am

Post by fcalleja »

Same if I use counter64.

Here are 2 pictures :

- One from Cacti (5 minutes)
- One from the management system (10s but during 2 minutes)

Same 10G interface.

The one taken from supervision center is showing a rate around 80 Mbytes/20Mbytes of In/out, where Cacti show same rate but in bits/s
Attachments
Cacti - Values.png
Cacti - Values.png (20.54 KiB) Viewed 4726 times
Graphs - true vales.JPG
Graphs - true vales.JPG (162.24 KiB) Viewed 4726 times
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests