Nagios windows client issue

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.
vnoc
Posts: 54
Joined: Thu Jul 27, 2017 1:51 am

Nagios windows client issue

Post 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:
Attachments
nagios.PNG
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Nagios windows client issue

Post 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
Former Nagios employee
https://www.mcapra.com/
User avatar
lmiltchev
Former Nagios Staff
Posts: 13587
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios windows client issue

Post by lmiltchev »

@vnoc, have you tried rebuilding the system's performance counters as suggested by mcapra? Any updates?
Be sure to check out our Knowledgebase for helpful articles and solutions!
vnoc
Posts: 54
Joined: Thu Jul 27, 2017 1:51 am

Re: Nagios windows client issue

Post by vnoc »

Yes I tried but it didn't work.
User avatar
lmiltchev
Former Nagios Staff
Posts: 13587
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios windows client issue

Post by lmiltchev »

Can you show us the actual checks for the failing services, run from the command line, along with the output of them?
Be sure to check out our Knowledgebase for helpful articles and solutions!
vnoc
Posts: 54
Joined: Thu Jul 27, 2017 1:51 am

Re: Nagios windows client issue

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios windows client issue

Post by scottwilkerson »

could you post your nsclient.ini from this server? Also, are you monitoring other windows servers fine?
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
vnoc
Posts: 54
Joined: Thu Jul 27, 2017 1:51 am

Re: Nagios windows client issue

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios windows client issue

Post 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
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
vnoc
Posts: 54
Joined: Thu Jul 27, 2017 1:51 am

Re: Nagios windows client issue

Post 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
Attachments
Client.PNG
Client.PNG (4.85 KiB) Viewed 4504 times
Locked