CPU load for one specific service/process.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Interrex
Posts: 68
Joined: Thu May 19, 2016 8:42 am

CPU load for one specific service/process.

Post by Interrex »

Hi.

I'm tyring to find a way to get an trigger when a specific process uses more than 60 % of the total CPU in Windows.
I tried to create an overall system check of the CPU, but it gives to many false alerts.

Any tips on how I can solve this?

Can use NCPA / Nsclient or other plugin / solutions.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: CPU load for one specific service/process.

Post by benjaminsmith »

Hello @Interrex,

Take a look at the processes module included in NCPA and let me know if that's going to work for your requirements. The process module will count the number of processes running and includes several filter parameters to be able to adjust the results.

For example, you can filter on a specific process and set a check to warn if the CPU usages any of those processes running exceeds the threshold.

An example check command:

Code: Select all

./check_ncpa.py -H 192.168.5.23 -t '<your token>' -M 'processes' -c 1 -q 'name=chrome.exe,cpu_percent=60'
The NCPA process module documentation
https://www.nagios.org/ncpa/help.php#ap ... -processes
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