Page 1 of 1

Check_nt process returns service not running in GUI

Posted: Fri Apr 24, 2015 3:23 am
by xerez
Hi, I am trying monitoring a process (explorer.exe) from a computer, but in the Nagios GUI the field "Status Information" shows "Explorer.exe: not running".

However I when execute this command:

Code: Select all

/usr/local/nagios/libexec/check_nt -H <IP> -p 12489 -s <password> -v PROCSTATE -d SHOWALL -l explorer.exe
It returns:

Code: Select all

explorer.exe: Running
I know that this proccess is running. Any solution?

Thanks!

Re: Check_nt process returns service not running in GUI

Posted: Fri Apr 24, 2015 10:42 am
by jolson
in the Nagios GUI the field "Status Information" shows "Explorer.exe: not running".
I am interested to know if the status is 'OK' or 'Critical'.

Can you post the appropriate portions of your commands.cfg and your host config file?

What happens if your run the following command as the user 'nagios'?

Code: Select all

su - nagios

Code: Select all

/usr/local/nagios/libexec/check_nt -H <IP> -p 12489 -s <password> -v PROCSTATE -d SHOWALL -l explorer.exe

Re: Check_nt process returns service not running in GUI

Posted: Wed Apr 29, 2015 5:06 am
by xerez
Finally I got to fix it. In windows.cfg I changed "Explorer.exe" for "explorer.exe" and it worked.

Thanks for your reply.

Re: Check_nt process returns service not running in GUI

Posted: Wed Apr 29, 2015 9:37 am
by jolson
No problem - thanks for reporting back with your fix! I'll lock this thread - feel free to open a new one if you have further questions or issues.