Reporting Explorer is not running, when it is.
Reporting Explorer is not running, when it is.
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?
Everything else appears to be reporting properly (CPU, Memory, Up time, Storage).
Any ideas why this is happening?
-
- 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.
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
Please share the service description, the command definition
and results of running the command from the command line on the Nagios Server
Re: Reporting Explorer is not running, when it is.
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
}
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
}
-
- 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.
these too please
Thanks
by command definition I mean for check_ntscottwilkerson wrote:the command definition
and results of running the command from the command line on the Nagios Server
Thanks
Re: Reporting Explorer is not running, when it is.
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.
-
- 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.
I mean how it is defined in the nagios configuration files. Maybe you have one named commands.cfg?
Re: Reporting Explorer is not running, when it is.
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$
}
define command{
command_name check_nt
command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -v $ARG1$ $ARG2$
}
-
- 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.
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
Re: Reporting Explorer is not running, when it is.
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.
Explorer.exe: not running
I RDP'ed into the server to ensure it was running and it is.
-
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Reporting Explorer is not running, when it is.
@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.