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

Reporting Explorer is not running, when it is.

Post by mhedtcke »

Hi there. I am pretty new to Nagios. I have a server running the latest version of NSClient. It is reporting incorrectly that explorer isnt running. I am remoted into the server looking at the process manager with explorer running.

Everything else appears to be reporting properly (CPU, Memory, Up time, Storage).

Any ideas why this is happening?
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 »

What is the command that you are having nagios execute?

Please share the service description, the command definition

and results of running the command from the command line on the Nagios Server
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 »

Here is all of the references of DC01

define service{
use generic-service,nagiosgraph
host_name dc01
service_description NSClient++ Version
check_command check_nt!CLIENTVERSION
}

define service{
use generic-service,nagiosgraph
host_name dc01
service_description CPU Load
check_command check_nt!CPULOAD!-l 5,80,90
}

define service{
use generic-service,nagiosgraph
host_name dc01
service_description Memory Usage
check_command check_nt!MEMUSE!-w 80 -c 90
}

define service{
use generic-service,nagiosgraph
host_name dc01
service_description C:\ Drive Space
check_command check_nt!USEDDISKSPACE!-l c -w 80 -c 90
}

define service{
use generic-service,nagiosgraph
host_name dc01
service_description W3SVC
check_command check_nt!SERVICESTATE!-d SHOWALL -l W3SVC
}

define service{
use generic-service,nagiosgraph
host_name dc01
service_description W3SVC
check_command check_nt!SERVICESTATE!-d SHOWALL -l W3SVC
}

define service{
use generic-service,nagiosgraph
host_name dc01
service_description Explorer
check_command check_nt!PROCSTATE!-d SHOWALL -l Explorer.exe
}
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 »

these too please
scottwilkerson wrote:the command definition

and results of running the command from the command line on the Nagios Server
by command definition I mean for check_nt

Thanks
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'm sorry. I'm not sure what you mean by that. I see the check_nt plugin on the server but I'm not sure how to see it's config.
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 »

I mean how it is defined in the nagios configuration files. Maybe you have one named commands.cfg?
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 »

Got it. Thanks, here you go. Thanks for being patient with me.

define command{
command_name check_nt
command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -v $ARG1$ $ARG2$
}
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 »

Can you run the following from the command line on the nagios server replacing IP_ADDRESS with the IP of dc01 and change the path of the plugin if your plugins are in a different directory, and then return the output

Code: Select all

/usr/local/nagios/libexec/check_nt -H IP_ADDRESS -p 12489 -v PROCSTATE -d SHOWALL -l Explorer.exe
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 »

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

I RDP'ed into the server to ensure it was running and it is.
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, It's case sensetive, try with -l explorer.exe.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked