bf190465bf
support getting all the value at once in a JSON structure, support VG monitoring, and various other cleanups GLPI #47654
10 lines
521 B
Plaintext
10 lines
521 B
Plaintext
# 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'
|