Measure network bandwidth per process

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
kaushalshriyan
Posts: 119
Joined: Fri May 22, 2015 7:12 am

Measure network bandwidth per process

Post 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
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Measure network bandwidth per process

Post 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/
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
kaushalshriyan
Posts: 119
Joined: Fri May 22, 2015 7:12 am

Re: Measure network bandwidth per process

Post by kaushalshriyan »

Thanks Polovenko
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Measure network bandwidth per process

Post by benjaminsmith »

Hi Kaushal,

Did you have any other questions or shall we close this thread?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked