Page 2 of 3
Re: Monitoring HP Proliant ILO 4 on Nagiosxi
Posted: Tue Jul 16, 2019 9:52 am
by benjaminsmith
Hi Rahul,
Are you using a proxy server? Or perhaps there is a firewall issue as you're getting a redirect error.
Please run the following command and post the output.
Code: Select all
curl -v http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock
Thanks.
Re: Monitoring HP Proliant ILO 4 on Nagiosxi
Posted: Tue Jul 16, 2019 1:22 pm
by rdandekar
Hello Team,
Please find attach screenshot for below Command output.
curl -v
http://mirrorlist.centos.org/?release=7 ... nfra=stock
Regards,
Rahul
Re: Monitoring HP Proliant ILO 4 on Nagiosxi
Posted: Wed Jul 17, 2019 6:10 am
by rdandekar
Hello Team,
Please provide with an update.
Regards,
Rahul.
Re: Monitoring HP Proliant ILO 4 on Nagiosxi
Posted: Wed Jul 17, 2019 1:39 pm
by benjaminsmith
Hi Rahul,
I believe you have a proxy configured (see image), and in order to the install perl modules you'll need to configure CPAN for a proxy.
proxy.png
If you're using a VM, please take a snapshot before making any system changes.
To enable CPAN behind a proxy, invoke CPAN shell by running:
Next, set the proxy by running the following command:
If you're accessing the net via proxies, you can specify them in the CPAN configuration or via environment variables. The variable in the $CPAN::Config takes precedence.
Your ftp_proxy? [a.b.c.d] a.b.c.d:port
Your http_proxy? [a.b.c.d] a.b.c.d:port
Your no_proxy? [] a.b.c.d:port
If your proxy is an authenticating proxy, you can store your username permanently. If you do not want that, just press RETURN. You will then
be asked for your username in every future session.
Your proxy user id? []
Please remember to call 'o conf commit' to make the config permanent!
That will store the settings and use it for all future cpan installs for the user that runs.
Let us know if you get it resolved. You may want to consult you're systems administrator to verify your network setup.
Re: Monitoring HP Proliant ILO 4 on Nagiosxi
Posted: Fri Jul 19, 2019 2:08 am
by rdandekar
Hi Team,
Thanks for the update, we will check & let you know the result.
Regards,
Rahul
Re: Monitoring HP Proliant ILO 4 on Nagiosxi
Posted: Fri Jul 19, 2019 8:39 am
by rdandekar
Hi Team,
Thanks for the suggestion Now we are able to download packages.But now we are facing issue with below command while installing perl module
1. cpan -i Nagios::Plugin
Please find the attached screenshot for more detail & provide the solution for the same.
Regards,
Rahul
Re: Monitoring HP Proliant ILO 4 on Nagiosxi
Posted: Fri Jul 19, 2019 1:01 pm
by benjaminsmith
Hi,
My apologies, please try running the following command instead.
Code: Select all
cpan -i Nagios::Monitoring::Plugin
Re: Monitoring HP Proliant ILO 4 on Nagiosxi
Posted: Sat Jul 20, 2019 8:03 am
by rdandekar
Hello Team,
We run below suggested command and it is successfully installed.
1. cpan -i Nagios::Monitoring::Plugin
2. cpan -i IO::Socket::SSL
3. cpan -i XML::Simple
After that when we test below command on CLI, we are getting same error, Please find attached screenshot for the error.
./check_ilo2_health.pl --help
Please provide the solution for the same.
Regards,
Rahul
Re: Monitoring HP Proliant ILO 4 on Nagiosxi
Posted: Sun Jul 21, 2019 4:56 am
by rdandekar
Hello Team,
Please provide an update, we are waiting for your valuable response.
Regards,
Rahul
Re: Monitoring HP Proliant ILO 4 on Nagiosxi
Posted: Mon Jul 22, 2019 1:45 pm
by benjaminsmith
Hell,
Please install this package from yum:
And then run plugin and output any errors:
Code: Select all
cd /usr/local/nagios/libexec
./check_ilo2_health.pl -V
Thanks.