Bandwidth utilization of my applications running through my WAF with rocky linux 9 modsecurity

How do i get the bandwidth utilization of my web applications from my WAF using rocky linux 9?

based on my research, nethogs, but i currently do not have it installed, will the installation be disruptive?

Without knowing what make/model your WAF is I doubt anyone can help. Normally though this should be a question to your WAF vendor to ask them how you can get the stats. Rocky is based on RHEL so if the WAF supports RHEL then it will support Rocky. I expect they can tell you what you need to do to ingest the data.

The nethogs package is in EPEL repository, so to install that is simply:

dnf install epel-release
dnf install nethogs

after that you configure the package however it is supposed to be configured to work with your WAF. But again, nobody here can help with your WAF as this is forum for Rocky Linux. You need to ask the support team of your WAF.

I wondered, from your question, if you really wanted process-level bandwidth monitoring, or (alternatively) you might want to use SNMP (Simple Network Management Protocol) for the OVERALL bandwidth utilization, and this can be externally/centrally monitored (e.g. PRTG (Paessler Router Traffic Grapher).

1 Like