Need help to install hpeilo plugin on nagios 4.4.2

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
sgrili
Posts: 5
Joined: Mon Sep 24, 2018 4:12 am

Need help to install hpeilo plugin on nagios 4.4.2

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Need help to install hpeilo plugin on nagios 4.4.2

Post 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.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
sgrili
Posts: 5
Joined: Mon Sep 24, 2018 4:12 am

Re: Need help to install hpeilo plugin on nagios 4.4.2

Post by sgrili »

Hi, thanks for the quick reply. I actually downloaded from the nagios site.
https://exchange.nagios.org/directory/P ... r)/details
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Need help to install hpeilo plugin on nagios 4.4.2

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked