Page 1 of 1

multiple errors on clients, new Red Hat nagios server.

Posted: Mon Oct 15, 2018 3:45 pm
by jlamar
New Server setup, Installing NSclient 0.5.2.3564 on clients. getting NSClient - ERROR: No performance data from command: check_"all services", and Unknown command(s): check_service

Re: multiple errors on clients, new Red Hat nagios server.

Posted: Mon Oct 15, 2018 4:00 pm
by tgriep
Can you post your nsclient.ini file from this folder on the Windows system?

Code: Select all

C:\Program Files\NSClient++
There are probably some missing setting that have to be added to the file so we need to see it.

Thanks

Re: multiple errors on clients, new Red Hat nagios server.

Posted: Tue Oct 16, 2018 10:53 am
by jlamar
# If you want to fill this file with all avalible 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


; Undocumented section
[/settings/default]

; Undocumented key
password = nagiospass

; Undocumented key
allowed hosts = 127.0.0.1,10.1.1.221


; Undocumented section
[/modules]

; Undocumented key
CheckExternalScripts = disabled

; Undocumented key
CheckHelpers = disabled

; Undocumented key
CheckEventLog = disabled

; Undocumented key
CheckNSCP = disabled

; Undocumented key
CheckDisk = disabled

; Undocumented key
CheckSystem = disabled

; Undocumented key
NSClientServer = enabled

; Undocumented key
NRPEServer = enabled

; Undocumented key
NSCAClient = 1


; Undocumented section
[/settings/NRPE/server]

; Undocumented key
verify mode = none

; Undocumented key
insecure = true

Re: multiple errors on clients, new Red Hat nagios server.

Posted: Tue Oct 16, 2018 1:54 pm
by tgriep
Edit the nsclient.ini file and add the following to the bottom.

Code: Select all

[/settings/NSClient/server]
performance data = 1
port = 12489
Then edit these options. Change them from

Code: Select all

CheckHelpers = disabled
CheckDisk = disabled
CheckSystem = disabled
to

Code: Select all

CheckHelpers = enabled
CheckDisk = enabled
CheckSystem = enabled
Save the file and restart NSClient++ on the Windows system and see if the errors are resolved on the Nagios server.

Re: multiple errors on clients, new Red Hat nagios server.

Posted: Wed Oct 17, 2018 11:14 am
by jlamar
Perfect, Thank you.

I have one process not working for explorer.exe.

Re: multiple errors on clients, new Red Hat nagios server.

Posted: Wed Oct 17, 2018 1:28 pm
by tgriep
Unless someone is logged in to the Windows system's console or with RDP, explorer.exe will not be running and the output is correct.

Re: multiple errors on clients, new Red Hat nagios server.

Posted: Wed Oct 17, 2018 3:58 pm
by jlamar
ok, Thank you.

You can close ticket.

Re: multiple errors on clients, new Red Hat nagios server.

Posted: Wed Oct 17, 2018 4:06 pm
by npolovenko
Closing the thread as resolved.