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

This commit is contained in:
Daniel Berteaud 2020-03-02 12:26:49 +01:00
parent 58ba6e2624
commit 786bbf05ea
1 changed files with 1 additions and 1 deletions

View File

@ -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