Lenovo XClarity Integrator plugin for Nagios
Lenovo XClarity Integrator plugin for Nagios
Hi all ,
I meet some problem during using the nagios with Lenovo XClarity Integrator plugin.
I follow the link to install and setting everything.
https://sysmgt.lenovofiles.com/help/ind ... setup.html
But I got many different errors on the nagios, I have no idea how to solve it.
it's seem like the python's problems. I use Python 3.5.2 version.(Because the link suggest this version)
Please help ~
I meet some problem during using the nagios with Lenovo XClarity Integrator plugin.
I follow the link to install and setting everything.
https://sysmgt.lenovofiles.com/help/ind ... setup.html
But I got many different errors on the nagios, I have no idea how to solve it.
it's seem like the python's problems. I use Python 3.5.2 version.(Because the link suggest this version)
Please help ~
You do not have the required permissions to view the files attached to this post.
Re: Lenovo XClarity Integrator plugin for Nagios
What XI version are you running?
What OS/version are you running?
What OS/version are you running?
Code: Select all
uname -a
cat /etc/*releaseRe: Lenovo XClarity Integrator plugin for Nagios
Did you run this command to generate the creds?
SSH into the XI server, run this command as the nagios user, and send the full output:
- Change LXCA to whatever you entered in when you ran the command above
To get rid of that CryptographyDeprecationWarning you can do this:
Does your XI system have access to it?
- Change X.X.X.X to the IP of your xclarity
EDIT: Make sure you have this installed as well:
Code: Select all
/usr/local/nagios/libexec/xclarity_integrator_check.py generate_credentials- Change LXCA to whatever you entered in when you ran the command above
Code: Select all
/usr/local/nagios/libexec/xclarity_integrator_check.py --lxca LXCACode: Select all
pip3.5 install cryptography==2.2.2- Change X.X.X.X to the IP of your xclarity
Code: Select all
nmap -Pn -p 443 X.X.X.XCode: Select all
pip3.5 -y install pycryptodomeRe: Lenovo XClarity Integrator plugin for Nagios
ssax wrote:What XI version are you running?
What OS/version are you running?
Code: Select all
uname -a cat /etc/*release
Hi this my version.
You do not have the required permissions to view the files attached to this post.
Re: Lenovo XClarity Integrator plugin for Nagios
Did you run this command to generate the creds?
CODE: SELECT ALL
/usr/local/nagios/libexec/xclarity_integrator_check.py generate_credentials
Ans : Yes , and it let's me input some information
CODE: SELECT ALL
/usr/local/nagios/libexec/xclarity_integrator_check.py --lxca LXCA
Ans : When I input this command, it shows errors.
pip3.5 install cryptography==2.2.2
Ans : I had already installed this plugin.
CODE: SELECT ALL
nmap -Pn -p 443 X.X.X.X
Ans : Yes But I use pip3. As the attachment..
CODE: SELECT ALL
pip3.5 -y install pycryptodome
Ans : Yes But I use pip3...
CODE: SELECT ALL
/usr/local/nagios/libexec/xclarity_integrator_check.py generate_credentials
Ans : Yes , and it let's me input some information
CODE: SELECT ALL
/usr/local/nagios/libexec/xclarity_integrator_check.py --lxca LXCA
Ans : When I input this command, it shows errors.
pip3.5 install cryptography==2.2.2
Ans : I had already installed this plugin.
CODE: SELECT ALL
nmap -Pn -p 443 X.X.X.X
Ans : Yes But I use pip3. As the attachment..
CODE: SELECT ALL
pip3.5 -y install pycryptodome
Ans : Yes But I use pip3...
Re: Lenovo XClarity Integrator plugin for Nagios
Sorry I forgot upload the attachment
You do not have the required permissions to view the files attached to this post.
Re: Lenovo XClarity Integrator plugin for Nagios
When you did this, did you use LXCA for the LXCA name?
You'll need to use whatever you entered in the above command in this command (replacing LXCA with whatever name you entered for the LXCA name):
Please run t from the command line and send me the full output.
Code: Select all
/usr/local/nagios/libexec/xclarity_integrator_check.py generate_credentialsCode: Select all
/usr/local/nagios/libexec/xclarity_integrator_check.py --lxca LXCARe: Lenovo XClarity Integrator plugin for Nagios
Hi Sir ,
Now when I run this command , it's show error.
/usr/local/nagios/libexec/xclarity_integrator_check.py generate_credentials
Now when I run this command , it's show error.
/usr/local/nagios/libexec/xclarity_integrator_check.py generate_credentials
You do not have the required permissions to view the files attached to this post.
Re: Lenovo XClarity Integrator plugin for Nagios
Please run these commands:
Then try it again.
Code: Select all
pip3.5 install --upgrade pip==20.3.4
pip3.5 install keyring keyrings.cryptfile requests pbkdf2 pycrypto
# These next ones are to resolve an issue of installation order with pycrypto/pycryptodome
# https://github.com/pycrypto/pycrypto/issues/297#issuecomment-601698577
pip3.5 uninstall -y pycryptodome
pip3.5 install pycryptodome