Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:jdbungart:monitoring
nagios-plugins-megaraid_sas
nagios-plugins-megaraid_sas.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nagios-plugins-megaraid_sas.spec of Package nagios-plugins-megaraid_sas
# # spec file for package nagios-plugins-megaraid_sas # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. Name: nagios-plugins-megaraid_sas Summary: Check drives attached to LSI megaraid SAS controllers Version: 10 Release: 1 License: GPLv2+ Group: System/Monitoring Url: http://www.monitoringexchange.org/inventory/Check-Plugins/Hardware/Devices/RAID-Controller/check_megaraid_sas Source0: http://www.monitoringexchange.org/attachment/download/Check-Plugins/Hardware/Devices/RAID-Controller/check_megaraid_sas/check_megaraid_sas Source1: nagios-plugins-megaraid_sas-rpmlintrc # for directory ownership: BuildRequires: nagios-plugins Requires: nagios-plugins Requires: MegaCli BuildRoot: %{_tmppath}/%{name}-build %description This plugin calls LSI's MegaCli utility to determine the health of disks and logical drive units attached to Megraid SAS controllers. It has been tested by the author on Dell PERC 5 & 6 controllers, but should work well with any controller supported by the MegaCli tool. Author: ------- Jonathan Delgado %prep %build %install install -Dm755 %{SOURCE0} %{buildroot}/%{_prefix}/lib/nagios/plugins/check_megaraid_sas %ifarch x86_64 sed -i "s|/usr/sbin/MegaCli|/opt/MegaRAID/MegaCli/MegaCli64|g" %{buildroot}/%{_prefix}/lib/nagios/plugins/check_megaraid_sas %else sed -i "s|/usr/sbin/MegaCli|/opt/MegaRAID/MegaCli/MegaCli|g" %{buildroot}/%{_prefix}/lib/nagios/plugins/check_megaraid_sas %endif %clean rm -rf %buildroot %files %defattr(-, root, root) %{_prefix}/lib/nagios/plugins/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor