Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-18956

cdrom, cdrw, dvd are LLD discovered, while not needed at all

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • None
    • None
    • Ubuntu 20.04

      Steps to reproduce:

      1. 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.

       

            zabbix.dev Zabbix Development Team
            mrinx Petr
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: