higher snmp timeout
This commit is contained in:
parent
55fa754a25
commit
8e1703cf28
4 changed files with 4 additions and 7 deletions
|
|
@ -18,7 +18,7 @@ defmodule Towerops.Snmp.Client do
|
|||
@type snmp_value :: term()
|
||||
@type snmp_result :: {:ok, snmp_value()} | {:error, term()}
|
||||
|
||||
@default_timeout 5000
|
||||
@default_timeout 30_000
|
||||
@default_retries 2
|
||||
|
||||
@doc """
|
||||
|
|
|
|||
|
|
@ -183,8 +183,7 @@ defmodule Towerops.Snmp.Discovery do
|
|||
ip: device.ip_address,
|
||||
community: snmp_config.community,
|
||||
version: snmp_config.version,
|
||||
port: device.snmp_port || 161,
|
||||
timeout: 5000
|
||||
port: device.snmp_port || 161
|
||||
]
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -54,8 +54,7 @@ defmodule Towerops.Snmp.Poller do
|
|||
ip: device.ip_address,
|
||||
community: device.snmp_community,
|
||||
version: device.snmp_version,
|
||||
port: device.snmp_port || 161,
|
||||
timeout: 5000
|
||||
port: device.snmp_port || 161
|
||||
]
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -720,8 +720,7 @@ defmodule Towerops.Snmp.PollerWorker do
|
|||
ip: device.ip_address,
|
||||
community: snmp_config.community,
|
||||
version: snmp_config.version,
|
||||
port: device.snmp_port || 161,
|
||||
timeout: 5000
|
||||
port: device.snmp_port || 161
|
||||
]
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue