Fix a typo in smart.conf
This commit is contained in:
parent
50e3e357ff
commit
b1c1224496
|
@ -1,7 +1,7 @@
|
|||
# Discover S.M.A.R.T. capable hard drives
|
||||
# The only macro returned is {#SMARTDRIVE} and value is like /dev/sda
|
||||
UserParameter=hardward.disk.smart.discovery,/usr/bin/sudo /var/lib/zabbix/bin/disco_smart_sudo
|
||||
UserParameter=hardware.disk.smart.discovery,/usr/bin/sudo /var/lib/zabbix/bin/disco_smart_sudo
|
||||
|
||||
# Takes two args: the drives to check, and the value to get
|
||||
# eg: hardward.disk.smart[/dev/sda,Reallocated_Sector_Ct]
|
||||
UserParameter=hardward.disk.smart[*],/usr/bin/sudo /var/lib/zabbix/bin/check_smart_sudo $1 $2
|
||||
UserParameter=hardware.disk.smart[*],/usr/bin/sudo /var/lib/zabbix/bin/check_smart_sudo $1 $2
|
||||
|
|
Loading…
Reference in New Issue