Page 1 of 3

Monitoring HP Proliant ILO 4 on Nagiosxi

Posted: Wed Jul 10, 2019 8:00 pm
by rdandekar
Hi Team,

We have recently installed Nagiosxi server and purchased licence for the same. We have to monitor HP Proliant ILO 4 server's on Nagiosxi, but we didnt find any proper document on google or site on nagiosxi. Could you please provide some procedure or steps for the installation.

Regards,
Rahul

Re: Monitoring HP Proliant ILO 4 on Nagiosxi

Posted: Thu Jul 11, 2019 3:45 pm
by benjaminsmith
Hi Rahul,

Thank you for purchasing Nagios XI. You'll find a number of plugins for monitoring HP Prolient Servers on the Nagios Exchange.

For example, take a look at this plugin:

check_ilo2_health

Once you find a suitable plugin, install it in Nagios Xi and then test it from the command line. Below is our guide with detailed steps for installing new plugins and configuring host and service checks.

Nagios XI Managing Plugins

Let us know if you have any specific questions.

Re: Monitoring HP Proliant ILO 4 on Nagiosxi

Posted: Fri Jul 12, 2019 5:39 pm
by rdandekar
Hi Team

Thanks for the quick reply. Now as per your suggestion we have uploaded "'check_ilo2_health" on Nagiosxi server. But When we test plugin From The command Line we are getting below error,

[root@localhost libexec]# ./check_ilo2_health.pl --help
Can't locate Nagios/Plugin.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at ./check_ilo2_health.pl line 170.
BEGIN failed--compilation aborted at ./check_ilo2_health.pl line 170.

Please find the attached screenshot for more detail & provide the solution for the same.
Should we need to install any packages on nagiosxi server using Yum? Please suggest us.

Regards,
Rahul

Re: Monitoring HP Proliant ILO 4 on Nagiosxi

Posted: Sat Jul 13, 2019 3:02 pm
by rdandekar
Hi Team,

Please provide an update ASAP?

Regards
Rahul

Re: Monitoring HP Proliant ILO 4 on Nagiosxi

Posted: Mon Jul 15, 2019 10:14 am
by rdandekar
Hi Team,

Please provide an update we are waiting for your reply.

Regards,
Rahul

Re: Monitoring HP Proliant ILO 4 on Nagiosxi

Posted: Mon Jul 15, 2019 2:13 pm
by tgriep
That plugin requires sone perl modules to be installed to function, run this commands as root to install them.

Code: Select all

cpan -i Nagios::Plugin
cpan -i IO::Socket::SSL
cpan -i XML::Simple
After they are installed, test the plugin and see if it functions for you.

Re: Monitoring HP Proliant ILO 4 on Nagiosxi

Posted: Mon Jul 15, 2019 2:14 pm
by benjaminsmith
Hi Rahul,
Did you install the required perl modules as directed in the documentation?
Install the PERL modules Nagios::Plugin, IO::Socket::SSL and
XML::Simple. Copy the plugin to your nagios plugin directory and make sure that the nagios user can execute it.

Re: Monitoring HP Proliant ILO 4 on Nagiosxi

Posted: Mon Jul 15, 2019 3:14 pm
by rdandekar
Hello Team,

We have uploaded il0 plugin into Nagios plugin directory, please find attach screenshot for the same.

Also we have run below suggested command on the Nagios server,

1. cpan -i Nagios::Plugin
2. cpan -i IO::Socket::SSL
3. cpan -i XML::Simple

but we are getting error, please find attach screenshot for error.

Please provide the solution for the same.

Regards
Rahul

Re: Monitoring HP Proliant ILO 4 on Nagiosxi

Posted: Mon Jul 15, 2019 4:44 pm
by benjaminsmith
Hi @rdandekar
please check the validity of the index file by comparing it to more than one cpan mirror
It looks like you have corrupt data in the cpan directory. You may need to remove cpan and re-install it ( see: this ).

Re: Monitoring HP Proliant ILO 4 on Nagiosxi

Posted: Tue Jul 16, 2019 2:58 am
by rdandekar
Hello Team,

As per your your suggestion we have removed cpan and after that when we are reinstalling it , we are getting the error
Please find the attached screenshot for the error, please provide the solution for the same.

REGARDS,
Rahul.