Additional scripts for Zabbix agent on Linux to discover and monitor several services
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# Discover S.M.A.R.T. capable hard drives
|
|
|
|
# The only macro returned is {#SMARTDRIVE} and value is like /dev/sda
|
|
|
|
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=hardware.disk.smart[*],/usr/bin/sudo /var/lib/zabbix/bin/check_smart_sudo $1 $2
|