Good day,
check_process appears to not be able to poll the status of certain processes like csrss.exe, or mssense.exe. These processes run under the SYSTEM account as does NSClient++ and I have confirmed that all users have read access to the process.
The output of: ./check_nrpe -H $HOSTNAME$ -c check_process -a process=MsSense.exe
Is: CRITICAL: MsSense.exe=stopped|'MsSense.exe state'=0;0;0 'count'=1;0;0
Thanks in advance for any assistance.
Some Windows Processes Always Appear As Stopped
Re: Some Windows Processes Always Appear As Stopped
Hi
One solution would be to monitor using NCPA. If you are open to doing
this let me know and I can send you some docs describing how to do this.
If you want to stay with NRPE/NSClient++ please let me know what Windows OS
you are monitoring and which NSClient++ agent (32 bit or 64 bit) you have installed.
Thanks
One solution would be to monitor using NCPA. If you are open to doing
this let me know and I can send you some docs describing how to do this.
If you want to stay with NRPE/NSClient++ please let me know what Windows OS
you are monitoring and which NSClient++ agent (32 bit or 64 bit) you have installed.
Thanks
Re: Some Windows Processes Always Appear As Stopped
The preference is to stay with NSClient++/NRPE. The client is running 64-bit NSClient++ 0.5.2.35
Thank you
Thank you
Re: Some Windows Processes Always Appear As Stopped
Hi
What Windows OS are you monitoring?
Thanks
What Windows OS are you monitoring?
Thanks
Re: Some Windows Processes Always Appear As Stopped
Windows Server 2019 Standard, build 17763.2213
Re: Some Windows Processes Always Appear As Stopped
Hi
Thanks for that info - I am going to set up some test machines and investigate.
Will let you know what I find.
Thanks
Thanks for that info - I am going to set up some test machines and investigate.
Will let you know what I find.
Thanks
Re: Some Windows Processes Always Appear As Stopped
Hi,
Thanks for your patience as I am having trouble getting my environments working correctly.
In the meantime please send me a System Profile.
To send us your system profile.
1. Login to the Nagios XI GUI using a web browser.
2. Click the "Admin" > "System Profile" Menu
3. Click the "Download Profile" button
4. Save the profile.zip file and share the file in a private message and then reply to this post to bring it up in the queue.
Thanks
Thanks for your patience as I am having trouble getting my environments working correctly.
In the meantime please send me a System Profile.
To send us your system profile.
1. Login to the Nagios XI GUI using a web browser.
2. Click the "Admin" > "System Profile" Menu
3. Click the "Download Profile" button
4. Save the profile.zip file and share the file in a private message and then reply to this post to bring it up in the queue.
Thanks
Re: Some Windows Processes Always Appear As Stopped
I believe I have attached the file properly to a PM, let me know if you don't get it.
Thanks
Thanks
Re: Some Windows Processes Always Appear As Stopped
Hi,
Yes - I got the file - thank you.
I am able to duplicate your issue with csrss.exe now. I need to do some troubleshooting
and will let you know what I find out.
Thanks
Yes - I got the file - thank you.
I am able to duplicate your issue with csrss.exe now. I need to do some troubleshooting
and will let you know what I find out.
Thanks
Re: Some Windows Processes Always Appear As Stopped
Hi,
This is what I was able to find out.
Apparently it's an NSClient++ bug: https://github.com/mickem/nscp/issues/580
on the Windows machine you are trying to monitor and see what value, if any, is returned for MsSense.exe
Thanks
This is what I was able to find out.
Apparently it's an NSClient++ bug: https://github.com/mickem/nscp/issues/580
Here is what I ran in PowerShell on my system to see what the Name and Command Line for all the running processes are: As you can see there are no values for "Command Line" for:The cause of the bug appears to be that NSClient++ is checking the command line of each process to locate the process name, and since Server 2012 R2/Windows 8.1, the command line for these processes is suppressed.
- smss.exe
csrss.exe
services.exe
Code: Select all
gwmi win32_process | Select Name, Command LineThanks
You do not have the required permissions to view the files attached to this post.