check_nt not monitoring a process

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
deek
Posts: 194
Joined: Fri Apr 26, 2019 2:01 am

check_nt not monitoring a process

Post by deek »

Hi

We are trying to monitor a specific process on a given server. All other processes we are able to monitor but this process is running and we are not able to monitor with check_nt. Attached the snapshot for reference. Could you help us
You do not have the required permissions to view the files attached to this post.
deek
Posts: 194
Joined: Fri Apr 26, 2019 2:01 am

Re: check_nt not monitoring a process

Post by deek »

checked with check_nrpe and still showing the process is stopped while it is actually running.
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: check_nt not monitoring a process

Post by lmiltchev »

I was going to ask you to try check_nrpe instead of check_nt, but you already did that... :D

It is possible that NSClient++ doesn't have access/permissions to the "finsrv.exe" process. Is there any restrictions about the "tmmgr" user this process is running under?

Note: NSClient++ is not developed or maintained by us (Nagios). Since this is a very specific issue to NSClient++, I would recommend that you also ask your question on the NSClient++ support forum. You may resolve the issue faster this way.

You could also try our own agent - NCPA to see if it would detect the state of the process correctly.

For example, you could try:

Code: Select all

/usr/local/nagios/libexec/check_ncpa.py -H <client ip> -t 'mytoken' -P 5693 -M 'processes' -q 'name=finsrv.exe,match=search,check=true'
Be sure to check out our Knowledgebase for helpful articles and solutions!
deek
Posts: 194
Joined: Fri Apr 26, 2019 2:01 am

Re: check_nt not monitoring a process

Post by deek »

@ lmiltchev Thanks for the support. check_ncpa also didn't work. Let me get in touch with NSClient++ support forum
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: check_nt not monitoring a process

Post by lmiltchev »

Sounds good.

By the way, do you see the "finsrv.exe" process in the output if you open a CMD prompt, and run the following command?

Code: Select all

tasklist
Be sure to check out our Knowledgebase for helpful articles and solutions!
deek
Posts: 194
Joined: Fri Apr 26, 2019 2:01 am

Re: check_nt not monitoring a process

Post by deek »

Yes it is there in the tasklist.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: check_nt not monitoring a process

Post by lmiltchev »

It's shown as "finsrv.exe", not some other name, right? If both agents, NSClient++ and NCPA don't see the process, it must be a permissions issue. Is there any restrictions about the "tmmgr" user this process is running under?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked