Merge pull request #2208 from remakeelectric/snmp-agentx

luci-app-snmpd: Allow turning off agentx
This commit is contained in:
Jo-Philipp Wich 2018-10-08 13:34:07 +02:00 committed by GitHub
commit 4f9e23f2b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,11 +26,12 @@ s.anonymous = true
p = s:option(Value, "agentaddress", "The address the agent should listen on",
[[Eg: UDP:161, or UDP:10.5.4.3:161 to only listen on a given interface]])
s = m:section(TypedSection, "agentx", "AgentX settings")
s = m:section(TypedSection, "agentx", "AgentX settings", "Delete this section to disable agentx")
s.anonymous = true
p = s:option(Value, "agentxsocket", "The address the agent should allow agentX connections to",
[[This is only necessary if you have subagents using the agentX socket protocol.
Note that agentX requires TCP transport]])
Eg: /var/run/agentx.sock]])
s.addremove=true
s = m:section(TypedSection, "com2sec", "com2sec security")
p = s:option(Value, "secname", "secname")