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

# spec file for package monitoring-plugins-eth
# Copyright (c) 2017 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

Name:           monitoring-plugins-eth
Version:        1.2
Release:        0
License:        GPL-2.0+
Summary:        Plugin for monitoring interface throughput
Group:          System/Monitoring
Source:         check_eth
Requires:       perl(Getopt::Long)
BuildRequires:  nagios-rpm-macros
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

This package contains monitoring plugins for monitoring interface throughput.



install -Dm755 %{S:0} %{buildroot}%{nagios_plugindir}/check_eth
install -d -m 755 %{buildroot}%{_var}/cache/check_eth

%dir %{nagios_libdir}
%dir %{nagios_plugindir}
%dir %attr(775, %{nagios_user}, %{nagios_group}) %{_var}/cache/check_eth

openSUSE Build Service is sponsored by