Reporting Explorer is not running, when it is.

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.
mhedtcke
Posts: 19
Joined: Mon Jan 15, 2018 11:22 am

Re: Reporting Explorer is not running, when it is.

Post by mhedtcke »

Here is the command and output.

nagios01@nagios01:~$ /usr/local/nagios/libexec/check_nt -H 192.168.39.40 -p 12489 -v PROCSTATE -d SHOWALL -l explorer.exe
explorer.exe: not running
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Reporting Explorer is not running, when it is.

Post by npolovenko »

@mhedtcke, Can you open the Windows Task Manager on the 92.168.39.40 server and take a screenshot of the processes tab so that we can see the explorer.exe? I wonder if the process is called differently on your system, maybe like explorer64.exe?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
mhedtcke
Posts: 19
Joined: Mon Jan 15, 2018 11:22 am

Re: Reporting Explorer is not running, when it is.

Post by mhedtcke »

2018-03-14 16_40_06-dc01 - Remote Desktop Connection Manager v2.7.png
mhedtcke
Posts: 19
Joined: Mon Jan 15, 2018 11:22 am

Re: Reporting Explorer is not running, when it is.

Post by mhedtcke »

Your comment about case triggered an idea for me. "Explorer.exe" in the windows config file was uppercase and "explorer.exe" is lowercase on my server. I changed the windows.cfg file to match with it being lower case but it still alerts even with the case matching in the updated config file.
2018-03-15 13_18_55-Nagios01 on esx01.ingeteaminc.local.png
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Reporting Explorer is not running, when it is.

Post by npolovenko »

@mhedtcke, If you run it like this:
/usr/local/nagios/libexec/check_nt -H 192.168.39.40 -p 12489 -v PROCSTATE -d SHOWALL -l explorer.exe
The command doesn't play a role since we're running it manually.

Can you check to see if nrpe command will work for you?

Code: Select all

./check_nrpe -H 192.168.39.40 -c check_process -a process=explorer.exe show-all
What version of the NSClient do you have? Can you send me your nsclient.ini file via personal message so I could review it?
After you send it please post something in this thread to bring it back up in the support queue.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
mhedtcke
Posts: 19
Joined: Mon Jan 15, 2018 11:22 am

Re: Reporting Explorer is not running, when it is.

Post by mhedtcke »

I dont have the plugin for Check_nrpe so the command doesn't run. I will send you the ini file.
mhedtcke
Posts: 19
Joined: Mon Jan 15, 2018 11:22 am

Re: Reporting Explorer is not running, when it is.

Post by mhedtcke »

I am also using the latest NSClient. Just installed it the other day.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Reporting Explorer is not running, when it is.

Post by scottwilkerson »

mhedtcke wrote:I dont have the plugin for Check_nrpe so the command doesn't run. I will send you the ini file.
It is built in to NSClient++ if you enable NRPE and CheckSystem
https://docs.nsclient.org/reference/win ... eckSystem/

You do need port 5666 open and your IP in allowed_hosts in the nscp.ini
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
mhedtcke
Posts: 19
Joined: Mon Jan 15, 2018 11:22 am

Re: Reporting Explorer is not running, when it is.

Post by mhedtcke »

I checked the rest of my servers and none of them are monitoring the explorer process so I just commented out that from the config file. Thanks for try this with me.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Reporting Explorer is not running, when it is.

Post by npolovenko »

Hi, @mhedtcke. I recieved you NSCLient.ini file and made some changes to it. I sent it back to you via PM.
Please replace your nsclient.ini file, restart the nsclient service and try:

1) The original command one more time:
/usr/local/nagios/libexec/check_nt -H 192.168.39.40 -p 12489 -v PROCSTATE -d SHOWALL -l explorer.exe

2) The check_nrpe command:
./check_nrpe -H 192.168.39.40 -c check_process -a process=explorer.exe show-all
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked