Add S.M.A.R.T monitoring
This commit is contained in:
2
zabbix_agentd.conf.d/smart.conf
Normal file
2
zabbix_agentd.conf.d/smart.conf
Normal file
@@ -0,0 +1,2 @@
|
||||
UserParameter=hdd.smart[*],sudo smartctl -A $1 | grep $2 | awk '{print $$10}' | tail -1
|
||||
UserParameter=hdd_discovery, /etc/zabbix/bin/hdd_discovery.sh
|
||||
Reference in New Issue
Block a user