NCPA 2.x to 3.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
kbauma01
Posts: 54
Joined: Wed May 25, 2022 6:39 am

NCPA 2.x to 3.

Post by kbauma01 »

I just installed (upgraded) NCPA from 2.x to 3.1.4 and I am getting this error when I try to start the service. Red Hat 7.9 client. Any help is appreciated.

# /etc/init.d/ncpa restart
Restarting ncpa (via systemctl): [ OK ]

# ps -ef | grep ncpa
root 20522 20134 0 14:26 pts/0 00:00:00 grep --color=auto ncpa

# /etc/init.d/ncpa status
Traceback (most recent call last):
File "__startup__.py", line 121, in run
File "console.py", line 25, in run
File "ncpa.py", line 19, in <module>
File "gevent/__init__.py", line 72, in <module>
File "gevent/_hub_local.py", line 150, in <module>
File "gevent/_util.py", line 148, in import_c_accel
File "importlib/__init__.py", line 88, in import_module
File "src/gevent/_hub_local.py", line 1, in init gevent._gevent_c_hub_local
File "greenlet/__init__.py", line 29, in <module>
ImportError: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/local/ncpa/lib/greenlet._greenlet.cpython-313-x86_64-linux-gnu.so)
kbauma01
Posts: 54
Joined: Wed May 25, 2022 6:39 am

Re: NCPA 2.x to 3.

Post by kbauma01 »

I can run some command line checks. Run from /usr/local/nagios/libexec

./check_uptime
Uptime OK: 0 day(s) 0 hour(s) 9 minute(s) | uptime=9.000000;;;

# ./check_disk -w 20 -c 99 /
DISK OK - free space: / 3437 MB (72% inode=99%);| /=1320MB;4738;4659;0;4758
bbahn
Posts: 380
Joined: Thu Jan 12, 2023 5:42 pm

Re: NCPA 2.x to 3.

Post by bbahn »

Hello @kbauma01,

Unfortunately due to Python and OpenSSL incompatibility, NCPA has not been able to support EL7 distros since 3.1.1. You will need to either downgrade to 3.1.0 or use another tool such as NRPE.
Actively advancing awesome answers with ardent alliteration, aptly addressing all ambiguities. Amplify your acumen and avail our amicable assistance. Eagerly awaiting your astute assessments of our advice.
kbauma01
Posts: 54
Joined: Wed May 25, 2022 6:39 am

Re: NCPA 2.x to 3.

Post by kbauma01 »

Thanks, I'll download that and give that a try.
ryansmith11
Posts: 4
Joined: Sat Aug 09, 2025 1:17 am

Re: NCPA 2.x to 3.

Post by ryansmith11 »

Yeah, that error usually pops up because NCPA 3.1.4 needs a newer libstdc++ (and newer Python/OpenSSL) than what RHEL 7.9 ships with. The CXXABI_1.3.9 not found bit basically means your system’s C++ library is too old for this version.
Easiest fix: roll back to NCPA 3.1.0 — that’s the last version that works fine on EL7.
Other option (a bit more work) is to install a newer GCC/libstdc++ from Red Hat’s devtoolset and run NCPA in that environment, but honestly, if you just want it working quickly, downgrading is way faster.
ryansmith11
Posts: 4
Joined: Sat Aug 09, 2025 1:17 am

Re: NCPA 2.x to 3.

Post by ryansmith11 »

Got it, thanks for clarifying. I’ll downgrade to 3.1.0 on this RHEL 7.9 box and test again. Just to confirm — is 3.1.0 the last version that works on EL7, or is there any patch planned to make newer versions compatible?
bbahn
Posts: 380
Joined: Thu Jan 12, 2023 5:42 pm

Re: NCPA 2.x to 3.

Post by bbahn »

There are no plans to make newer versions compatible as that would make them inherently insecure as the changes that would allow NCPA to run on old OSs would render it insecure as it would repeal all the security updates along the way.
Actively advancing awesome answers with ardent alliteration, aptly addressing all ambiguities. Amplify your acumen and avail our amicable assistance. Eagerly awaiting your astute assessments of our advice.
Post Reply