mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
Fixed Throughput active monitoring host check
This commit is contained in:
parent
33342abc54
commit
47d7407fd8
2 changed files with 2 additions and 5 deletions
|
|
@ -7,6 +7,7 @@ $(document).ready(function() {
|
|||
const getMeasurementRegex = (measurement) => {
|
||||
switch (measurement) {
|
||||
default:
|
||||
case "throughput":
|
||||
case "http":
|
||||
case "https":
|
||||
return `${NtopUtils.REGEXES["url"]}`;
|
||||
|
|
|
|||
|
|
@ -2,10 +2,6 @@
|
|||
-- (C) 2020 - ntop.org
|
||||
--
|
||||
|
||||
--
|
||||
-- This module implements the HTTP probe.
|
||||
--
|
||||
|
||||
local ts_utils = require("ts_utils_core")
|
||||
|
||||
local do_trace = false
|
||||
|
|
@ -122,7 +118,7 @@ return {
|
|||
measurements = {
|
||||
{
|
||||
-- The unique key for the measurement
|
||||
key = "Throughput",
|
||||
key = "throughput",
|
||||
-- The localization string for this measurement
|
||||
i18n_label = "active_monitoring_stats.http_download",
|
||||
-- The function called periodically to send the host probes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue