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 LVM volume
|
|
|
|
# $1 can be groups, volumes or snapshots
|
|
|
|
UserParameter=vfs.lvm.discovery[*],/usr/bin/sudo /var/lib/zabbix/bin/disco_lvm_sudo $1
|
|
|
|
|
|
|
|
# Type: Agent or Agent (active)
|
|
|
|
# Key: vfs.lvm.lv[volume,key] where volume is the path to a logical volume and
|
|
|
|
# key can be size, allocation (for snapshots only) or status
|
|
|
|
UserParameter=vfs.lvm.lv[*],/usr/bin/sudo /var/lib/zabbix/bin/check_lvm_sudo --lv='$1' --what='$2'
|
|
|
|
UserParameter=vfs.lvm.vg[*],/usr/bin/sudo /var/lib/zabbix/bin/check_lvm_sudo --vg='$1' --what='$2'
|