PDA

View Full Version : Bits vs Bytes


joe
14-12-2004, 20:35
This seems like a stupid question, but I can't seem to figure it out.

I am using SNMP to poll some Cisco devices (both switches and routers) for interface statistics (ifInOctets and ifOutOctets). This information is in Bytes.

I would like to convert this information to Bits for displaying in the graphs. I tried setting the multiplier for the item to 8, but that did not work. For some reason the polled values skyrocketed.

Do I misunderstand the purpose of a "multiplier"?

Is Zabbix taking the (previous value * multiplier) - (last value * multiplier) = delta?

If so, I'm looking for functionality like (previous value - last value) * 8 = delta

Is there a way to get Bits properly? (Or am I just doing something wrong?)

joe

Lovespider
23-12-2004, 15:27
Hello Joe,
I'm successfully using the multiplier to get bits instead of bytes. My Item looks like this:

Description INTERFACE IN

Host ...my Cisco VPN box
Type SNMP (v1 or v2..doesn't matter)
SNMP community public
SNMP OID .1.3.6.1.2.1.2.2.1.10.2
SNMP port 161
Key whatever
Units b
Use multiplier Custom Multiplier
Custom multiplier 8
...
Type of information Numeric
Store value Delta

Tell me if you succeeded.
Lovespider ;)

Rudolf
28-12-2004, 16:33
Hi Forum

In latest data it tells me for example "Free disk space on /" that I have 5.06 MB free space. But it should say 5.06 GB free. Changing multiplier does not seem to work. I use 1.1alpha2

joe
30-12-2004, 18:14
Ok, the conversion from Bytes to Bits now works. I installed 1.1alpha4 and removed all of my old data (this is still in testing stages, so it wasn't a big deal). Then I set the multiplier to 8 and it's working properly. I'm not sure what happened, but I'm happy that it works now!