Cleanup remaining references to RTT

This commit is contained in:
emanuele-f 2020-04-20 12:21:39 +02:00
parent 241a0bc2e8
commit 0be2da4f57
26 changed files with 253 additions and 254 deletions

View file

@ -3,7 +3,7 @@
--
--
-- This module implements the ICMP RTT probe.
-- This module implements the HTTP probe.
--
local ts_utils = require("ts_utils_core")
@ -31,7 +31,7 @@ local function check_http(hosts, granularity)
local full_url = string.format("%s://%s", host.measurement, domain_name)
if do_trace then
print("[RTT] GET "..full_url.."\n")
print("[ActiveMonitoring] GET "..full_url.."\n")
end
-- HTTP results are retrieved immediately
@ -98,9 +98,9 @@ return {
-- 3. The collect_results function is called. This should retrieve the results
-- for the hosts checked in the check() function and return the results.
--
-- The alerts for non-responding hosts and the RTT timeseries are automatically
-- The alerts for non-responding hosts and the Active Monitoring timeseries are automatically
-- generated by active_monitoring.lua . The timeseries are saved in the following schemas:
-- "am_host:value_min", "am_host:value_5mins", "am_host:value_hour".
-- "am_host:val_min", "am_host:val_5mins", "am_host:val_hour".
measurements = {
{
-- The unique key for the measurement
@ -115,13 +115,13 @@ return {
granularities = {"min", "5mins", "hour"},
-- The localization string for the measurement unit (e.g. "ms", "Mbits")
i18n_unit = "active_monitoring_stats.msec",
-- The localization string for the RTT timeseries menu entry
-- The localization string for the Active Monitoring timeseries menu entry
i18n_am_ts_label = "graphs.num_ms_rtt",
-- The localization string for the RTT metric in the chart
-- The localization string for the Active Monitoring metric in the chart
i18n_am_ts_metric = "flow_details.round_trip_time",
-- The operator to use when comparing the measurement with the threshold, "gt" for ">" or "lt" for "<".
operator = "gt",
-- A list of additional timeseries (the am_host:value_* is always shown) to show in the charts.
-- A list of additional timeseries (the am_host:val_* is always shown) to show in the charts.
-- See https://www.ntop.org/guides/ntopng/api/timeseries/adding_new_timeseries.html#charting-new-metrics .
additional_timeseries = {{
schema="am_host:http_stats",