mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Added severity to ntopng checks table
This commit is contained in:
parent
933e8339ec
commit
eda4cfb088
48 changed files with 406 additions and 340 deletions
|
|
@ -5,6 +5,7 @@ local dirs = ntop.getDirs()
|
|||
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
|
||||
|
||||
local checks = require("checks")
|
||||
local alert_consts = require "alert_consts"
|
||||
|
||||
-- #################################################################
|
||||
|
||||
|
|
@ -19,6 +20,7 @@ end
|
|||
local script = {
|
||||
-- Script category
|
||||
category = checks.check_categories.network,
|
||||
severity = alert_consts.get_printable_severities().warning,
|
||||
|
||||
-- Off by default
|
||||
default_enabled = false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue