From 62e005883256fd61d7c49ae2341e2b71a7572090 Mon Sep 17 00:00:00 2001 From: Astro Date: Fri, 19 Feb 2021 16:01:43 +0100 Subject: [PATCH] collectd/dhcpcount: set minimum timeout to 180s --- salt/collectd/collectd.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/collectd/collectd.conf b/salt/collectd/collectd.conf index 6de4cc4..72ebe9f 100644 --- a/salt/collectd/collectd.conf +++ b/salt/collectd/collectd.conf @@ -35,7 +35,7 @@ LoadPlugin ping {%- elif plugin == 'dhcpcount' and conf %} -{%- set timeout = 60 %} +{%- set timeout = 180 %} {%- for iface, ips in salt['grains.get']('ip_interfaces').items() %} {%- set dhcp_conf = pillar['dhcp'].get(iface) %} {%- if dhcp_conf and dhcp_conf.get('time') and dhcp_conf.get('time') > timeout %}