mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Move InfluxDB monitoring to separate entry
This commit is contained in:
parent
1348e7acc3
commit
6234245773
10 changed files with 179 additions and 65 deletions
|
|
@ -43,6 +43,11 @@ tablePreferences("sort_order_alerts", _GET["sortOrder"])
|
|||
|
||||
local alert_options = _GET
|
||||
|
||||
if alert_options.entity_val ~= nil then
|
||||
alert_options.entity_val = string.gsub(alert_options.entity_val, "http:__", "http://")
|
||||
alert_options.entity_val = string.gsub(alert_options.entity_val, "https:__", "https://")
|
||||
end
|
||||
|
||||
local num_alerts = tonumber(_GET["totalRows"])
|
||||
if num_alerts == nil then
|
||||
num_alerts = getNumAlerts(status, alert_options)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue