Steps to reproduce:
- Install Zabbix Agent1 5.4.0 on Debian 10 with cd-rom
- Run zabbix_get -s localhost -k vfs.dev.discovery
- 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.
- /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.