[ZBX-3151] Item vfs.file.size - large file problem Created: 2010 Oct 27  Updated: 2017 May 30  Resolved: 2012 May 16

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Agent (G)
Affects Version/s: 1.8.3
Fix Version/s: 2.0.0rc5

Type: Incident report Priority: Major
Reporter: ufocek Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: agent
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Debian 5.0, Zabbix server Server v1.8.4rc1 (revision 14009), zabbix_agentd ZABBIX Agent (daemon) v1.8 (revision 8565)


Issue Links:
Duplicate

 Description   

Hi,

I was monitoring size of some file (vfs.file.size[my/file]), when file is large (2GB), zabbix show mi that item not supported.
It's a bug or the monitoring file must have some limit size?



 Comments   
Comment by richlv [ 2010 Oct 28 ]

i'll make a guess that it's a 32bit operating system

2gb exceeds 32bits. as asaveljevs doublechecked, it works on 64bit platforms

Comment by Gabriele Armao [ 2011 Apr 07 ]

then, how come the vfs.fs.size[/] works returning values exceeding the 32bit even on 32bit platforms?

  1. zabbix_get -s 127.0.0.1 -k vfs.fs.size[/opt,free]
    39966638080
  1. zabbix_get -s 127.0.0.1 -k vfs.file.size[/opt/mysql-data/zabbix/history_log.ibd]
    ZBX_NOTSUPPORTED
  1. ls -la /opt/mysql-data/zabbix/history_log.ibd
    rw-rw--- 1 mysql mysql 2688548864 Apr 7 13:55 /opt/mysql-data/zabbix/history_log.ibd
Comment by Aleksandrs Saveljevs [ 2011 Aug 11 ]

If the operating system reports file size being over 2 GB, we should be able to get the correct file size, too. Reopening to fix it.

Comment by dimir [ 2012 May 16 ]

This issue will be fixed in ZBXNEXT-1220.

Comment by Alexander Vladishev [ 2012 May 16 ]

Available in version pre-2.0.0 r27570.

Generated at Sat Apr 20 10:40:10 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.