Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. Format String Byes/sec to mbps/sec

Format String Byes/sec to mbps/sec

Scheduled Pinned Locked Moved Support
4 Posts 2 Posters 11.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S
    S
    Sorikan
    wrote on last edited by
    #1

    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. 😠

    1 Reply Last reply
    0
    • F
      F
      Filipp Sudanov
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • S
        S
        Sorikan
        wrote on last edited by
        #3

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

        1 Reply Last reply
        0
        • F
          F
          Filipp Sudanov
          wrote on last edited by
          #4

          There is a special format string supported:
          %*s
          It should display the value using multipliers.

          Link Preview Image
          Data and Network visualisation — NetXMS Administrator Guide (7.0.0)

          favicon

          (www.netxms.org)

          1 Reply Last reply
          0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          Powered by NodeBB Contributors
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups