Implements filter to select interfaces Up with traffic detected

Implements #4303 along with companion pro commit
This commit is contained in:
Simone Mainardi 2020-08-17 17:32:01 +02:00
parent b65154289e
commit d95b58a9d8
2 changed files with 2 additions and 0 deletions

View file

@ -14,6 +14,7 @@ local snmp_consts = {}
function snmp_consts.snmp_ifstatus(id)
local ifstatus = {
["1"] = "<font color=green>" .. i18n("snmp.status_up") .. "</font>",
["101"] = "<font color=green>" .. i18n("snmp.status_up_in_use") .. "</font>", -- Up and in use (that is, actively seeing traffic)
["2"] = "<font color=red>" .. i18n("snmp.status_down") .. "</font>",
["3"] = i18n("snmp.testing"),
["4"] = i18n("snmp.status_unknown"),