Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-5283

no terabyte constant

    XMLWordPrintable

Details

    • Incident report
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 1.8.16rc1, 2.0.3rc1, 2.1.0
    • Server (S)
    • None

    Description

      zabbix has the following definitions :

      common.h:#define ZBX_KIBIBYTE 1024
      common.h:#define ZBX_MEBIBYTE 1048576
      common.h:#define ZBX_GIBIBYTE 1073741824

      tera is missing, thus misc.c does something a little bit ugly for T (assuming there isn't some specific reason for this ) :

      factor = ZBX_GIBIBYTE;
      factor *= ZBX_KIBIBYTE;

      Attachments

        Activity

          People

            Unassigned Unassigned
            richlv richlv
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: