Monitoring HP Proliant ILO 4 on Nagiosxi

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Monitoring HP Proliant ILO 4 on Nagiosxi

Post 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.
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!
rdandekar
Posts: 24
Joined: Tue Apr 16, 2019 8:13 am

Re: Monitoring HP Proliant ILO 4 on Nagiosxi

Post by rdandekar »

Hello Team,

Please find attach screenshot for below Command output.

curl -v http://mirrorlist.centos.org/?release=7 ... nfra=stock


Regards,
Rahul
You do not have the required permissions to view the files attached to this post.
rdandekar
Posts: 24
Joined: Tue Apr 16, 2019 8:13 am

Re: Monitoring HP Proliant ILO 4 on Nagiosxi

Post by rdandekar »

Hello Team,

Please provide with an update.

Regards,
Rahul.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Monitoring HP Proliant ILO 4 on Nagiosxi

Post 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:

Code: Select all

perl -MCPAN -e shell

Next, set the proxy by running the following command:

Code: Select all

o conf init /proxy/
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!

Code: Select all

o conf commit
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.
You do not have the required permissions to view the files attached to this post.
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!
rdandekar
Posts: 24
Joined: Tue Apr 16, 2019 8:13 am

Re: Monitoring HP Proliant ILO 4 on Nagiosxi

Post by rdandekar »

Hi Team,

Thanks for the update, we will check & let you know the result.

Regards,
Rahul
rdandekar
Posts: 24
Joined: Tue Apr 16, 2019 8:13 am

Re: Monitoring HP Proliant ILO 4 on Nagiosxi

Post 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
You do not have the required permissions to view the files attached to this post.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Monitoring HP Proliant ILO 4 on Nagiosxi

Post by benjaminsmith »

Hi,

My apologies, please try running the following command instead.

Code: Select all

 cpan -i Nagios::Monitoring::Plugin
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!
rdandekar
Posts: 24
Joined: Tue Apr 16, 2019 8:13 am

Re: Monitoring HP Proliant ILO 4 on Nagiosxi

Post 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
You do not have the required permissions to view the files attached to this post.
rdandekar
Posts: 24
Joined: Tue Apr 16, 2019 8:13 am

Re: Monitoring HP Proliant ILO 4 on Nagiosxi

Post by rdandekar »

Hello Team,

Please provide an update, we are waiting for your valuable response.

Regards,
Rahul
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Monitoring HP Proliant ILO 4 on Nagiosxi

Post by benjaminsmith »

Hell,

Please install this package from yum:

Code: Select all

yum install perl-Nagios-Plugin
And then run plugin and output any errors:

Code: Select all

cd /usr/local/nagios/libexec
./check_ilo2_health.pl -V
Thanks.
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!
Locked