Hi all,
I am looking for some help in regards to completing a Python upgrade on the instance.
We are running CentOS 6.9/10 and we want to get the Dell EMC OpenManage plug-in working, which requires 2.7.4 or above Python.
I have ran through the guides online to make an alternative install and if you run Python -V on the server you get the below:
# python -V
Python 2.7.10
But when in the Nagios plug-in you still get this:
Prerequisite Checks
Python version (2.7.5 / 3.6.3) or above is not installed.
Is there anything I need to do, to point the plug-in or Nagios to that specific instance installed on the server?
CentOS - Python 2.6 to 2.7 Upgrade
Re: CentOS - Python 2.6 to 2.7 Upgrade
Can you provide a direct link to the plugin you are attempting to use? It removes a lot of guess-work. I'll assume you're using this one:
https://exchange.nagios.org/directory/P ... re/details
Which is, according to the README:
Are you attempting to install this plugin using the provided install.sh script? If so, can you share the output of the following commands (run individually) executed from the CLI of your Nagios XI machine:
In case you weren't aware, yum uses Python for a lot of it's internals so fiddling with the Python environment provided by the Base repository should be done with care.
https://exchange.nagios.org/directory/P ... re/details
Which is, according to the README:
Code: Select all
Version: 3.0
Release Date: April 2018
Code: Select all
python --version 2>&1 | awk '{print $2}'
python_version=$(python --version 2>&1 | awk '{print $2}');IFS=. read major minor extra <<< "$python_version";echo $major;echo $minor;echo $extra;
/bin/bash -c python_version=$(python --version 2>&1 | awk '{print $2}');IFS=. read major minor extra <<< "$python_version";echo $major;echo $minor;echo $extra;
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: CentOS - Python 2.6 to 2.7 Upgrade
@michael.link, let us know once you've had a chance to gather data requested by @mcapra.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.