Page 4 of 5
Re: Windows 10 Explorer Serrvice
Posted: Sat Aug 13, 2016 11:41 am
by kwhogster
spoke too soon
Got the error again today
What is up with Windows 10 support?
Re: Windows 10 Explorer Serrvice
Posted: Mon Aug 15, 2016 10:53 am
by lmiltchev
What is the error that you are getting when you run the command below?
Code: Select all
./check_nt -H 10.2.8.69 -p 12489 -v PROCSTATE -l explorer.exe -s xxxxxxxxxxx
Do you get
Code: Select all
CRITICAL: explorer.exe: not running
or something else?
Can you verify that "explorer.exe" is indeed running? What is the output of the following command run from the CMD prompt on the Windows 10 machine?
Re: Windows 10 Explorer Serrvice
Posted: Mon Aug 15, 2016 7:58 pm
by kwhogster
Microsoft Windows [Version 10.0.10586]
(c) 2015 Microsoft Corporation. All rights reserved.
C:\WINDOWS\system32>tasklist | find "explorer.exe"
explorer.exe 5404 Console 1 84,416 K
C:\WINDOWS\system32>
It is always running just Nagios thinks it is not receiving data from client sometimes very strange that this is the only one at of all the clients I have.
Thank you
Tom
Re: Windows 10 Explorer Serrvice
Posted: Tue Aug 16, 2016 11:06 am
by rkennedy
Does it just happen intermittently or is it saying that the service isn't running completely? At this point it's starting to sound more like an NSClient++ / Windows 10 issue. Can you post your NSClient++ log file for us to look at? It might have information on why it's failing.
Re: Windows 10 Explorer Serrvice
Posted: Tue Aug 16, 2016 9:10 pm
by kwhogster
Does it just happen intermittently YES
see log file
Re: Windows 10 Explorer Serrvice
Posted: Wed Aug 17, 2016 11:29 am
by rkennedy
It sounds like a network or NSClient++ issue as the log files don't seem to indicate anything. I would adjust your max check attempts to a higher number, and this should help to reduce the false positive.
Re: Windows 10 Explorer Serrvice
Posted: Wed Aug 17, 2016 12:48 pm
by kwhogster
this is my service def for the windows 10
Code: Select all
define service{
use generic-service
host_name TGKW001
service_description NSClient++ Version
servicegroups nsclients
check_command check_nt!CLIENTVERSION
}
so add this
max_check_attempts #n
Where do I found the default value ?
Re: Windows 10 Explorer Serrvice
Posted: Wed Aug 17, 2016 1:58 pm
by rkennedy
There really isn't a 'default', but because you have the template
generic-service assigned, it's most likely inheriting it through there. Yep, you could change it to for example -
Code: Select all
define service{
use generic-service
host_name TGKW001
service_description NSClient++ Version
servicegroups nsclients
check_command check_nt!CLIENTVERSION
max_check_attempts 20
}
Re: Windows 10 Explorer Serrvice
Posted: Wed Aug 17, 2016 2:06 pm
by kwhogster
Great will make that change lets see what happens
Re: Windows 10 Explorer Serrvice
Posted: Wed Aug 17, 2016 2:29 pm
by tgriep
Another thing to try is to increase the timeout settings for the NSClient and see if that helps.
Find this section in the nsclient.ini file and increase it to 60 seconds and also change the command in Nagios and increase it to 60 seconds as well.
Code: Select all
[/settings/NSClient/server]
# TIMEOUT
timeout=60