Support Python Versions
-
dbcummings
- Posts: 130
- Joined: Thu Dec 13, 2018 8:37 am
Support Python Versions
What versions of Python are supported or "best" for the Nagios XI installation?
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Support Python Versions
Hi @dcummings,
You'll need to python 2.x. The python plugins installed by Nagios XI in /usr/local/nagios/libexec as well as most of the plugins in Nagios Exchange are written in 2.x
Let us know if you have any other questions.
You'll need to python 2.x. The python plugins installed by Nagios XI in /usr/local/nagios/libexec as well as most of the plugins in Nagios Exchange are written in 2.x
Let us know if you have any other questions.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
dbcummings
- Posts: 130
- Joined: Thu Dec 13, 2018 8:37 am
Re: Support Python Versions
Our servers have 2.7.5 installed by default. If I install 2.7.9 for pip, it is deposited in an alternate directory. The fullinstall script has an error on boto3 because of this. I have installed an alternate python to install boto3 using pip. However, Nagios XI doesn't "see" boto3 after the install. Thoughts?
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Support Python Versions
I think boto3 us just getting installed in the local users path instead of the global
try the following:
try the following:
Code: Select all
sudo su
cd ~
umask 022
pip install boto3-
dbcummings
- Posts: 130
- Joined: Thu Dec 13, 2018 8:37 am
Re: Support Python Versions
That did not solve the problem.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Support Python Versions
Where is boto3 installing?
-
dbcummings
- Posts: 130
- Joined: Thu Dec 13, 2018 8:37 am
Re: Support Python Versions
/opt/rh/python27/root/usr/lib/python2.7/site-packages
I have attempted symlinks and copy the directories to /usr/lib/python2.7 and changing permissions but no dice.
I have attempted symlinks and copy the directories to /usr/lib/python2.7 and changing permissions but no dice.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Support Python Versions
Trying to do some digging here and I'd like to try one more thing
From:
https://stackoverflow.com/questions/333 ... tall-boto3
Code: Select all
sudo python -m pip install boto3https://stackoverflow.com/questions/333 ... tall-boto3
-
dbcummings
- Posts: 130
- Joined: Thu Dec 13, 2018 8:37 am
Re: Support Python Versions
Boto3 gets deployed into /usr/lib/python2.7/site-packages and I can do an import boto3 in python, but the Nagios XI config wizards are still asking for me to install boto3.