Default to accept cached value up to 5 min old for check_pve_sudo

tags/zabbix-agent-addons-0.2.116-1
Daniel Berteaud 5 years ago
parent 58ba6e2624
commit 786bbf05ea
  1. 2
      zabbix_conf/pve.conf

@ -7,4 +7,4 @@ UserParameter=pve.discovery[*],/usr/bin/sudo /var/lib/zabbix/bin/disco_pve_sudo
# 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
# 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 --cache=300 --$1 $2

Loading…
Cancel
Save