Ad Widget

Collapse

Convert bytes coming in as MB

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kblackwell
    Junior Member
    • Oct 2013
    • 22

    #1

    Convert bytes coming in as MB

    I'm getting SNMP data from a device in megabytes.

    I've tried a couple of multipliers in zabbix, but it never shows up ad gb.

    It comes over like this.

    SNMPv2-SMI::enterprises.674.10892.5.5.1.20.140.1.1.6.4 = INTEGER: 1427840


    That's in mb.

    Like to convert so it shows in latest data as 1.42 TB or 1427 GB
  • kblackwell
    Junior Member
    • Oct 2013
    • 22

    #2
    Nevermind,

    Multiplier 1024 * 1024 worked.

    Comment

    Working...