Check_nt and hidden 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
timon
Posts: 1
Joined: Mon Jun 20, 2016 6:33 am

Check_nt and hidden process

Post by timon »

Hello!

I try to get memory working set for some process, but get error below:

Code: Select all

/usr/lib/nagios/plugins/check_nt -H 10.251.36.83 -p 5666 -s asdf4321 -v COUNTER -l "\\Process(some_process)\\Working Set","WS: %.f" 
NSClient - ERROR: Invalid return from command: check_pdh
I'm sure that I use right process name. Also I can find this process with Process Monitor on local machine.

Are there any ways of monitoring hidden processes?

Thank you in advance!
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Check_nt and hidden process

Post by rkennedy »

Can you show us a screenshot of an actual performance counter existing for this process? Not all processes will have counters to monitor.

This document should help you out - https://support.nagios.com/kb/article.p ... ategory=19

Are you just trying to monitor if a process is running?
Former Nagios Employee
Locked