[ZBX-15287] To monitor a directory size of ~ 8-10 TB (on a mount point of 14TB) using vfs.fs.dir - Zabbix Agent 3.4.15 Created: 2018 Dec 08  Updated: 2019 Jul 02  Resolved: 2018 Dec 10

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

Type: Incident report Priority: Trivial
Reporter: Adnan Khan Assignee: Unassigned
Resolution: Won't fix Votes: 0
Labels: frontend, items, vfs.dir.size
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2018-12-08-03-06-58-098.png    

 Description   

To monitor a folder on a mount point

Steps to reproduce:

  1. Item = vfs.dir.size[/mnt/*****_****/***] , directory size is ~ 8-10 TB
  2. I have tried vfs.dir.size modes (default & 0)
  3. Time out setting in zabbix agent/server/proxy configuration is 30 (max)

Result:

getting following error: Timeout while waiting for data

Expected:

Requirement:

To monitor directory size of ~ 8-10 TB, please have a look into it. So that I could setup zabbix monitoring of our production env. Thanks

P.S: Monitoring of 14TB mount point is in place, using filesystem discovery. But the required directory (same filesystem) on that mount point is neither getting discovered nor being monitored using vfs.dir.size



 Comments   
Comment by Arturs Lontons [ 2018 Dec 10 ]

Hi and thank you for reporting the issue.

Please take a look at the solutions proposed in the ticket -ZBX-12737-.

Specifically - Use zabbix_get command to pinpoint the time it takes to execute the vfs.dir.size command and increase the timeout in the config file accordingly. This behavior is also described in our documentation - https://www.zabbix.com/documentation/4.0/manual/config/items/itemtypes/zabbix_agent 
Unfortunately, if you've already maxed out the timeout value, you won't be able to increase it any further without modifying the source code.

You can use our community forums and ask for advice regarding some performance tweaks or best approaches on how to monitor a directory of such size. You can access the forums by visiting https://www.zabbix.com/forum/forum

Since this behavior is by design and not a bug report, we will be closing this ticket.

Comment by Adnan Khan [ 2018 Dec 11 ]

Alright, thank you @ArtursL for having a look into it and sharing the findings.

much appreciated for the prompt response 

Comment by gaj [ 2019 Jul 02 ]

hi, @adnan7khan, how did you do for the issue "ZBX_NOTSUPPORTED: Timeout while waiting for data. ? "

Comment by Adnan Khan [ 2019 Jul 02 ]

It didn't work actually. As mentioned earlier by @ArtursL , required parameter(s) (Timeout etc.) was OK and won't work for the data size like this and won't fix.
P.S: for normal size data; monitoring is OK

Comment by gaj [ 2019 Jul 02 ]

i tested with Timeout = 30 in vim /etc/zabbix/zabbix_server.conf but i have the same issue issue "ZBX_NOTSUPPORTED: Timeout while waiting for data.  " @adnan7khan

Generated at Fri Mar 29 12:20:27 EET 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.