-
Problem report
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
None
-
None
-
Ubuntu 20.04
Steps to reproduce:
- Zabbix 5.2, enable Linux by Zabbix agent active template
Result:
zabbix_agentd.log gets slowly flooded with:
188689:20210201:225931.238 active check "vfs.file.contents[/sys/block/cdrom/stat]" is not supported: Cannot open file: [2] No such file or directory
188689:20210201:225931.238 active check "vfs.file.contents[/sys/block/cdrw/stat]" is not supported: Cannot open file: [2] No such file or directory
188689:20210201:225931.238 active check "vfs.file.contents[/sys/block/dvd/stat]" is not supported: Cannot open file: [2] No such file or directory
Expected:
A way to ignore cdrom, cdrw, dvd, so those warnings would not be appearing in the log.
I tried adding it to the {$VFS.DEV.DEVNAME.NOT_MATCHES} macro, but that didn't seem to help.