Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
:
icinga
:
production
>
nagios-plugins-emc
> nagios-plugins-emc.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File nagios-plugins-emc.spec of Package nagios-plugins-emc
# # spec file for package nagios-plugins-emc (Version 0.9) # # norootforbuild Name: nagios-plugins-emc Summary: This plugin checks the state of an EMC Clariion system via navicli Version: 1.0 Release: 1 Url: http://nagiosexchange.altinity.org/nagiosexchange/check_emc/ License: BSD 4-Clause Group: System/Monitoring Source0: check_emc_clariion.pl Source1: checkcommands_emc.cfg Source2: README BuildArch: noarch Requires: naviagentcli BuildRoot: %{_tmppath}/%{name}-%{version}-build %define libexecdir %_prefix/lib/nagios/plugins %description This plugin checks the state of an EMC Clariion system via navicli = the following checks are currently available = * sp * check the status of the storage processors * disk * check the status of the physical disks attached in the DAE`s * portstate * check the status of the FC ports in the SP`s * hbastate * check the connection state of the specified node %prep %setup -T -c -n %{name} %build cp %{S:2} $RPM_BUILD_DIR/%{name}/ %install install -D -m755 %{SOURCE0} %buildroot/%libexecdir/check_emc_clariion.pl install -D -m644 %{SOURCE1} %buildroot/%{_sysconfdir}/nagios/checkcommands_emc.cfg %clean rm -rf %buildroot %files %defattr(-,root,root) %doc README # avoid build dependecy of nagios - own the dirs %dir %_prefix/lib/nagios %dir %libexecdir %libexecdir/check_emc_clariion.pl %dir %{_sysconfdir}/nagios %{_sysconfdir}/nagios/checkcommands_emc.cfg %changelog * Wed Mar 18 2009 Carsten Schoene <cs@linux-administrator.com> - initial release