v-zhuravlev / zbx-smartctl

Templates and scripts for monitoring disks health with Zabbix and smartmontools
https://share.zabbix.com/storage-devices/smartmontools/smart-monitoring-with-smartmontools-lld
GNU General Public License v3.0
245 stars 127 forks source link

Trigger "Uncorrectable Sector Count has been registered" depends on "SMART test status: FAILED!" #77

Closed nerijus closed 5 years ago

nerijus commented 5 years ago

"Uncorrectable Sector Count has been registered" depends on "SMART test status: FAILED!", but on one of the disks I have /dev/sdb: ID 198 (Offline) Uncorrectable Sector Count = 1, but

# smartctl -H /dev/sdb
smartctl 6.5 2016-05-07 r4318 [x86_64-linux-3.10.0-862.14.4.el7.x86_64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

so the trigger is not triggered. Maybe dependency should be removed?

nerijus commented 5 years ago

Oops, I misunderstood what is "depends on" - it means, that if "SMART test status: FAILED!", it will not be monitored anymore.