DCI: SNMP get Traffic interface (bytes/s) ?

Started by vinhnt26, July 01, 2015, 05:56:20 AM

Previous topic - Next topic

vinhnt26

Hi all,
I need to get Traffic interface (bytes/s) by SNMP. But i not found OID for it, i only found OID: ifHCOutOctets (.1.3.6.1.2.1.31.1.1.1.10) and ifHCInOctets (.1.3.6.1.2.1.31.1.1.1.10). But It get total number of octets transmitted/received.
Anyone has OID or way to help me get Traffic interface (bytes/s) ?

Thanks,

tomaskir

Those 2 are the right OIDs.

In DCI Transformation set:
Delta calc: Average delta per second
In transform script: "return $1 * 8;"

vinhnt26

Hi tomaskir,
Two OIDs get traffic interface (bytes/s)?
I read description of OIDs, it is: "The total number of octets transmitted out of the interface, including framing characters...Discontinuities in the value of this counter can occur at re-initialization of the management system.."
What does this mean?. I think it mean is get total number of octets of interface from system start. Not is (bytes/s) or (bits/s)....  :(

tomaskir

Yes, its 2 OIDs.
One is traffic received (download), other traffic sent (upload).

You are correct that its a counter of bytes received on an interface since initialization, but that is fine.
This is why we do the transformations I mentioned.

NetXMS will turn those numbers into bits/s.

All NMS's do it like that.