nobody43 / zabbix-smartmontools

Disk SMART monitoring for Linux, FreeBSD and Windows. LLD, trapper.
The Unlicense
54 stars 19 forks source link

Don't report duplicates to Zabbix #36

Closed asomers closed 1 year ago

asomers commented 4 years ago

Currently if skipDuplicates is true, zabbix-smartmontools will report the duplicate device during discovery, but list its status as "Duplicate". I think it would make sense to simply not report it at all. Do you agree?

nobody43 commented 4 years ago

I learned the hard way that flapping isn't good. That's why JSON for any disk is always reported. You can implement duplicates = 'skip' and duplicates = 'hide'.