to monitor process consuming memory, cpu load or network

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

to monitor process consuming memory, cpu load or network

Post 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
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

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

Post 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/
Former Nagios Employee
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

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

Post 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?
Former Nagios employee
Locked