0

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

Gerald Schneider
  • 23,274
  • 8
  • 57
  • 89
Alex1__1
  • 1
  • 1
  • Zabbix by its own does not touch any files. Please provide your relevant check scripts. – Gerald Schneider Apr 03 '23 at 05:02
  • Look at the error screen, it shows that the Zabbix agent is "holding" the file. – Alex1__1 Apr 03 '23 at 05:33
  • 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. – Gerald Schneider Apr 03 '23 at 05:39
  • These files have been held for the third day. The check is performed once a minute. Added a screen with an item in Zabbix. – Alex1__1 Apr 03 '23 at 05:51

1 Answers1

0

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.

Gerald Schneider
  • 23,274
  • 8
  • 57
  • 89