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

# spec file for package monitoring-plugins-mtr
# Copyright (c) 2020, Martin Hauke <>
# 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

%define realname check_mtr
Name:           monitoring-plugins-mtr
Version:        0.2
Release:        0
Summary:        An Icinga plugin to monitor all reachable routers on the network path
License:        GPL-3.0-or-later
Group:          System/Monitoring
BuildRequires:  nagios-rpm-macros
Requires:       mtr
Requires:       perl(Monitoring::Plugin)
BuildArch:      noarch

Use My traceroute(MTR) to monitor all reachable routers on the
network path.

%setup -q -n monitoring-%{realname}-%{version}


install -D -m755 %{buildroot}/%{nagios_plugindir}/check_mtr

%dir %{nagios_libdir}
%dir %{nagios_plugindir}

openSUSE Build Service is sponsored by