mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
Adds SNMP devices debug pref
This commit is contained in:
parent
d44061f529
commit
5876a7362e
4 changed files with 16 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
|||
--
|
||||
-- (C) 2013-18 - ntop.org
|
||||
-- (C) 2013-19 - ntop.org
|
||||
--
|
||||
|
||||
local dirs = ntop.getDirs()
|
||||
|
|
@ -1330,6 +1330,14 @@ function printSnmp()
|
|||
"default_snmp_community",
|
||||
"public", false, nil, nil, nil, {attributes={spellcheck="false", maxlength=64}, disabled=disabled})
|
||||
|
||||
prefsToggleButton(subpage_active, {
|
||||
field = "toggle_snmp_debug",
|
||||
default = "0",
|
||||
pref = "snmp_debug",
|
||||
})
|
||||
|
||||
print('<thead class="thead-light"><tr><th colspan=2 class="info">'..i18n("prefs.snmp_alerts")..'</th></tr></thead>')
|
||||
|
||||
prefsToggleButton(subpage_active, {
|
||||
field = "toggle_snmp_alerts_port_status_change",
|
||||
default = "1",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue