NCPA Agent Process on Solaris keeps stopping

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
omkarkaravade
Posts: 9
Joined: Mon Jul 10, 2023 12:32 am

NCPA Agent Process on Solaris keeps stopping

Post by omkarkaravade »

Dear Experts,

We have recently started exploring Nagios and we were trying to install NCPA agents on some of our solaris servers. The installation went fine and we are also able to monitor required services in Nagios XI. However, we have noticed that after some time Nagios XI looses connection with the agent and we get below error in the XI.

UNKNOWN: An error occured connecting to API. (Connection error: '[Errno 111] Connection refused')

On further investigation we observed that the ncpa_listener process disappears after some time, even if the service status says online. If we stop and start the service again, the process appears again and connection restores. However, the process keeps disappearing after some interval.

We tried to check the logs but couldn't find anything useful. May be we are missing something. Can you please help us. We are facing same issue on 2 servers. We have also installed NCPA on one of our RHEL box and we are not noticing this issue on RHEL.

We are on Solaris 11.4. NCPA version is 2.4.0

https://user-images.githubusercontent.c ... f20d2b.png

https://user-images.githubusercontent.c ... 94f147.png
deby23456
Posts: 21
Joined: Tue Apr 11, 2023 1:44 pm

Re: NCPA Agent Process on Solaris keeps stopping

Post by deby23456 »

Any difference between networking between the RHEL and the 2 Solaris servers to XI? Error indicates a possible network issue or system utilization issue where the NCPA agent being installed. I'd try adjusting the logging configuration in the ncpa.cfg to get more information.
omkarkaravade
Posts: 9
Joined: Mon Jul 10, 2023 12:32 am

Re: NCPA Agent Process on Solaris keeps stopping

Post by omkarkaravade »

@deby23456,

Thank you for your feedback. There is no difference as such. Also the connection remains stable for few hours actually. Then suddenly the ncpa_listener process exits but the service remains in online state. If we stop and start the service again connection establishes again and remains active for few hours.

I will check the logging configuration to check if I could find anything and update this thread.
omkarkaravade
Posts: 9
Joined: Mon Jul 10, 2023 12:32 am

Re: NCPA Agent Process on Solaris keeps stopping

Post by omkarkaravade »

Hi the process went down again today morning. Service status is online. I had configured logging level to debug. However, there are no entries in the log file after yesterday. Can someone advise what needs to be checked now.
deby23456
Posts: 21
Joined: Tue Apr 11, 2023 1:44 pm

Re: NCPA Agent Process on Solaris keeps stopping

Post by deby23456 »

I think a good test would to try another version of NCPA. Solaris has a 2.3.1. version.

https://www.nagios.org/ncpa/archive.php
aniekan
Posts: 1
Joined: Fri Sep 08, 2023 9:53 am

Re: NCPA Agent Process on Solaris keeps stopping

Post by aniekan »

Hi, does anyone know the fix for this issue as I am currently having the same issue?
mayomayo72218
Posts: 1
Joined: Tue Sep 12, 2023 11:12 pm

Re: NCPA Agent Process on Solaris keeps stopping

Post by mayomayo72218 »

deby23456 wrote: Wed Jul 12, 2023 10:52 am I think a good test would to try another version of NCPA. Solaris has a 2.3.1. version.

https://www.nagios.org/ncpa/archive.php
I want to participate in this experiment!
Vampire Survivors
Post Reply