# SPEC file overview: # https://docs.fedoraproject.org/en-US/quick-docs/creating-rpm-packages/#con_rpm-spec-file-overview # Fedora packaging guidelines: # https://docs.fedoraproject.org/en-US/packaging-guidelines/ Name: nagios-plugins-check_ilo2_health Version: 1.66 Release: 1.ndias%{?dist} Summary: Check hardware health of HP Proliant Servers License: GPLv3+ URL: https://exchange.nagios.org/directory/Plugins/Hardware/Server-Hardware/HP-%28Compaq%29/check_ilo2_health/details Source0: https://exchange.nagios.org/components/com_mtree/attachment.php?link_id=419&cf_id=44#/check_ilo2_health.pl BuildArch: noarch Requires: perl-Nagios-Plugin %description Check hardware health of HP Proliant Servers by querying the iLO2/3/4/5 Management Controller. No need for snmp or installation of software. Checks if all sensors are ok, returns warning on high temperatures and fan failures and critical on overall health failure. %prep %setup -qTc cp -f %{SOURCE0} . %build %install install -p -m 755 -D check_ilo2_health.pl %{buildroot}/%{_libdir}/nagios/plugins/check_ilo2_health.pl %files %doc %license %{_libdir}/nagios/plugins/check_ilo2_health.pl %changelog * Sun Jun 12 2022 Nuno Dias - 1.66-1.ndias - Version 1.66