Nagios windows client issue
Nagios windows client issue
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:
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
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
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/
https://www.mcapra.com/
Re: Nagios windows client issue
@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!
Re: Nagios windows client issue
Yes I tried but it didn't work.
Re: Nagios windows client issue
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!
Re: Nagios windows client issue
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
And how to check those service checks . Could you please share me the steps
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios windows client issue
could you post your nsclient.ini from this server? Also, are you monitoring other windows servers fine?
Re: Nagios windows client issue
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
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
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios windows client issue
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?
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
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
Re: Nagios windows client issue
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
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 (4.85 KiB) Viewed 4535 times