Page 1 of 1

to monitor process consuming memory, cpu load or network

Posted: Mon Feb 06, 2017 1:44 pm
by kaushalshriyan
Hi,

Is there a way to monitor which process running on the remote linux server consumed memory or cpu load or high network traffic/bandwidth?

Regards,

Kaushal

Re: to monitor process consuming memory, cpu load or network

Posted: Mon Feb 06, 2017 4:34 pm
by rkennedy
Not by default, but you could do so with a couple plugins. The first one would be using NRPE or check_by_ssh to execute commands locally to get information. Once you have your thresholds defined, you can use this for reference to build a script which logs the top 10 CPU or memory related resources. https://support.nagios.com/forum/viewto ... 30#p167539

Another option, is you could also setup an agent such as NCPA, which would allow you to view the top procs on an agent level. By default, this data isn't sent to Nagios. Take a look here for more information - https://www.nagios.org/ncpa/

Re: to monitor process consuming memory, cpu load or network

Posted: Wed Mar 01, 2017 2:22 pm
by tmcdonald
Just checking in since we have not heard from you in a while. Did @rkennedy's post clear things up or has the issue otherwise been resolved?