From 786bbf05ea6c47c60029fa0c3b80f5b57bb94227 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 2 Mar 2020 12:26:49 +0100 Subject: [PATCH] Default to accept cached value up to 5 min old for check_pve_sudo --- zabbix_conf/pve.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zabbix_conf/pve.conf b/zabbix_conf/pve.conf index ac8c6e7..d70f40f 100644 --- a/zabbix_conf/pve.conf +++ b/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