DCI values in links, as human readable?

Started by mumme3, February 21, 2020, 06:31:32 PM

Previous topic - Next topic

mumme3

First of all I would like to thank the NetXMS team for a fantastic piece of software! It's really good as an NMS. The object tools is a really nice feature that we use a lot.

We have built a map of our network topology. I have put the ifOctets DCI values of the links on the links on the maps. It works great but it's in Bytes/s. How to transform into more human readable form (kilo, Mega, Giga etc.) ?

Thanks,

Filipp Sudanov

There's a field called Format string that accepts java8 format strings. And there's a custom thing - if there's * character after %, multiplier operation is done first and then format is applied.
So:
%*.2f will be the value with multiplier, having 2 signs after decimal

And the same input value can be even used twice:
%*1$.2f (%1$d b)

mumme3