bits/s and bytes/s wrong transformation?

Started by vir_db, September 12, 2019, 05:56:51 PM

Previous topic - Next topic

vir_db

Hi all,

if I go to a network interface of a node and create a data collection item, then ask for bits/s, the result DCI has a transformation = return $1 * 8;

This mean bytes (1byte=8bit).

If  I ask for bytes/s, it has no transformation.

I expects to have those transformations just inverted.  :o

Am I wrong?

Victor Kirhenshtein

Hi,

everything is correct. Raw value is in bytes, so if you want it in bits it should be multiplied by 8 (if you got 1 from device that means 1 byte, multiplying it by 8 gives 8, which is correct number of bits).

Best regards,
Victor