mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Changes set_severity to set_score
This commit is contained in:
parent
ef65671794
commit
bbe6a3de37
20 changed files with 26 additions and 81 deletions
|
|
@ -977,12 +977,10 @@ function driver:_droppedPointsAlert()
|
|||
local alert_consts = require "alert_consts"
|
||||
|
||||
local alert = alert_consts.alert_types.alert_influxdb_export_failure.new(
|
||||
alert_severities.error,
|
||||
alert_consts.alerts_granularities.min,
|
||||
self.url
|
||||
)
|
||||
|
||||
alert:set_severity(alert_severities.error)
|
||||
alert:set_score(100)
|
||||
alert:set_granularity(alert_consts.alerts_granularities.min)
|
||||
|
||||
alert:store(alerts_api.systemEntity())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue