Failed to execute check_explorer: 2: The system cannot find
Posted: Sun Oct 01, 2017 5:56 pm
Nagios Core 4.1
Windows 2012 R2 Server
Using NRPE checks
Failed to execute check_explorer: 2: The system cannot find the file specified.
from console
This one fails
root@tgcs017:/usr/local/nagios/etc/objects# /usr/lib/nagios/plugins/check_nrpe -t 50 -H TGCS009-2012R2 -c check_explorer -a explorer.exe
Failed to execute check_explorer: 2: The system cannot find the file specified.|
This one works
root@tgcs017:/usr/local/nagios/etc/objects# /usr/lib/nagios/plugins/check_nrpe -t 50 -H TGCS001-2012R2 -c check_explorer -a explorer.exe
PROCESS OK - 53 process(es)|'processes'=53
They both have the same nsclient.ini file
They both are VM's recently built
I have 20 other servers on Windows 2012 R2 and Windows 2008 they all work fine
[codedefine service{
use generic-service
host_name TGCS009-2012R2
service_description Explorer
servicegroups explorer
check_command check_nrpe!check_explorer! -a explorer.exe
check_period backup_WIN12P
notification_period backup_WIN12P
}
][/code]
My commands.cfg entry
I checked task manager on the server and explorer.exe is running
Any ideas on why on this Windows 2012 R2 only?
Thanks Tom
Windows 2012 R2 Server
Using NRPE checks
Failed to execute check_explorer: 2: The system cannot find the file specified.
from console
This one fails
root@tgcs017:/usr/local/nagios/etc/objects# /usr/lib/nagios/plugins/check_nrpe -t 50 -H TGCS009-2012R2 -c check_explorer -a explorer.exe
Failed to execute check_explorer: 2: The system cannot find the file specified.|
This one works
root@tgcs017:/usr/local/nagios/etc/objects# /usr/lib/nagios/plugins/check_nrpe -t 50 -H TGCS001-2012R2 -c check_explorer -a explorer.exe
PROCESS OK - 53 process(es)|'processes'=53
They both have the same nsclient.ini file
They both are VM's recently built
I have 20 other servers on Windows 2012 R2 and Windows 2008 they all work fine
[codedefine service{
use generic-service
host_name TGCS009-2012R2
service_description Explorer
servicegroups explorer
check_command check_nrpe!check_explorer! -a explorer.exe
check_period backup_WIN12P
notification_period backup_WIN12P
}
][/code]
My commands.cfg entry
Code: Select all
define command{
command_name check_explorer
command_line $USER1$/check_procs -c 1:30 -C explorer
}
Any ideas on why on this Windows 2012 R2 only?
Thanks Tom