= 16) then statusCode = "Can't add configuration to this table. Maximum limit reached." errorFlag = "ERROR" NextPage = "snmp" else errorFlag, statusCode = snmp.snmpTrap_config(inputTable, RowId, "add") end end --if edit else errorFlag, statusCode = snmp.snmpTrap_config(inputTable, RowId, "edit") end -- save db if no error if (errorFlag == "OK") then db.save() end statusMessage = db.getAttribute("stringsMap", "stringId", statusCode, LANGUAGE) or statusCode end web.goToPage(NextPage, true, true) elseif (ButtonType and ButtonType == "edit") then configRowId = RowId web.goToPage(NextPage, true, true) elseif (ButtonType and ButtonType == "editV3User") then configRowId = RowId web.goToPage(NextPage, true, true) elseif (ButtonType and ButtonType == "delete") then local field, splitted, rows = web.cgiSearch(cgi, "snmpTrapchk") -- if any rows to delete if (rows) then errorFlag, statusCode = snmp.snmpDelete(rows) end -- save db if no error if (errorFlag == "OK") then db.save() end statusMessage = db.getAttribute("stringsMap", "stringId", statusCode, LANGUAGE) or statusCode web.goToPage(NextPage, true, true) elseif (ButtonType and ButtonType == "configuration") then local inputTable = web.cgiToLuaTable (cgi) errorFlag, statusCode = snmp.remote_snmp (inputTable, "1", "edit") -- save db if no error if (errorFlag == "OK") then db.save () end statusMessage = db.getAttribute ("stringsMap", "stringId", statusCode, LANGUAGE) or statusCode web.goToPage (NextPage, true, true) elseif (ButtonType and ButtonType == "trapConfig") then local inputTable = web.cgiToLuaTable (cgi) errorFlag, statusCode = snmp.snmpTrapEventsConfig (inputTable, "1", "edit") -- save db if no error if (errorFlag == "OK") then db.save () end statusMessage = db.getAttribute ("stringsMap", "stringId", statusCode, LANGUAGE) or statusCode web.goToPage (NextPage, true, true) else configRow = db.getDefaults(true, "snmpTrap") local configRow1 = {} configRow1 = db.getRow ("RemoteSnmp", "_ROWID_", "1") local configRow2 = {} configRow2 = db.getRow ("snmpTrapEvents", "_ROWID_", "1") ?> $|COMPANY_NAME|$ $|PRODUCT_FAMILY|$ - SNMP
 
SNMP
 
IPv6
IPv4
 
 
$| statusMessage |$
SNMPv3 Users
  Username Access Type Security Level Action
  $| row["snmpv3Users.userName"] or '' |$ $| row["snmpv3Users.accessType"] or '' |$ $| authPrvliges or '' |$
SNMP Configuration
  IP Address Subnet Mask Port SNMP Version Community Action
$| row["snmpTrap.ipAddr"] |$ $| subnetMsk or ''|$ $| row["snmpTrap.port"] |$ $| row["snmpTrap.snmpVersion"] or '' |$ $| xssRow["snmpTrap.commName"] |$
Access From WAN
Enable access from WAN:
 
 
Create New SNMP Configuration Entry:
IP Address Subnet Mask Port SNMP Version Community Add
.
.
.
.
.
.
SNMP Trap Events
WAN Connection Failure User Login
Firewall User Login Fail
IPSec VPN Wan Fail Over
SSL VPN Configuration Change