ncpa 2.3.1-1 on RHEL7

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
cstuart
Posts: 37
Joined: Thu May 02, 2019 8:18 am

ncpa 2.3.1-1 on RHEL7

Post by cstuart »

I noticed that, for some of my hosts, ncpa checks from the XI server are timing out. The common thread for those hosts is that they're running ncpa-2.3.1-1 and the others are running 2.2.2-1.

Are there any known issues?
cstuart
Posts: 37
Joined: Thu May 02, 2019 8:18 am

Re: ncpa 2.3.1-1 on RHEL7

Post by cstuart »

The host shows as up in XI, but all of the service checks come back with " (Service check timed out after 60.01 seconds)".
cstuart
Posts: 37
Joined: Thu May 02, 2019 8:18 am

Re: ncpa 2.3.1-1 on RHEL7

Post by cstuart »

I downgraded to 2.3.0 and it still failed to respond. I downgraded, again, back to 2.2.1 and it came back.
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: ncpa 2.3.1-1 on RHEL7

Post by lmiltchev »

What are the operating systems/distros/architectures of the remote machines (clients)? What is the NCPA agent's version that you are running on them?

Code: Select all

/usr/local/nagios/libexec/check_ncpa.py -H <client ip> -t <token> -M 'system/agent_version'
What kind of checks are the failing ones? Can you show us an example of the check that is timing out?
Be sure to check out our Knowledgebase for helpful articles and solutions!
cstuart
Posts: 37
Joined: Thu May 02, 2019 8:18 am

Re: ncpa 2.3.1-1 on RHEL7

Post by cstuart »

Sorry for the delay. It's still happening on 2.3.1

All checks are doing this. CPU Usage, Disk Usage on..., Memory Usage, etc. The all come back with:

Service check timed out after 60.01 seconds

If I roll it back to 2.2.2 it works.

With either version, the host status is fine, but all of the checks/services are what timeout.
cstuart
Posts: 37
Joined: Thu May 02, 2019 8:18 am

Re: ncpa 2.3.1-1 on RHEL7

Post by cstuart »

All hosts are RHEL7. The agent that works is 2.2.2. Once upgraded to 2.3.x, host checks succeed, but all service checks on the host timeout.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: ncpa 2.3.1-1 on RHEL7

Post by ssax »

Upgrade one of the systems to NCPA 2.3.1, then edit the ncpa.cfg on the remote system and under the [listener] section change this:

Code: Select all

loglevel = info
To this:

Code: Select all

loglevel = debug
Then restart the ncpa_listener service:

Code: Select all

systemctl restart ncpa_listener
Then run this check from an SSH session on the XI server and attach the full output of the command:

Code: Select all

/usr/local/nagios/libexec/check_ncpa.py -H X.X.X.X -t 'yourtoken' -M 'system/agent_version' -D -v
Then attach your ncpa_listener.log from the remote system after it times out.
Locked