Add network engage_alerts timeseries

This commit is contained in:
emanuele-f 2019-08-21 17:07:58 +02:00
parent 69cd896a9f
commit 1032af0d8f
4 changed files with 13 additions and 0 deletions

View file

@ -95,6 +95,10 @@ function ts_dump.subnet_update_rrds(when, ifstats, verbose)
packets_ingress=sstats["tcpPacketStats.ingress"]["keep_alive"],
packets_egress=sstats["tcpPacketStats.egress"]["keep_alive"],
packets_inner=sstats["tcpPacketStats.inner"]["keep_alive"]}, when)
ts_utils.append("subnet:engaged_alerts",
{ifid=ifstats.id, subnet=subnet,
alerts=sstats["engaged_alerts"]}, when)
end
end