Hi ,
What check can be used to monitor the CPU and Memory of a process on a windows server .
I would appreciate if we could use check_nrpe .
CPU and memory monitoring of process
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: CPU and memory monitoring of process
Hi,
The Check Library on our knowledgebase is a good resource for example commands with NSClient and check_nrpe.
Memory Checks
Load Checks
Try running those directly from the command line to test them out, and then add them to your configurations in Nagios XI using the Core Config Manger or let me know if you need any assistance.
Reference
Nagios XI - How To Test Check Commands From The Command-line
The Check Library on our knowledgebase is a good resource for example commands with NSClient and check_nrpe.
Memory Checks
Code: Select all
./check_nrpe -H 10.25.14.10 -c check_memory -a 'warn=free<20%' 'crit=free<10%'
Code: Select all
./check_nrpe -H 10.25.14.10 -c check_cpu -a 'warn=load>80' 'crit=load>90' show-all
Reference
Nagios XI - How To Test Check Commands From The Command-line
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: CPU and memory monitoring of process
Hi ,
I wanted to check the cpu and memory consumed by a process/windows service in a windows server .
I wanted to check the cpu and memory consumed by a process/windows service in a windows server .
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: CPU and memory monitoring of process
Hi Deek,
Looking over the documentation for NSClient, I do not see a filter parameter for that metric.
NCPA does have a filter parameter for the memory used by the process, so for example it's possible to create a check on number of the process by an application going over a specific CPU value. For example:
--Benjamin
Looking over the documentation for NSClient, I do not see a filter parameter for that metric.
NCPA does have a filter parameter for the memory used by the process, so for example it's possible to create a check on number of the process by an application going over a specific CPU value. For example:
Code: Select all
./check_ncpa.py -H 192.168.x.x -t '<your token>' -M 'processes' -w 5 -c 10 -q 'name=chrome.exe,mem_percent=50''
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!