File monitoring-plugins-equallogic.spec of Package monitoring-plugins-equallogic

#
# spec file for package monitoring-plugins-equallogic
#
# Copyright (c) 2012-2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

Name:           monitoring-plugins-equallogic
Summary:        A plugin to monitor a Dell Equallogic with Nagios
Version:        20140711
Release:        1 
License:        GPL-2.0+
Url:            http://www.claudiokuenzler.com/nagios-plugins/check_equallogic.php
Group:          System/Monitoring
Source0:        check_equallogic
BuildRequires:  nagios-rpm-macros
Provides:       nagios-plugins-equallogic = %{version}-%{release}
Obsoletes:      nagios-plugins-equallogic < 20121230 
Requires:       bash
Requires:       gawk
Requires:       grep
Requires:       net-snmp
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
This is a plugin to monitor a Dell Equallogic with Nagios. Its written in bash
so it should run on almost all Linux/Unix based systems. It's using SNMP (v2)
to query the informations from the Equallogic device. To be able to use the
script, please also check the requirements.

The plugin has been successfully tested on the following Dell Equallogic devices:
PS100E (70-0011) with Firmware 3.3.x, 4.3.x
PS4000/E/XV (70-0120) with Firmwares 4.3.x, 5.0.x, 5.2.x
PS4100 (70-0476) with Firmware 5.1.1
PS5000XV (70-0111) with Firmwares 4.1.x, 4.3.x, 5.0.x
PS5000E (70-0115) with Firmwares 3.3.x, 4.0.x, 4.1.x, 4.2.x, 4.3.x, 5.0.x
PS6000E (70-0202) with Firmwares 4.1.x, 4.2.x, 4.3.x, 5.0.x, 5.2.x, 6.0.x
PS6000XVx (70-0202) with Firmware 4.3.x, 5.0.x, 5.1.x, 5.2.x, 6.0.x
PS6010 (70-0300) with Firmware 4.3.x, 5.0.x, 5.1.x, 5.2.x
PS6100X (70-0400) with Firmware 5.2.1

%prep

%build

%install
install -D -m755 %{SOURCE0} %{buildroot}/%{nagios_plugindir}/check_equallogic

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%dir %{nagios_libdir}
%dir %{nagios_plugindir}
%{nagios_plugindir}/check_equallogic

%changelog
openSUSE Build Service is sponsored by