Ad Widget

Collapse

Custom modifier limitation?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • elvar
    Senior Member
    • Feb 2008
    • 226

    #1

    Custom modifier limitation?

    Hello, I'm monitoring network throughput on a windows server using one of the supported perfmon checks. Unfortunately this records in bytes/sec and I'm wanted to record in MB/sec. I'm trying to use a custom modifier of 0.00000095367431640625 but it will not let me save the item. Is this too big of a modifier for Zabbix to allow?



    Kind regards,
    Elvar
  • jroberson
    Senior Member
    • May 2008
    • 124

    #2
    I think Zabbix will automatically calculate the bytes (use bytes, b, or B as units) and it will add a K/M/G to displayed value. Do you specifically want to have it in MB even if it is less than 1048576 bytes/bits? (Though I don't know if Zabbix uses the base-2 or base-10 to calculate K, M, & G)

    Comment

    • elvar
      Senior Member
      • Feb 2008
      • 226

      #3
      I guess if it's less than 1MB/sec I would prefer a demical breakdown of .5 or something simlar if that's possible. How would I get the graph to show me in MB/sec or mbit/sec if it records it in bytes/sec?


      Thanks,
      Elvar

      Comment

      • jroberson
        Senior Member
        • May 2008
        • 124

        #4
        Have you tried entering "MB" as the units?

        Comment

        • elvar
          Senior Member
          • Feb 2008
          • 226

          #5
          Originally posted by jroberson
          Have you tried entering "MB" as the units?

          Yea, if I put MB it ends up showing "KMB" in the graph. If I just try "M", it shows "KM".

          Comment

          • elvar
            Senior Member
            • Feb 2008
            • 226

            #6
            According to this manual section, I definitely do need the modifier. The problem is, it doesn't seem to accept a modifier big enough to convert bytes to Megabytes.


            Use multiplier Pre-process received values.
            Do not use - do not pre-process received values
            Custom multiplier – multiply received values by value
            defined in Custom multiplier
            Use this option to convert values received in KB, MBps,
            etc into B, Bps. Otherwise ZABBIX cannot correctly set
            prefixes (K, M and G).

            Comment

            • elvar
              Senior Member
              • Feb 2008
              • 226

              #7
              SOLVED - User error

              It turns out I think I had the initial conversion modifier wrong which is obviously why Zabbix was refusing to accept it. The correct modifier to convert from 1 byte to 1MB is '0.000000954'.

              Sorry to waste everyones time.

              Comment

              Working...