NagiosEnterprises / ncpa

Nagios Cross-Platform Agent
Other
182 stars 94 forks source link

Solaris 11 - Listener is not running well #1195

Open fabiolapa723 opened 3 months ago

fabiolapa723 commented 3 months ago

Hi, We're using the NCPA agent in a Solaris 11 and we've noticed that the listener stops responding after few days. To resolve we're running the commands below:

svcadm disable svc:/site/ncpa_listener:default

svcadm enable svc:/site/ncpa_listener:default

svcadm clear svc:/site/ncpa_listener:default

Logs from site-ncpa_listener:default.log:


[ 2024 Jul 23 10:45:34 Method "start" exited with status 0. ] [ 2024 Aug 14 17:59:43 Stopping because service restarting. ] [ 2024 Aug 14 17:59:43 Executing stop method ("kill $(cat /usr/local/ncpa/var/run/ncpa_listener.pid)"). ] kill: 16926: no such process [ 2024 Aug 14 17:59:43 Method "stop" exited with status 1. ] [ 2024 Aug 14 17:59:43 Executing stop method ("kill $(cat /usr/local/ncpa/var/run/ncpa_listener.pid)"). ] kill: 16926: no such process [ 2024 Aug 14 17:59:43 Method "stop" exited with status 1. ] [ 2024 Aug 14 17:59:43 Executing stop method ("kill $(cat /usr/local/ncpa/var/run/ncpa_listener.pid)"). ] kill: 16926: no such process [ 2024 Aug 14 17:59:43 Method "stop" exited with status 1. ] [ 2024 Aug 14 18:00:34 Leaving maintenance because clear requested. ] [ 2024 Aug 14 18:00:34 Enabled. ]

Thank you!

ne-bbahn commented 3 months ago

Hello @fabiolapa723,

I assume you are using NCPA 2.3.1? It is my intention to eventually provide support for Solaris with NCPA 3, but that will almost certainly not be possible within the next few months.

fabiolapa723 commented 3 months ago

Hello @ne-bbahn We're using NCPA 2.4.0.