File netapp-cdot-nagios.spec of Package netapp-cdot-nagios
#
# spec file for package netapp-cdot-nagios
#
# Copyright (c) 2016 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: netapp-cdot-nagios
Version: 0~git126
Release: 0
License: GPL-3.0+
Summary: Monitoring NetApp cDOT-Systems via NetApp Perl API
Url: https://github.com/aleex42/netapp-cdot-nagios
Group: System/Monitoring
Source: %{name}-master.zip
Requires: perl(NetApp::NaServer)
Requires: perl(NetApp::NaElement)
Requires: perl(Getopt::Long)
Requires: perl(Data::Dumper)
BuildRequires: nagios-rpm-macros
Buildrequires: unzip
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Scripts for monitoring NetApp cDOT-Systems via NetApp Perl-API.
Currently there are the following checks:
* check_cdot_aggr.pl
Checks Aggregate Space Usage (also supports performance data)
* check_cdot_rebuild.pl
Checks Aggregate RAID status
* check_cdot_disk.pl
Checks Disk Healthiness
* check_cdot_global.pl
Checks Global Healthiness
* check_cdot_multipath.pl
Checks Disk Multipathing
* check_cdot_snapmirror.pl
Checks SnapMirror Healthiness
* check_cdot_snapshots.pl
Checks Snapshot Age
* check_cdot_sparedisks.pl
Checks Sparedisk Status and unowned Disks
* check_cdot_volume.pl
Checks Space and Inode Usage of all or one specific Volume (also supports performance data)
* check_cdot_recommendation.pl
Checks that some Best Practises are configured
* check_cdot_clusterconfig.sh
Checks that network configurations on all nodes are the same
* check_cdot_clusterlinks.pl
Checks HA-Interconnects and Cluster Interfaces
* check_cdot_interfaces.pl
Checks Interface Group Status
%prep
%setup -q -n netapp-cdot-nagios-master
%build
#
%install
mkdir -p %{buildroot}/%{nagios_plugindir}
cp -r *.pl %{buildroot}/%{nagios_plugindir}/
%files
%defattr(-,root,root)
%doc COPYING README
%dir %{nagios_libdir}
%dir %{nagios_plugindir}
%{nagios_plugindir}/*