[ZBX-22630] Zabbix hold files on windows OS Created: 2023 Apr 03  Updated: 2023 Apr 18

Status: Need info
Project: ZABBIX BUGS AND ISSUES
Component/s: Server (S)
Affects Version/s: 6.0.14
Fix Version/s: None

Type: Incident report Priority: Trivial
Reporter: Alex Assignee: Zabbix Support Team
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2023-04-03-11-56-17-496.png     PNG File image-2023-04-03-11-57-03-973.png     PNG File image-2023-04-17-11-33-08-123.png     PNG File image-2023-04-18-10-27-44-424.png    

 Description   

Steps to reproduce:

  1. Create item vfs.dir.size[D:\oracle\fast_recovery_area\dbname]
  2. oracle db every night deletes files from D:\oracle\fast_recovery_area\dbname forming a backup.
  3. oracle db and user can't delete files from D:\oracle\fast_recovery_area\dbname
    {2023_04_01}

    because files are held by Zabbix Service

Result:
See screenshot.
Oracle db and user can't delete files



 Comments   
Comment by Edgar Akhmetshin [ 2023 Apr 04 ]

Hello Alex,

Please confirm Agent type (C (1) or Go (2)) and Agent version.

Regards,
Edgar

Comment by Alex [ 2023 Apr 04 ]

Hello Edgar.

zabbix_agentd Win64 (service) (Zabbix) 4.0.27

Comment by Edgar Akhmetshin [ 2023 Apr 05 ]

How many files do you have in this directory (and total size) and how long does it take to execute same check from the Zabbix Server/Zabbix Proxy with zabbix_get?

time zabbix_get -s <ip> -k 'vfs.dir.size[D:\oracle\fast_recovery_area\dbname]'
Comment by Alex [ 2023 Apr 05 ]
real    0m1.806s
user    0m0.174s
sys     0m1.161s 

210-230 items add every day in subfolder and every night this directory D:\oracle\fast_recovery_area\dbname is cleared

Total size 22-25Gb.

Comment by Edgar Akhmetshin [ 2023 Apr 14 ]

Do you have storage IO performance metrics like latency, IOPS/sec performed during backup time?

Comment by Alex [ 2023 Apr 14 ]

No. Please tell me the template for Windows Server 2016 x64 is suitable. I'll measure tonight.

Comment by Edgar Akhmetshin [ 2023 Apr 17 ]

https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/os/windows_agent_active?at=refs%2Fheads%2Frelease%2F6.0

Comment by Alex [ 2023 Apr 17 ]

I updated the template at the link you specified, but the item (as an example) perf_counter_en"\PhysicalDisk({#DEVNAME})\Disk Reads/sec",60 did not appear.

When I tried to add it manually, I got a message that the item already exists.

I went to "Discovery rules" -> "Physical disks discovery" and tried to click "Test" and got an error.

Deleted the templates completely and tried to add again. Got an error: Graph "{#DEVNAME}: Disk utilization and queue" already exists on "SRVORACLE" (items are not identical).

But there are no graphs on the specified host at all. I read that similar behavior may occur due to a large version difference between the server and the agent.

Downloaded and installed Zabbix agent 2 v6.0.16. The template was no added to the existing host.

I created a new item and specified the same ip as the existing one by adding the desired template.

All necessary items appeared.

Tomorrow I will send the metrics you requested.

Comment by Alex [ 2023 Apr 18 ]

 

Generated at Sat Jun 07 11:42:31 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.