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

# spec file for package monitoring-plugins-temp_raritan
# Copyright (c) 2015 SUSE LINUX 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-temp_raritan
Version:        0.2.0
Release:        1
License:        BSD-3-Clause
Summary:        Check age of files in a directory
Group:          System/Monitoring
Source0:        check_temp_raritan
BuildRequires:  nagios-rpm-macros
Recommends:     perl(Config::IniFiles)
Requires:       perl(Getopt::Long)
Requires:       perl(Net::SNMP)
Requires:       perl(Pod::Usage)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

SNMP commandline interface for getting temperature information from the sensors
of Raritan  power switches.

Raritan power switches can be equipped with external temperature sensors. This
script tries to get the sensor information via SNMP.

Choose between using a configuration file (together with option -c) or
commandline arguments (options -C and -H).

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

rm -rf %{buildroot}

# avoid build dependecy of nagios - own the dirs
%dir %{nagios_libdir}
%dir %{nagios_plugindir}

openSUSE Build Service is sponsored by