tl;dr: Suppose I have a list of LAN clients (ip/macaddress/name); how would I best go about graphing the traffic going in/out of my OpenBSD 6.1 gateway?
In my network everything going in/out of it passes through my OpenBSD gateway through
pf. I would like to be able to graph for all LAN clients (PC's, iPads, phones etc.) the amount of traffic coming from/going to the client.
I have looked at
pfstat but that only seems to graph values for interfaces. I would like a bit more detailed view so I can make out what client does how much traffic.
I can script a little bash/python/perl so I could periodically (
cron) generate a list of clients in my network with ip/macaddress/name in a file and generate (for example)
pfstat.conf files based on that to keep my graphs up-to-date whenever new clients are added to my network etc. That shouldn't be a problem. My question is specifically on how to go from there.
pfstat seemed like a good choice but doesn't seem to support my scenario; I'm not even sure
pf supports what I am looking for, for that matter. Maybe it does but I missed it or maybe there are better tools I don't know about. I am aiming for a simple setup; I don't want to go the Nagios/Centreon/that-kinda-stuff route. I prefer a simple tool with ditto config, a cronjob and be done with it.