mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-28 23:19:33 +00:00
177 lines
4 KiB
JSON
177 lines
4 KiB
JSON
{
|
|
"name" : "Default Pro Dashboard",
|
|
"readonly" : true,
|
|
"components" : [
|
|
{
|
|
"component" : "badge",
|
|
"id" : "critical_alert_count",
|
|
"i18n_name" : "",
|
|
"color" : "danger",
|
|
"inactive_color" : "secondary",
|
|
"width" : 4,
|
|
"height" : 2,
|
|
"params" : {
|
|
"url" : "/lua/rest/v2/get/interface/data.lua",
|
|
"url_params" : {
|
|
"type" : "summary"
|
|
},
|
|
"icon" : "fas fa-exclamation-triangle",
|
|
"i18n_name" : "show_alerts.engaged_alerts",
|
|
"link" : {
|
|
"url" : "/lua/alert_stats.lua",
|
|
"url_params" : {
|
|
"status" : "engaged"
|
|
}
|
|
},
|
|
"counter_path" : "engaged_alerts",
|
|
"counter_formatter" : "number"
|
|
}
|
|
},
|
|
{
|
|
"component" : "badge",
|
|
"id" : "active_host_count",
|
|
"i18n_name" : "",
|
|
"color" : "success",
|
|
"inactive_color" : "secondary",
|
|
"width" : 4,
|
|
"height" : 2,
|
|
"params" : {
|
|
"url" : "/lua/rest/v2/get/interface/data.lua",
|
|
"url_params" : {
|
|
"type" : "summary"
|
|
},
|
|
"icon" : "fas fa-laptop",
|
|
"i18n_name" : "graphs.active_local_hosts",
|
|
"link" : {
|
|
"url" : "/lua/hosts_stats.lua",
|
|
"url_params" : {
|
|
"mode" : "local"
|
|
}
|
|
},
|
|
"counter_path" : "num_local_hosts",
|
|
"counter_formatter" : "number"
|
|
}
|
|
},
|
|
{
|
|
"component" : "badge",
|
|
"id" : "active_flow_count",
|
|
"i18n_name" : "",
|
|
"color" : "info",
|
|
"inactive_color" : "secondary",
|
|
"width" : 4,
|
|
"height" : 2,
|
|
"params" : {
|
|
"url" : "/lua/rest/v2/get/interface/data.lua",
|
|
"url_params" : {
|
|
"type" : "summary"
|
|
},
|
|
"icon" : "fas fa-stream",
|
|
"i18n_name" : "live_flows",
|
|
"link" : {
|
|
"url" : "/lua/flows_stats.lua",
|
|
"url_params" : {}
|
|
},
|
|
"counter_path" : "num_flows",
|
|
"counter_formatter" : "number"
|
|
}
|
|
},
|
|
{
|
|
"component" : "timeseries",
|
|
"id" : "single_traffic_chart",
|
|
"i18n_name" : "interface_traffic",
|
|
"width" : 12,
|
|
"height" : 6,
|
|
"params" : {
|
|
"url" : "/lua/pro/rest/v2/get/timeseries/ts_multi.lua",
|
|
"url_params" : { },
|
|
"post_params" : {
|
|
"limit" : 180,
|
|
"version" : 4,
|
|
"ts_requests": {
|
|
"$IFID$" : {
|
|
"ts_query" : "ifid:$IFID$",
|
|
"ts_schema" : "iface:traffic_rxtx",
|
|
"tskey" : "$IFID$"
|
|
}
|
|
}
|
|
},
|
|
"source_type" : "interface"
|
|
}
|
|
},
|
|
{
|
|
"component" : "pie",
|
|
"id" : "top_l7_proto",
|
|
"i18n_name" : "top_l7_proto",
|
|
"width" : 6,
|
|
"height" : 4,
|
|
"params" : {
|
|
"url" : "/lua/rest/v2/get/interface/l7/stats.lua",
|
|
"url_params" : {
|
|
"breed" : "true",
|
|
"ndpistats_mode" : "count"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"component" : "pie",
|
|
"id" : "traffic_classification",
|
|
"i18n_name" : "classification",
|
|
"width" : 6,
|
|
"height" : 4,
|
|
"params" : {
|
|
"url" : "/lua/rest/v2/get/interface/l7/stats.lua",
|
|
"url_params" : {
|
|
"breed" : "true",
|
|
"ndpistats_mode" : "sinceStartup"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"component" : "sankey",
|
|
"id" : "top_flow_talkers",
|
|
"i18n_name" : "index_page.top_flow_talkers",
|
|
"width" : 12,
|
|
"height" : 4,
|
|
"params" : {
|
|
"url" : "/lua/rest/v2/get/flow/graph.lua",
|
|
"url_params" : {
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"component" : "table",
|
|
"id" : "top_local_talkers",
|
|
"i18n_name" : "report.top_local_hosts",
|
|
"width" : 6,
|
|
"height" : 4,
|
|
"time_window" : "",
|
|
"time_offset" : "",
|
|
"params" : {
|
|
"url" : "/lua/pro/rest/v2/get/interface/top/local/talkers.lua",
|
|
"url_params" : {},
|
|
"table_type" : "throughput",
|
|
"columns" : [
|
|
{ "id" : "name", "i18n_name" : "host_details.host" },
|
|
{ "id" : "throughput", "i18n_name" : "dashboard.actual_traffic", "style" : "text-align: right" }
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"component" : "table",
|
|
"id" : "top_remote_destinations",
|
|
"i18n_name" : "report.top_remote_hosts",
|
|
"width" : 6,
|
|
"height" : 4,
|
|
"params" : {
|
|
"url" : "/lua/pro/rest/v2/get/interface/top/remote/talkers.lua",
|
|
"url_params" : {},
|
|
"table_type" : "throughput",
|
|
"columns" : [
|
|
{ "id" : "name", "i18n_name" : "host_details.host" },
|
|
{ "id" : "throughput", "i18n_name" : "dashboard.actual_traffic", "style" : "text-align: right" }
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
|