Page 1 of 2

Nagios windows client issue

Posted: Sat Sep 16, 2017 10:13 am
by vnoc
Hi Team,

I have installed latest NSClient++ on a windows 2008 r2 machines but i am getting issue while i am trying to poll the monitors for every monitor. Kindly help me in fixing this. I am trying this from last 4 days which didn't work.Please help me in fixing this.

NSClient - ERROR: No performance data from command:

Re: Nagios windows client issue

Posted: Mon Sep 18, 2017 8:23 am
by mcapra
Which version of NSClient++ are you using?

Have you tried rebuilding the system's performance counters? Per this Microsoft documentation:
https://support.microsoft.com/en-us/hel ... ver-2008-6

Re: Nagios windows client issue

Posted: Mon Sep 18, 2017 12:49 pm
by lmiltchev
@vnoc, have you tried rebuilding the system's performance counters as suggested by mcapra? Any updates?

Re: Nagios windows client issue

Posted: Wed Sep 20, 2017 8:46 pm
by vnoc
Yes I tried but it didn't work.

Re: Nagios windows client issue

Posted: Thu Sep 21, 2017 10:19 am
by lmiltchev
Can you show us the actual checks for the failing services, run from the command line, along with the output of them?

Re: Nagios windows client issue

Posted: Fri Sep 22, 2017 9:06 am
by vnoc
Actually after rebuild I have restarted the NSClient ++ in windows machine and restarted nagios but it didn't work. Means while restarting the nagios i am not getting error just in the UI i am getting the above share screeen.

And how to check those service checks . Could you please share me the steps

Re: Nagios windows client issue

Posted: Fri Sep 22, 2017 9:49 am
by scottwilkerson
could you post your nsclient.ini from this server? Also, are you monitoring other windows servers fine?

Re: Nagios windows client issue

Posted: Sat Sep 23, 2017 1:24 am
by vnoc
Hi Team,


Below is the nsclient file content and i am facing the same issue with all the windows servers

# If you want to fill this file with all available options run the following command:
# nscp settings --generate --add-defaults --load-all
# If you want to activate a module and bring in all its options use:
# nscp settings --activate-module <MODULE NAME> --add-defaults
# For details run: nscp settings --help


; in flight - TODO
[/settings/default]

; Undocumented key
allowed hosts = 127.0.0.1,10.80.100.18


; in flight - TODO
[/settings/NRPE/server]

; Undocumented key
ssl options = no-sslv2,no-sslv3

; Undocumented key
verify mode = peer-cert

; Undocumented key
insecure = false


; in flight - TODO
[/modules]

; Undocumented key
CheckExternalScripts = disabled

; Undocumented key
CheckHelpers = disabled

; Undocumented key
CheckNSCP = disabled

; Undocumented key
CheckDisk = disabled

; Undocumented key
CheckSystem = disabled

; Undocumented key
NSClientServer = enabled

; Undocumented key
CheckEventLog = disabled

; Undocumented key
NSCAClient = enabled

; Undocumented key
NRPEServer = enabled

Re: Nagios windows client issue

Posted: Mon Sep 25, 2017 10:51 am
by scottwilkerson
What version of NSClient are you running on these servers?

Has this ever worked in the past?

Can you share the output of the following so we can see the version of plugin you are using?

Code: Select all

/usr/local/nagios/libexec/check_nt -h
I would also like you to share the configuration file for the services on one of these servers as well as the command definitions for the command being used by these servers

Re: Nagios windows client issue

Posted: Tue Sep 26, 2017 12:04 pm
by vnoc
Below is the version which is installed NSCP-0.5.1.44-x64

I have installed in many servers but this is the 1st time i am facing this issue.

Please find the output of attached screenshot