mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Definition of SNMP polling error
This commit is contained in:
parent
1aefe9f401
commit
c53b79e302
4 changed files with 154 additions and 85 deletions
|
|
@ -38,8 +38,8 @@ function Alert:set_info(params)
|
|||
self.score = ntop.mapSeverityToScore(script.severity.severity_id or 0 --[[ no score ]] )
|
||||
elseif (script == nil) then
|
||||
self.score = ntop.mapSeverityToScore(0 --[[ no score ]])
|
||||
-- traceError(TRACE_ERROR, TRACE_CONSOLE, string.format("No script detected for entity %s, granularity: %s", params.entity_info.name, params.granularity))
|
||||
-- tprint(debug.traceback())
|
||||
-- traceError(TRACE_ERROR, TRACE_CONSOLE, string.format("No script detected for entity %s, granularity: %s", params.entity_info.name, params.granularity))
|
||||
-- tprint(debug.traceback())
|
||||
end
|
||||
|
||||
if params.entity_info then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue