Page 1 of 1

NCPA Agent Process on Solaris keeps stopping

Posted: Mon Jul 10, 2023 12:34 am
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

Re: NCPA Agent Process on Solaris keeps stopping

Posted: Mon Jul 10, 2023 9:43 am
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.

Re: NCPA Agent Process on Solaris keeps stopping

Posted: Tue Jul 11, 2023 12:37 am
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.

Re: NCPA Agent Process on Solaris keeps stopping

Posted: Wed Jul 12, 2023 12:59 am
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.

Re: NCPA Agent Process on Solaris keeps stopping

Posted: Wed Jul 12, 2023 10:52 am
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

Re: NCPA Agent Process on Solaris keeps stopping

Posted: Tue Sep 12, 2023 10:53 am
by aniekan
Hi, does anyone know the fix for this issue as I am currently having the same issue?

Re: NCPA Agent Process on Solaris keeps stopping

Posted: Tue Sep 12, 2023 11:14 pm
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