Format String Byes/sec to mbps/sec

Started by Sorikan, October 05, 2022, 08:02:15 AM

Previous topic - Next topic

Sorikan

Apparently I have totally and utterly missed the boat on this one. I have been googling and experimenting for over an hour for something that should NOT be this hard. 

I have a number in bits/sec (257402792) that I want to display as mbits/sec (2059.22), via a DCI template to apply to multiple devices. I am pulling the correct number from SNMP, and if I just display the bits/sec number it is correct. 

However, I cannot, for the life of me figure out how I am supposed to do this with the format string field? All I see are references to %*d or %s. Why? What do they do? How does netxms process them? Where are the variables? How are they applied? All I can find is some oracle doc that just says "makes it a decimal". 

Is there some part of the manual I am just not comprehending, or seeing? Is there some search term I am not thinking to use to link me to a post already in this forum? How can something this seemingly simple be completely left out of the manual? How am I not finding this documented anywhere?

How can something this basic be seemingly missing?

Any pointers would be appreciated.

Thanks. >:( 

Filipp Sudanov

Format strings are used when displaying values on maps.

In last values try enabling "Use multipliers" in context menu - it should automatically display in KBits or MBits, depending how big the number is. Or you can set "enable multipliers" in properties of the DCI.

In coming 4.2. version there will be option to fix multipliers to e.g. mbits and also option to display measurement units next to the value.

Sorikan

I am trying to display this on a map, right alongside the radios modulation. 

Filipp Sudanov