mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-04 18:00:10 +00:00
Score changes
- Move score from status definition to user scripts - Separate flow score counter from the peers score - Create a new HostScore class to hold the score data
This commit is contained in:
parent
38facb051a
commit
566b9ece0b
29 changed files with 162 additions and 126 deletions
|
|
@ -24,14 +24,11 @@ end
|
|||
-- #################################################################
|
||||
|
||||
return {
|
||||
-- score: the score of this status
|
||||
-- prio: when a flow has multiple status set, the most important status is the one with highest priority
|
||||
-- alert_type: the alert type associated to this status
|
||||
-- alert_severity: the alert severity associated to this status
|
||||
-- i18n_title: a localization string for the status
|
||||
-- i18n_description (optional): a localization string / function for the description
|
||||
cli_score = 100,
|
||||
srv_score = 100,
|
||||
|
||||
-- A flow can have multiple statuses set. The predominant status is the one with the
|
||||
-- histest "prio"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue