diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-10-08 13:34:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-08 13:34:07 +0200 |
commit | 4f9e23f2b6cc42b8c534d32ec8669b1583c22cc0 (patch) | |
tree | 7f558840ea9f9f3a9e3770c1880740f13bed347f | |
parent | a0cc0769d8faf38172312a376d33aec241c19126 (diff) | |
parent | 8f96cd8e36cb5086c0f9e09171f04cfa067f5257 (diff) |
Merge pull request #2208 from remakeelectric/snmp-agentx
luci-app-snmpd: Allow turning off agentx
-rw-r--r-- | applications/luci-app-snmpd/luasrc/model/cbi/snmpd.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/applications/luci-app-snmpd/luasrc/model/cbi/snmpd.lua b/applications/luci-app-snmpd/luasrc/model/cbi/snmpd.lua index b3c0f2660..cc6951e17 100644 --- a/applications/luci-app-snmpd/luasrc/model/cbi/snmpd.lua +++ b/applications/luci-app-snmpd/luasrc/model/cbi/snmpd.lua @@ -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") |