nikimaxim / zbx-smartmonitor

Zabbix template for monitoring disk attributes
GNU General Public License v3.0
38 stars 14 forks source link

It's will show unsupport item key for smart version. #4

Closed akong77 closed 4 years ago

akong77 commented 4 years ago

Hello, I has install zbx-smartmonitor to agent. And import to server.But it's will unsupport item key.It's not support smartctl.version this item.How to fix it?

nikimaxim commented 4 years ago

Hello Does discovery work? Did you add everything from "zbx-smartmonitor/zabbix_agentd.conf"? What OS?

akong77 commented 4 years ago

OS is Debian 9 I has add zbx-smartmonitor/zabbix_agentd.conf for linux.

nikimaxim commented 4 years ago

Perform in bash: " smartctl --version | grep -Eo "^smartctl\s[0-9.[:space:]\r-]+" | sed -e 's/^smartctl\s//' " What you see?

akong77 commented 4 years ago

It's got 6.6 2016-05-31 r4324.

akong77 commented 4 years ago

I run this command at agent

akong77 commented 4 years ago

Could I need install smartmontools on zabbix server?

nikimaxim commented 4 years ago

Could I need install smartmontools on zabbix server?

It should be installed only where you need to monitor

nikimaxim commented 4 years ago

Perform in bash: zabbix_get -s host_ip -p 10050 -k "smartctl.version"

https://www.zabbix.com/documentation/4.0/ru/manual/concepts/get

akong77 commented 4 years ago

Thanks a lot.It's fix it.

nikimaxim commented 4 years ago

close?