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

no terabyte constant

XMLWordPrintable

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

      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;

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

              Created:
              Updated:
              Resolved: