mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Fix alert issues due to invalid granularities
This commit is contained in:
parent
7893c1f78a
commit
951cb1a4e9
3 changed files with 15 additions and 12 deletions
|
|
@ -1002,25 +1002,25 @@ alert_consts.alert_entities = {
|
|||
-- Keep in sync with C
|
||||
alert_consts.alerts_granularities = {
|
||||
["min"] = {
|
||||
granularity_id = 0,
|
||||
granularity_id = 1,
|
||||
granularity_seconds = 60,
|
||||
i18n_title = "show_alerts.minute",
|
||||
i18n_description = "alerts_thresholds_config.every_minute",
|
||||
},
|
||||
["5mins"] = {
|
||||
granularity_id = 1,
|
||||
granularity_id = 2,
|
||||
granularity_seconds = 300,
|
||||
i18n_title = "show_alerts.5_min",
|
||||
i18n_description = "alerts_thresholds_config.every_5_minutes",
|
||||
},
|
||||
["hour"] = {
|
||||
granularity_id = 2,
|
||||
granularity_id = 3,
|
||||
granularity_seconds = 3600,
|
||||
i18n_title = "show_alerts.hourly",
|
||||
i18n_description = "alerts_thresholds_config.hourly",
|
||||
},
|
||||
["day"] = {
|
||||
granularity_id = 3,
|
||||
granularity_id = 4,
|
||||
granularity_seconds = 86400,
|
||||
i18n_title = "show_alerts.daily",
|
||||
i18n_description = "alerts_thresholds_config.daily",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue