Score:0

Zabbix hold files on windows OS

dj flag

The essence of the problem: Zabbix does not allow deleting files in Windows.
It is especially critical when files need to be deleted every day.

I guess that's the issue with this item:

vfs.dir.size[D:\oracle\fast_recovery_area\db ]

Error message:

Image with error

Check configuration:

zabbix item config

in flag
Zabbix by its own does not touch any files. Please provide your relevant check scripts.
Alex1__1 avatar
dj flag
Look at the error screen, it shows that the Zabbix agent is "holding" the file.
in flag
My bad, I didn't realize that this is the configured check. Since this is an internal check I'd file a bug report with Zabbix. Make sure the check isn't just currently running before you do, this would be normal while a check is running.
Alex1__1 avatar
dj flag
These files have been held for the third day. The check is performed once a minute. Added a screen with an item in Zabbix.
Score:0
in flag

You have configured an update interval of 1m. If the check takes longer than that (depends on the size of the directory) chances are that the directory is always locked. Increase the time interval. Do you really need it with a granularity of 1 minute? Maybe 15 minutes or even an hour is enough.

in flag
You can just click on the `Test` button and check how long the check takes.
Alex1__1 avatar
dj flag
Hello. The duration of the check is less than a second. Zabbix locks different files inside subfolders each time. As a result, I have a tree of folders, each with 1-2 files out of hundreds.
in flag
In that case, as I already suggested, I'd report it as a bug.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.