Skip to content

Commit

Permalink
Add Local vs Remote traffic report
Browse files Browse the repository at this point in the history
  • Loading branch information
cardigliano committed Feb 24, 2025
1 parent fe18eff commit edb326e
Showing 1 changed file with 101 additions and 0 deletions.
101 changes: 101 additions & 0 deletions scripts/templates/report/local_remote.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
{
"name" : "Local vs Remote",
"readonly" : true,
"filters" : [
{
"name" : "probe_ip",
"nested" : [
{
"name" : "output_snmp"
},
{
"name" : "input_snmp"
}
]
},
{
"name" : "network"
},
{
"name" : "l4proto"
},
{
"name" : "l7cat"
},
{
"name" : "l7proto"
}
],
"components" : [
{
"component" : "timeseries",
"id" : "traffic_chart",
"i18n_name" : "interface_traffic",
"width" : 12,
"height" : 4,
"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" : "timeseries",
"id" : "local_to_remote",
"i18n_name" : "graphs.local2remote",
"width" : 12,
"height" : 4,
"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:local2remote",
"tskey": "$IFID$"
}
}
},
"source_type" : "interface"
}
},
{
"component" : "timeseries",
"id" : "remote_to_local",
"i18n_name" : "graphs.remote2local",
"width" : 12,
"height" : 4,
"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:remote2local",
"tskey": "$IFID$"
}
}
},
"source_type" : "interface"
}
}
]
}

0 comments on commit edb326e

Please sign in to comment.