Definition of SNMP polling error

This commit is contained in:
Luca Deri 2024-06-02 17:55:37 +02:00
parent 1aefe9f401
commit c53b79e302
4 changed files with 154 additions and 85 deletions

View file

@ -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