[ZBX-21248] Zabbix agent. Cannot obtain a list of filesystems: [0x000005AA] Недостаточно системных ресурсов для завершения операции Created: 2022 Jun 24 Updated: 2024 Sep 13 |
|
Status: | Need info |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Agent (G) |
Affects Version/s: | 6.0.4 |
Fix Version/s: | None |
Type: | Incident report | Priority: | Trivial |
Reporter: | Evgeny | Assignee: | Zabbix Support Team |
Resolution: | Unresolved | Votes: | 0 |
Labels: | agent, templates | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Zabbix server 6.0.4 Zabbix Agent 6.0.5 (Windows host) |
Attachments: |
![]() ![]() |
Description |
I need to monitor disks on Windows hosts. I use template Mounted filesystem discovery. Zabbix Agent 6.0.6 are installed on the hosts. After that I get error "Cannot obtain a list of filesystems: [0x000005AA] Недостаточно системных ресурсов для завершения операции." I guess it depens on mouted FDD because it work well where hosts without a fdd are located. I can't disconnect the FDD because I need it. I get the same error using command on the Zabbix server 6.0.4:
zabbix_get -s 192.168.150.10 -k "vfs.fs.discovery"
How to avoid it?
|
Comments |
Comment by Eduardo Mazzali Stelmaszczyk [ 2022 Jun 27 ] |
Hello Evgeny, Please confirm if you're using 6.0.6 or 6.0.5. Version 6.0.6 hasn't been released yet - only a RC (release candidate) is available. I understand that "Недостаточно системных ресурсов для завершения операции" means "Insufficient system resources to complete the operation". This is an error returned by Windows, not Zabbix. To help you troubleshoot this (and to help us identify if there's a bug in Zabbix agent), please let us know if you're using Zabbix agent or Zabbix agent 2 (and also confirm the version used). Regards, |
Comment by Evgeny [ 2022 Jun 27 ] |
6.0.5 vervion one. Sorry, my bad. |
Comment by Evgeny [ 2022 Jun 28 ] |
I have new data. There is result of the command bellow on the problem host here: zabbix_agentd.exe" -t vfs.fs.discovery vfs.fs.discovery [s|[{" {#FSNAME}":"A:","{#FSTYPE}":"UNKNOWN","{#FSLABEL}":"","{#FSDRIVETYPE}":"removable"},{"{#FSNAME}":"C:","{#FSTYPE}":"NTFS","{#FSLABEL}":"","{#FSDRIVETYPE}":"fixed"},{" {#FSNAME}":"E:","{#FSTYPE}":"UNKNOWN","{#FSLABEL}":"","{#FSDRIVETYPE}":"cdrom"}]] |
Comment by Eduardo Mazzali Stelmaszczyk [ 2022 Jul 01 ] |
I don't understand. You're saying that you can execute the command locally (by calling Zabbix agent directly), but not remotely (from Zabbix server/proxy)? If so, are you using an administrator user to to call Zabbix agent locally? |
Comment by Evgeny [ 2022 Jul 01 ] |
I wanna say that Zabbix server can't recieve list of the disks and get the error. I can recieve the list (using an administrator user) executing the command 'zabbix_agentd.exe" -t vfs.fs.discovery' on the problem host locally. |
Comment by Eduardo Mazzali Stelmaszczyk [ 2022 Jul 01 ] |
Are files on disk acessible to other users? Also: does this error occur when there's no disk in the drive? |
Comment by Evgeny [ 2022 Jul 06 ] |
I did an experiment. If I disable FDD in Device manager(Windows Server 2019 installed on the host) I won't recieve the error. It does not work on a host with Windows Server 2008. Ater that I ran the command on the host with Windows 2008. zabbix_agentd.exe -t vfs.fs.discovery Result: vfs.fs.discovery [s|[{" {#FSNAME}":"C:","{#FSTYPE}":"NTFS","{#FSLABEL}":"","{#FSDRIVETYPE}":"fixed"},{"{#FSNAME}":"E:","{#FSTYPE}":"UNKNOWN","{#FSLABEL}":"","{#FSDRIVETYPE}":"cdrom"}]] After that I run another comman on zabbix server : sudo zabbix_get -s 192.168.1.198 -k "vfs.fs.discovery" Result: ZBX_NOTSUPPORTED: Cannot obtain a list of filesystems: [0x000005AA] Недостаточно системных ресурсов для завершения операции. "Also: does this error occur when there's no disk in the drive?" I have no physical access to the hosts. I can't insert a floppy.
|
Comment by Eduardo Mazzali Stelmaszczyk [ 2022 Jul 06 ] |
So you're saying that, even AFTER disabling the FDD in Windows 2008 you STILL get the error? |
Comment by Evgeny [ 2022 Jul 06 ] |
Yes, that is true |
Comment by Eduardo Mazzali Stelmaszczyk [ 2022 Jul 07 ] |
I see. Can you try temporarily disabling drive E: also, please, and report on the results? Does the Windows 2019 server also has a device identified as CDROM? |
Comment by Evgeny [ 2022 Jul 08 ] |
Well. I disabled CDROM on the Windows 2008 Server host and it works! I have no error anymore. The Windows 2019 server has no CDROM. |
Comment by Eduardo Mazzali Stelmaszczyk [ 2022 Jul 15 ] |
Could you please execute the following actions?
|
Comment by Evgeny [ 2022 Jul 18 ] |
Zabbix agent log: 135320:20220718:081435.580 Sending back [ZBX_NOTSUPPORTED: Cannot obtain a list of filesystems: [0x000005AA] Недостаточно системных ресурсов для завершения операции.] Zabbix server log: Do you have the same problem during your testing? |
Comment by Eduardo Mazzali Stelmaszczyk [ 2022 Jul 19 ] |
Was Zabbix agent using debuglevel=5 in this case? |
Comment by Evgeny [ 2022 Jul 20 ] |
Sure! |
Comment by Eduardo Mazzali Stelmaszczyk [ 2022 Jul 20 ] |
We need the lines before "sending back"... this line just shows that the error has already happened. |
Comment by Evgeny [ 2022 Jul 21 ] |
7820:20220721:080030.195 In collect_perfstat() |