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

vfs.fs.size not able to calculate very large partitions

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • None
    • 2.2.11
    • Agent (G)
    • None
    • Ubuntu 12.04.5

      Attempting to monitor a very large partition:

      # df -h /srv/ams/media
      Filesystem            Size  Used Avail Use% Mounted on
      /dev/mapper/vg_kimstream02_data-lv_data
                            2,0T  1,4T  516G  74% /srv/ams/media
      

      or in bytes:

      # df -B1 /srv/ams/media
      Filesystem               1B-blocks          Used    Available Use% Mounted on
      /dev/mapper/vg_kimstream02_data-lv_data
                           2164338376704 1500130099200 554259423232  74% 
      

      but the request from the Zabbix server fails:

      # zabbix_get -s xxx.xxx.xxx.xxx -k vfs.fs.size[/srv/ams/media,pfree]
      ZBX_NOTSUPPORTED
      

      The Item's 'Data type' is set to Integer and 'Units' is set to B (byte). According to Zabbix documentation a Numeric (unsigned) is a 64bit unsigned integer, therefore 2^64 (18,446,744,073,709,551,616) is larger than 1,500,130,099,200.

      Why does Zabbix fail in this case to return the partition size?

            Unassigned Unassigned
            s0r1n Sorin Gheorghiu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: