Fixed Throughput active monitoring host check

This commit is contained in:
matteo 2020-12-14 19:24:10 +01:00
parent 33342abc54
commit 47d7407fd8
2 changed files with 2 additions and 5 deletions

View file

@ -7,6 +7,7 @@ $(document).ready(function() {
const getMeasurementRegex = (measurement) => {
switch (measurement) {
default:
case "throughput":
case "http":
case "https":
return `${NtopUtils.REGEXES["url"]}`;

View file

@ -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