mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Added activer local hosts timeseries (#6429)
This commit is contained in:
parent
de120f1d0c
commit
a2fda7d5aa
3 changed files with 11 additions and 8 deletions
|
|
@ -977,15 +977,16 @@ local default_timeseries = {
|
|||
}
|
||||
|
||||
if ntop.isPro() then
|
||||
local pro_timeseries = {
|
||||
{schema="iface:score_anomalies", label=i18n("graphs.iface_score_anomalies")},
|
||||
{schema="iface:score_behavior", label=i18n("graphs.iface_score_behavior"), split_directions = true --[[ split RX and TX directions ]], first_timeseries_only = true, metrics_labels = {i18n("graphs.score"), i18n("graphs.lower_bound"), i18n("graphs.upper_bound")}},
|
||||
{schema="iface:traffic_anomalies", label=i18n("graphs.iface_traffic_anomalies")},
|
||||
{schema="iface:traffic_rx_behavior_v2", label=i18n("graphs.iface_traffic_rx_behavior"), split_directions = true --[[ split RX and TX directions ]], first_timeseries_only = true, time_elapsed = iface_behavior_update_freq, value_formatter = {"NtopUtils.fbits_from_bytes", "NtopUtils.bytesToSize"}, metrics_labels = {i18n("graphs.traffic_rcvd"), i18n("graphs.lower_bound"), i18n("graphs.upper_bound")}},
|
||||
{schema="iface:traffic_tx_behavior_v2", label=i18n("graphs.iface_traffic_tx_behavior"), split_directions = true --[[ split RX and TX directions ]], first_timeseries_only = true, time_elapsed = iface_behavior_update_freq, value_formatter = {"NtopUtils.fbits_from_bytes", "NtopUtils.bytesToSize"}, metrics_labels = {i18n("graphs.traffic_sent"), i18n("graphs.lower_bound"), i18n("graphs.upper_bound")}},
|
||||
}
|
||||
local pro_timeseries = {
|
||||
{schema="iface:score_anomalies", label=i18n("graphs.iface_score_anomalies")},
|
||||
{schema="iface:score_behavior", label=i18n("graphs.iface_score_behavior"), split_directions = true --[[ split RX and TX directions ]], first_timeseries_only = true, metrics_labels = {i18n("graphs.score"), i18n("graphs.lower_bound"), i18n("graphs.upper_bound")}},
|
||||
{schema="iface:traffic_anomalies", label=i18n("graphs.iface_traffic_anomalies")},
|
||||
{schema="iface:traffic_rx_behavior_v2", label=i18n("graphs.iface_traffic_rx_behavior"), split_directions = true --[[ split RX and TX directions ]], first_timeseries_only = true, time_elapsed = iface_behavior_update_freq, value_formatter = {"NtopUtils.fbits_from_bytes", "NtopUtils.bytesToSize"}, metrics_labels = {i18n("graphs.traffic_rcvd"), i18n("graphs.lower_bound"), i18n("graphs.upper_bound")}},
|
||||
{schema="iface:traffic_tx_behavior_v2", label=i18n("graphs.iface_traffic_tx_behavior"), split_directions = true --[[ split RX and TX directions ]], first_timeseries_only = true, time_elapsed = iface_behavior_update_freq, value_formatter = {"NtopUtils.fbits_from_bytes", "NtopUtils.bytesToSize"}, metrics_labels = {i18n("graphs.traffic_sent"), i18n("graphs.lower_bound"), i18n("graphs.upper_bound")}},
|
||||
{schema="iface:local_hosts", label=i18n("graphs.iface_active_local_hosts"), metrics_labels = { i18n("graphs.metrics_prefixes.num_hosts") }},
|
||||
}
|
||||
|
||||
default_timeseries = table.merge(pro_timeseries, default_timeseries)
|
||||
default_timeseries = table.merge(pro_timeseries, default_timeseries)
|
||||
end
|
||||
|
||||
-- #################################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue