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

Block device discovery must not list cd-roms as disks

XMLWordPrintable

    • Team C
    • Sprint 76 (May 2021), Sprint 77 (Jun 2021), Sprint 78 (Jul 2021), Sprint 79 (Aug 2021)
    • 0.5

      Steps to reproduce:

      1. Install Zabbix Agent1 5.4.0 on Debian 10 with cd-rom
      2. Run zabbix_get -s localhost -k vfs.dev.discovery

      Result:
      zabbix_get:

      lsblk:


      Expected:

      1. Zabbix Agent must report sr0 device as type rom, not disk, so it can be distinguished from normal disks and filtered out. Now CD-ROMs are reported as normal disks with disk write times etc. There is not much value in monitoring CDs and DVDs, at least not by Linux server template.
      2. /dev/sr0 symlinked to /dev/cdrom and /dev/dvd so a single block device is reported 3 times! Zabbix should either report it once or at least document that one device can be returned multiple times under different names. The first option seems to be more reasonable for me.

            ak Andrejs Kozlovs
            Kalimulin Alex Kalimulin
            Team C
            Votes:
            3 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: