[ZBX-5984] Key 'vfs.file.size' return ZBX_NOTSUPPORTED Created: 2012 Dec 12  Updated: 2017 May 30  Resolved: 2012 Dec 12

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Agent (G)
Affects Version/s: 2.0.4
Fix Version/s: None

Type: Incident report Priority: Major
Reporter: Giuseppe Calignano Assignee: Unassigned
Resolution: Won't fix Votes: 0
Labels: notsupported
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Server:
CentOS release 5.8
Linux zabbix.it.fx.lan 2.6.18-308.24.1.el5xen #1 SMP Tue Dec 4 18:33:26 EST 2012 x86_64 x86_64 x86_64 GNU/Linux
Zabbix: 2.0.4

Client:
CentOS release 5.5
Linux git.it.fx.lan 2.6.18-238.12.1.el5.centos.plusxen #1 SMP Wed Jun 1 11:57:54 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
Zabbix: 2.0.4



 Description   

Hi,

I got a strange behaviour when getting the value of vfs.fs.size on a linux client.

The following command on the client works fine:
[root@git ~]# zabbix_agent -t vfs.fs.size['/home/rad/repositories/apps.builder.git/']
vfs.fs.size[/home/rad/repositories/apps.builder.git/] [u|53264384]

The similar command on the server side returns ZBX_NOTSUPPORTED:
[root@zabbix ~]# zabbix_get -s git.it.fx.lan -k vfs.fs.size['/home/rad/repositories/apps.builder.git/']
ZBX_NOTSUPPORTED

Other keys work fine:

Client:
[root@git ~]# zabbix_agent -t vfs.file.size['/etc/passwd']
vfs.file.size[/etc/passwd] [u|1539]

Server
[root@zabbix ~]# zabbix_get -s git.it.fx.lan -k vfs.file.size['/etc/passwd']
1539

Any idea why this is happening? I've checked similar bugs (e.g. ZBX-4086) but I found nothing helpful.

Thank you



 Comments   
Comment by richlv [ 2012 Dec 12 ]

you are checking a root, not as the zabbix user. most likely zabbix user does not have all the required permissions

Comment by Giuseppe Calignano [ 2012 Dec 12 ]

Yes, that was the problem... Thanks for your help and sorry for this stupid question

Giuseppe

Generated at Thu Apr 03 17:09:28 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.