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

Intel d3 s4610, hw raid hdd hpe (sas) - not work #135

Closed StoryPo closed 4 years ago

StoryPo commented 4 years ago

I have a hp proliant dl 360 g6 server. With 1 intel d3 4610 DC drive and two drives in Raid 0 (SAS). Connected via the raid controller HP Smart Array P410. I checked everything a dozen times - there are no errors. The script is executed, and the discovery rules work. The zabbix_server.log is quiet. At the same time, there is another server from hp with software raid - everything works perfectly.

What is the problem?

StoryPo commented 4 years ago

./smartctl-disks-discovery.pl { "data":[ { "{#DISKMODEL}":"HP LOGICAL VOLUME", "{#DISKSN}":"MYSN", "{#DISKNAME}":"/dev/sda", "{#DISKCMD}":"/dev/sda -d scsi", "{#SMART_ENABLED}":"0", "{#DISKTYPE}":"0" }, { "{#DISKMODEL}":"HP LOGICAL VOLUME", "{#DISKSN}":"MYSN", "{#DISKNAME}":"/dev/sdb", "{#DISKCMD}":"/dev/sdb -d scsi", "{#SMART_ENABLED}":"0", "{#DISKTYPE}":"0" }, { "{#DISKMODEL}":"HP LOGICAL VOLUME", "{#DISKSN}":"MYSN", "{#DISKNAME}":"/dev/sg1", "{#DISKCMD}":"/dev/sg1", "{#SMART_ENABLED}":"0", "{#DISKTYPE}":"0" }, { "{#DISKMODEL}":"HP LOGICAL VOLUME", "{#DISKSN}":"MYSN", "{#DISKNAME}":"/dev/sg2", "{#DISKCMD}":"/dev/sg2", "{#SMART_ENABLED}":"0", "{#DISKTYPE}":"0" } ] }

v-zhuravlev commented 4 years ago

SMART_ENABLED: 0 - such disks are not discovered by default template discovery rule. p.s. you might consider to use out of the box zabbix HP template to monitor HP servers RAID controller and disks instead.

StoryPo commented 4 years ago

@vazhnov

p.s. you might consider to use out of the box zabbix HP template to monitor HP servers RAID controller and disks instead.

Is it really not necessary to monitor SMART for disks that the controller serves? I always thought that there is a Raid controller being used, then SMART monitoring is required.

v-zhuravlev commented 4 years ago

As far as I know, there are smart metrics in that template as well.

Отправлено с телефона

24 мая 2020 г., в 17:09, Denis notifications@github.com написал(а):

 p.s. you might consider to use out of the box zabbix HP template to monitor HP servers RAID controller and disks instead.

Is it really not necessary to monitor SMART for disks that the controller serves? I always thought that there is a Raid controller being used, then SMART monitoring is required.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

StoryPo commented 4 years ago

@v-zhuravlev Hi.

I share my decision for p212 controller + raid 10. When using smartctl -d sat+cciss,0 -x /dev/sda I see smart.

{$ SMARTCTL_STATIC_DISKS} -d_sat+cciss,0_-x_/dev/sda, -d_sat+cciss,1_-x_/dev/sda, -d_sat+cciss,2_-x_/dev/sda, -d_sat+cciss,3_-x_/dev/sda

{$ SMART_ENABLED} 1.