mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Added critical and emergency status to alerts
This commit is contained in:
parent
fb7da8667e
commit
692ae0bfcc
27 changed files with 178 additions and 76 deletions
|
|
@ -13,9 +13,9 @@ local json = require "dkjson"
|
|||
local script_manager = require("script_manager")
|
||||
local endpoints = require("endpoints")
|
||||
local checks = require("checks")
|
||||
local alert_severities = require "alert_severities"
|
||||
local alert_entities = require "alert_entities"
|
||||
local am_utils = require "am_utils"
|
||||
local alert_consts = require "alert_consts"
|
||||
local host_pools = require "host_pools":create()
|
||||
|
||||
sendHTTPContentTypeHeader('text/html')
|
||||
|
|
@ -127,7 +127,7 @@ local context = {
|
|||
can_create_recipient = can_create_recipient,
|
||||
check_categories = checks.check_categories,
|
||||
check_entities = alert_entities,
|
||||
alert_severities = alert_severities,
|
||||
alert_severities = alert_consts.get_printable_severities(),
|
||||
endpoints = endpoint_list,
|
||||
endpoints_info = get_max_configs_available(),
|
||||
am_hosts = am_hosts_list,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue