zabbix-smartmontools
zabbix-smartmontools copied to clipboard
what to do when a drive disappears (changes)
Describe the problem I am not sure what should be done when a drive disappears. For example, if a drive is pulled, zabbix will continue warning about the drive not being responsive.
What is the proper way to disable or remove that drive from the discovered items, without preventing zabbix from re-discovering if a drive is inserted again and appears in the system at the same device node ? I guess that is more of a zabbix question but maybe there is something specific for smartmontools ?
To Reproduce Pull a drive out and see what happens :-)
Expected behavior The notifications disappear once we know the drive device disappearance is normal.
Screenshots If applicable, add screenshots to help explain your problem.
Provide all outputs described in Testing step Serial numbers should be replaced with X_SERIAL_X.
Please complete the following information:
- OS: [FreeBSD 14.0]
- Zabbix server version: [7.0]
- Active or passive check: Passive
- Using zabbix proxy: [No proxy]
Additional context Add any other context about the problem here.