ntopng icon indicating copy to clipboard operation
ntopng copied to clipboard

Add traffic profiles to Traffic Rules page

Open MarpleA opened this issue 1 year ago • 3 comments

What would you like to add or change?: I would like to see a feature which makes it easy to create an alert based on custom traffic profiles. I created a custom traffic profile for wireguard traffic. Now I'd like to get an alert whenever such a flow is being detected. It seems like there is no way to create such an alert.

Why do you and others need this?: To easily define new alerts based on nBPF Format.

MarpleA avatar Sep 20 '23 19:09 MarpleA

@NicoMaio you could implement easily this alert by adding it to the Traffic Rules page. Add new entry for the traffic profiles timeseries. image

MatteoBiscosi avatar Sep 21 '23 10:09 MatteoBiscosi

I tried that but it didn't work for me. Probably I didn't configure it right. do you mean that my custom traffic profile should show up under metrics or where do I configure it?

MarpleA avatar Sep 21 '23 16:09 MarpleA

Hi @MarpleA , @NicoMaio has to implement it, currently it's not available this feature. I suggested a way to develop it.

MatteoBiscosi avatar Sep 25 '23 10:09 MatteoBiscosi

Implemented in the PRO repo by 78f0f3ba8853b80e19528527526d1f7252dce97a

NicoMaio avatar Mar 01 '24 14:03 NicoMaio

Implemented as requested

MatteoBiscosi avatar Mar 26 '24 10:03 MatteoBiscosi