Page 1 of 1

NCPA on aws

Posted: Mon Mar 23, 2020 2:34 pm
by bruce_clegg
I am setting up new clients with the ncpa agent. The agent loads without error and the aws firewall is set to allow udp: 161, 162, tcp: 5693, 12489,and 5666. All ICMP is allowed.

I go through the ncpa configuration wizard and it finds the server - but all of the checks are coming back as 'warning' (No output on stdout) stderr: /bin/sh: -c: line 0: unexpected EOF while looking for matching `''

When I still had network resources, I set up a temporary test where all traffic was allowed between the nagios xi server and the agent - and things came up green. Any thoughts on what I've missed or am doing wrong?

Re: NCPA on aws

Posted: Mon Mar 23, 2020 4:31 pm
by Box293
I suspect the token you're using on the NCPA agent has a special character like ! or $

Does the token have any special characters ?

Re: NCPA on aws

Posted: Mon Mar 23, 2020 4:44 pm
by bruce_clegg
yes it does.

I just need to change it to something else? That's easy enough.

Re: NCPA on aws

Posted: Mon Mar 23, 2020 5:46 pm
by Box293
Yes change it to something without ! and I also recommend not using $.

Change it on your host and then restart the listener service. Then go into Core Configuration Manager and locate each of the services and update the password in the config.

Re: NCPA on aws

Posted: Tue Mar 24, 2020 3:43 pm
by bruce_clegg
worked a charm. Thank you!

Re: NCPA on aws

Posted: Tue Mar 24, 2020 4:42 pm
by Box293
Awesome, great.