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

Added megaraid devices support. Changed script folder #25

Closed shadbarton closed 7 years ago

shadbarton commented 7 years ago

All test were made for smartmontools release 6.4 Added megaraid devices support Added workaround for /dev/sd devices by replacing -d scsi to -d sat to get SMART health status and attributes. IMHO it is some smartmontools bug. Created ticket https://www.smartmontools.org/ticket/811 Other files changed accordingly to new script path

v-zhuravlev commented 7 years ago

Thanks for pulling

shadbarton commented 7 years ago

I've tried discovering at 2 Dell servers with megaraid and 4 usual PCs with SATA disks. It worked correctly everywere. So i think not

v-zhuravlev commented 7 years ago

Thanks, merged then. @vazhnov , We changed nix script default location to /etc/zabbix/scripts (since it's a default directory for scripts in some zabbix distribs like Centos). I think https://github.com/v-zhuravlev/zbx-smartctl/blob/master/debian/zabbix-agent-extra-smartctl.install should be changed as well , right?

vazhnov commented 7 years ago

@v-zhuravlev Yes, thank you!