Upgraded NCPA to 181 and getting this error on centos ^.x

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
ashleydrees
Posts: 27
Joined: Tue Apr 12, 2011 3:37 am

Upgraded NCPA to 181 and getting this error on centos ^.x

Post by ashleydrees »

I upgraded the NCPA on my Centos 6x box, and now the listener will not run.

error from the log is:-

2015-07-14 19:03:58,563 991 INFO started
2015-07-14 19:03:58,564 991 ERROR No option u'ssl_version' in section: 'listener'
Traceback (most recent call last):
File "ncpa_posix_listener.py", line 37, in run
File "/usr/local/lib/python2.7/ConfigParser.py", line 618, in get
NoOptionError: No option u'ssl_version' in section: 'listener'
2015-07-14 19:03:58,565 991 INFO stopped
2015-07-14 19:08:03,721 1463 INFO started
2015-07-14 19:08:03,722 1463 ERROR No option u'ssl_version' in section: 'listener'
Traceback (most recent call last):
File "ncpa_posix_listener.py", line 37, in run
File "/usr/local/lib/python2.7/ConfigParser.py", line 618, in get
NoOptionError: No option u'ssl_version' in section: 'listener'
2015-07-14 19:08:03,723 1463 INFO stopped

Am planning to downgrade to 1.7x if i can find where i put it... or find it online.

I cannot find much about this error.
ashleydrees
Posts: 27
Joined: Tue Apr 12, 2011 3:37 am

Re: Upgraded NCPA to 181 and getting this error on centos ^.

Post by ashleydrees »

back on 1.7.2 and it works again...
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Upgraded NCPA to 181 and getting this error on centos ^.

Post by tgriep »

The error looks like the following line is missing from the ncpa.cfg file.

Code: Select all

ssl_version = TLSv1
Can you verify that the line is set in the config file?
Be sure to check out our Knowledgebase for helpful articles and solutions!
ashleydrees
Posts: 27
Joined: Tue Apr 12, 2011 3:37 am

Re: Upgraded NCPA to 181 and getting this error on centos ^.

Post by ashleydrees »

I will - re-install the 1.8.1 and check - be right back.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Upgraded NCPA to 181 and getting this error on centos ^.

Post by tgriep »

No problem, waiting for your findings.
Be sure to check out our Knowledgebase for helpful articles and solutions!
ashleydrees
Posts: 27
Joined: Tue Apr 12, 2011 3:37 am

Re: Upgraded NCPA to 181 and getting this error on centos ^.

Post by ashleydrees »

Thanks.

Was that, did not carry over all the settings from the new file - 181 adds

# Available versions: PROTOCOL SSLv2, SSLv3, TLSv1
ssl_version = TLSv1

I just copied the old file without a diff and migrate.

Solved.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Upgraded NCPA to 181 and getting this error on centos ^.

Post by tmcdonald »

Are we all set to close this up?
Former Nagios employee
ashleydrees
Posts: 27
Joined: Tue Apr 12, 2011 3:37 am

Re: Upgraded NCPA to 181 and getting this error on centos ^.

Post by ashleydrees »

Sorry, yes... good to close.
Locked