NCPA and NSClient questions

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
Eudes87
Posts: 30
Joined: Wed Oct 09, 2019 8:37 am

NCPA and NSClient questions

Post by Eudes87 »

Hello friends, how are you?
Can you please clarify a question regarding installing clients on windows 64bits machines?

1 - Do not find NCPA .exe for Windows 64 Bit on the website: https://www.nagios.org/ncpa/#downloads
- Does 32-bit NCPA work on 64bit windows?
- Is it compatible with versions 7.8 and 10 and Windows Server 08.12 and 16?

2 - Install NSClient and have doubts if it is correct to enter a password or leave it blank.
- Entering an "NSClient - ERROR: Invalid Password" error password on some services.

- Leaving an NSClient password blank on installation, I have errors below on some services:
NSClient - ERROR: No performance data from command: check_cpu
NSClient - ERROR: No performance data from command: check_memory
NSClient++ Version OK NSClient++ 0.5.2.35 2018-01-28
NSClient - ERROR: No performance data from command: check_uptime
Unknown command(s): check_service

- No NSClient installation process is required to enter a password or can it be left blank?
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: NCPA and NSClient questions

Post by benjaminsmith »

Hello,

1. You can use the 32 bit version on 64bit Windows and I'm not aware of any incompatibilities issues for the various releases of Windows and Windows Server. Here's a link to the installation instructions.

NCPA Agent Installation Instructions

2. You'll need to enter a password and the IP address of the allowed hosts. I highly recommend following the exact steps in our installation guide for NSClient. This is for Nagios XI but can be used for Core as well.

Installing The Windows Agent: NSClient++

Let us know if you have any other questions.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Eudes87
Posts: 30
Joined: Wed Oct 09, 2019 8:37 am

Re: NCPA and NSClient questions

Post by Eudes87 »

1 - Thanks for the guidance, you will test later.
2 - Yes, when installing NSClient on client machines it is necessary to enter a password. Just supplementing the information, you must also enter -s and the password in the commands.cfg file in all check_nt commands as shown below:

define command {

command_name check_nt
command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -s Passwd -v $ARG1$ $ARG2$
}
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: NCPA and NSClient questions

Post by benjaminsmith »

Hello,

From the Nagios server, try running the following check command for NSCLient. If it fails, please post the error output.

Code: Select all

./check_nt -H <remote-host-ip> -p 12489 -s 'password' -v MEMUSE -w 90 -c 95
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Eudes87
Posts: 30
Joined: Wed Oct 09, 2019 8:37 am

Re: NCPA and NSClient questions

Post by Eudes87 »

Hi Benjamin, Good morning.
I was successful in executing, successfully captured the information.
Thanks for the clarification.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NCPA and NSClient questions

Post by scottwilkerson »

Eudes87 wrote:Hi Benjamin, Good morning.
I was successful in executing, successfully captured the information.
Thanks for the clarification.
Great!

Locking thread
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked