Page 1 of 1

Need help to install hpeilo plugin on nagios 4.4.2

Posted: Mon Sep 24, 2018 4:21 am
by sgrili
Hi, can anyone help me with this hpeilo plugin installation? basically I made a nagios rpm using nagios-4.4.2.tar.gz to my CentOS 7 virtual machine, and then downloaded nagios-plugins-hpeilo-1.5.1-156.4.el7.x86_64.rpm. However, when I tried to yum the plugin, it said failed because could not find nagios packages.

Below are the information. Thanks.

~]# rpm -qa | grep nagios
nagios-4.4.2-2.el7.x86_64

~]# rpm -ivh nagios-plugins-hpeilo-1.5.1-156.4.el7.x86_64.rpm
Preparing... ################################# [100%]
[Error]: Please make sure if you have installed nagios
error: %pre(nagios-plugins-hpeilo-1.5.1-156.4.rhel7.x86_64) scriptlet failed, exit status 1
error: nagios-plugins-hpeilo-1.5.1-156.4.rhel7.x86_64: install failed 1/1

Re: Need help to install hpeilo plugin on nagios 4.4.2

Posted: Mon Sep 24, 2018 7:52 am
by scottwilkerson
Where are you getting the nagios-plugins-hpeilo RPM This is not distributed by Nagios Enterprises, so I am unfamiliar with the spec file and what it is requiring in the %pre section that is erroring.

Re: Need help to install hpeilo plugin on nagios 4.4.2

Posted: Mon Sep 24, 2018 8:34 pm
by sgrili
Hi, thanks for the quick reply. I actually downloaded from the nagios site.
https://exchange.nagios.org/directory/P ... r)/details

Re: Need help to install hpeilo plugin on nagios 4.4.2

Posted: Tue Sep 25, 2018 7:22 am
by scottwilkerson
The exchange is a location for people to share plugins they have made.

You may want to try installing from source as it wouldn't have the dependencies the rpm had

Looks like the source is here
https://github.com/HewlettPackard/nagios-plugins-hpilo