parent
29fe3a445d
commit
a9bc0f7f54
2 changed files with 18 additions and 3 deletions
@ -1,10 +1,10 @@ |
|||||||
# Discover PVE items |
# Discover PVE items |
||||||
# $1 can be nodes, guests, storage or pools |
# $1 can be nodes, guests, storage or pools |
||||||
UserParameter=pve.discovery[*],/usr/bin/sudo /var/lib/zabbix/bin/disco_pve_sudo --what=$1 |
UserParameter=pve.discovery[*],/usr/bin/sudo /var/lib/zabbix/bin/disco_pve_sudo --what $1 |
||||||
|
|
||||||
# Type: Agent or Agent (active) |
# Type: Agent or Agent (active) |
||||||
# pve.check.all[type,id] |
# pve.check.all[type,id] |
||||||
# Where type is what to monitor (pool, storage, node, cluster, guest) |
# Where type is what to monitor (pool, storage, node, cluster, guest) |
||||||
# id is the id of the item to monitor. For a guest, it's his numerical ID, for a storage |
# id is the id of the item to monitor. For a guest, it's his numerical ID, for a storage |
||||||
# a node or a pool, its name. For the cluster, there's no ID |
# a node or a pool, its name. For the cluster, there's no ID |
||||||
UserParameter=pve.check.all[*],/usr/bin/sudo /var/lib/zabbix/bin/check_pve_sudo --$1=$2 |
UserParameter=pve.check.all[*],/usr/bin/sudo /var/lib/zabbix/bin/check_pve_sudo --$1 $2 |
||||||
|
Loading…
Reference in new issue