Page 1 of 1

Measure network bandwidth per process

Posted: Wed Apr 17, 2019 9:28 am
by kaushalshriyan
Hi,

Is there a way to measure network bandwidth per process in CentOS Linux release 7.6.1810 (Core) using Nagios Monitoring tool? I was reading about nethogs (https://github.com/raboof/nethogs) but it does not have the option to run it in daemon mode so that we can take a look at historical data to figure out the process which was consuming high network bandwidth instead it is a good tool for Live monitoring.

Please suggest. Thanks in Advance.

Best Regards,

Kaushal

Re: Measure network bandwidth per process

Posted: Wed Apr 17, 2019 3:16 pm
by npolovenko
Hello, @kaushalshriyan. As far as I know, we don't have a plugin that can measure process bandwidth utilization. But if you can set up some third party software that does it, like NetHogs, and have it output the information about the process from the command line, then it would be fairly easy to integrate this with a service check in Nagios.
https://nagios-plugins.org/doc/guidelines.html

We also have a separate product that can monitor bandwidth per interface, not per process though.
https://www.nagios.com/products/nagios- ... -analyzer/

Re: Measure network bandwidth per process

Posted: Mon Apr 22, 2019 7:06 am
by kaushalshriyan
Thanks Polovenko

Re: Measure network bandwidth per process

Posted: Mon Apr 22, 2019 9:29 am
by benjaminsmith
Hi Kaushal,

Did you have any other questions or shall we close this thread?