parent
50e3e357ff
commit
b1c1224496
1 changed files with 2 additions and 2 deletions
@ -1,7 +1,7 @@ |
|||||||
# Discover S.M.A.R.T. capable hard drives |
# Discover S.M.A.R.T. capable hard drives |
||||||
# The only macro returned is {#SMARTDRIVE} and value is like /dev/sda |
# 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 |
# Takes two args: the drives to check, and the value to get |
||||||
# eg: hardward.disk.smart[/dev/sda,Reallocated_Sector_Ct] |
# 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