ncpa running, port opened, but via browser is not reachable

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
realtebo
Posts: 19
Joined: Tue Nov 28, 2017 3:56 am

ncpa running, port opened, but via browser is not reachable

Post by realtebo »

I succesfully installed NCPA on a Debian 9.4.

I see

Code: Select all

# /etc/init.d/ncpa_listener status
NCPA Listener: Service is running. (pid 16681)
And

Code: Select all

# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination
ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:5693

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
But from browser, when I try to reach the api server at <ip>:5693 i got
ERR_CONNECTION_RESET
So, not a 404, or a 500. Connection is completely refused. What am I doing wrong in my config?

Also: in the ncpa.cfg file, on the remote host, I see

Code: Select all

logfile = var/log/ncpa_listener.log
but this logfile is NOT created at all so I have no idea of how to debug this problem.
realtebo
Posts: 19
Joined: Tue Nov 28, 2017 3:56 am

Re: ncpa running, port opened, but via browser is not reacha

Post by realtebo »

Resolved:

I must explicitly connect using https:

Code: Select all

https://<ip>:5693
And not to

Code: Select all

http://<ip>:5693
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: ncpa running, port opened, but via browser is not reacha

Post by benjaminsmith »

Hi @realtebo,

Thanks for the update. Is it ok to close this forum thread? Please let me know.
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!
realtebo
Posts: 19
Joined: Tue Nov 28, 2017 3:56 am

Re: ncpa running, port opened, but via browser is not reacha

Post by realtebo »

Yes, you can close
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: ncpa running, port opened, but via browser is not reacha

Post by benjaminsmith »

Yes, you can close.
Closing. Thank you for using the Nagios Support Forum.
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!
Locked