collectd/dhcpcount: set minimum timeout to 180s
This commit is contained in:
parent
2e392d7177
commit
62e0058832
|
@ -35,7 +35,7 @@ LoadPlugin ping
|
|||
</Plugin>
|
||||
|
||||
{%- 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 %}
|
||||
|
|
Loading…
Reference in New Issue