Hi Team,
NCPA services are running, but we are getting unknown alerts (UNKNOWN: An error occured connecting to API. (Connection error: '[Errno 111] Connection refused')), attached logs for your references.
Nagios Version - 5.8.3
SUSE Version - Linux SuSE 15.1
NCPA Agent not working on SUSE server
NCPA Agent not working on SUSE server
You do not have the required permissions to view the files attached to this post.
Re: NCPA Agent not working on SUSE server
Hello @hiremama
Thanks for reaching out and providing the logs. In review, we see that it has been working up to '2021-09-22 08:22:15,875 15582 INFO stopped' where we see python related "line" errors.
Do you know what was changed, added, and/or updated on this Suse server on '2021-09-22 08:22:15,875 15582 INFO stopped'?
Please review and provide system logs that are related.
Thanks,
Perry
Thanks for reaching out and providing the logs. In review, we see that it has been working up to '2021-09-22 08:22:15,875 15582 INFO stopped' where we see python related "line" errors.
Do you know what was changed, added, and/or updated on this Suse server on '2021-09-22 08:22:15,875 15582 INFO stopped'?
Please review and provide system logs that are related.
Thanks,
Perry
Re: NCPA Agent not working on SUSE server
Hello Team,
As checked, there are no changes has been done in the server, Please help here.
Regards,
Mallikarjun S
As checked, there are no changes has been done in the server, Please help here.
Regards,
Mallikarjun S
Re: NCPA Agent not working on SUSE server
Hello @hiremama
Thanks for following up, typically when we see this error the ncpa service is not able to listen as it is unable to connect to the network.
And
In the config we want to specify the following:
Please send the '/tmp/ncpa.txt' so we can review the configuration and info.
Thanks,
Perry
Thanks for following up, typically when we see this error the ncpa service is not able to listen as it is unable to connect to the network.
Code: Select all
cat /usr/local/ncpa/etc/ncpa.cfg > /tmp/ncpa.txtCode: Select all
sudo ss -tulpn | grep -Ei 'LISTEN|ESTABLISHED' >> /tmp/ncpa.txtRestart the 'ncpa_listener' and view the status:# IP address and port number for the Listener to use for the web GUI and API
#
# :: allows for dual stack (IPv4 and IPv6 on most linux systems) but will only allow
# for IPv6 connections on Windows
# 0.0.0.0 allows for IPv4 connections only on Windows and most linux systems
#
# Default: ip = ::
# Default (Windows): ip = 0.0.0.0
# Default: port = 5693
#
ip = ::,0.0.0.0
Code: Select all
systemctl restart ncpa_listenerCode: Select all
systemctl status ncpa_listenerThanks,
Perry