Ad Widget

Collapse

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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • s0r1n
    Junior Member
    • Feb 2013
    • 23

    #1

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

    While attempting to monitor a 2.0TB partition on Linux, Zabbix 2.2.11 returned 'Unsupported'.

    # df -h /media
    Filesystem Size Used Avail Use% Mounted on
    /dev/mapper/vg_data-lv_data
    2,0T 717G 1,2T 38% /media

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

    The Item's 'Data type' is set to Integer and 'Units' is set to B (byte). The partition in bytes:

    # df -B1 /srv/ams/media
    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/mapper/vg_data-lv_data
    2164338376704 768811884544 1285577637888 38% /media

    According to Zabbix documentation a Numeric (unsigned) is a 64bit unsigned integer, which should large enough 2^64 (18,446,744,073,709,551,616), thus no limitation here...

    Where is the issue?

    Thanks in advance
Working...