multiple errors on clients, new Red Hat nagios server.

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.
Locked
jlamar
Posts: 52
Joined: Mon Aug 13, 2018 12:02 pm

multiple errors on clients, new Red Hat nagios server.

Post 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
Attachments
nagios.JPG
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

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

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
jlamar
Posts: 52
Joined: Mon Aug 13, 2018 12:02 pm

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

Post 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
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

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

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
jlamar
Posts: 52
Joined: Mon Aug 13, 2018 12:02 pm

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

Post by jlamar »

Perfect, Thank you.

I have one process not working for explorer.exe.
Attachments
explorer config.JPG
explorer.JPG
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

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

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
jlamar
Posts: 52
Joined: Mon Aug 13, 2018 12:02 pm

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

Post by jlamar »

ok, Thank you.

You can close ticket.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

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

Post by npolovenko »

Closing the thread as resolved.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked