Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.1:Update
nagios-plugins-ups_alarm
nagios-plugins-ups_alarm.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nagios-plugins-ups_alarm.spec of Package nagios-plugins-ups_alarm
# # spec file for package nagios-plugins-ups_alarm # # Copyright (c) 2012 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: nagios-plugins-ups_alarm Summary: Checks various properties of a Liebert NPower UPS License: GPL-2.0+ Group: System/Monitoring Version: 1.0 Release: 0 Url: http://exchange.nagios.org/directory/Plugins/Hardware/UPS/Liebert/check_ups_alarm/details Source0: check_ups_alarm.pl Patch0: no_printf.patch Requires: perl(Net::SNMP) Requires: perl(Getopt::Long) %if 0%{?suse_version} > 1010 # nagios can execute the script with embedded perl Recommends: perl %endif BuildArch: noarch BuildRequires: nagios-rpm-macros BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Checks the following properties of an NPower UPS: * Battery Status - The current status of the battery * Battery Minutes Remaining - How long it can run on batteries * Battery Runtime (Seconds) - How long the UPS has been running on batteries * Battery Temperature - The temperature of the battery * Input Line Bads - The number of times the utility power has gone away * Output Load Percent - The load on the UPS * Alarm Count - Current number of alarms present %prep %setup -q -T -c %name install -m755 %{SOURCE0} . %patch0 -p0 %build # %install install -D -m755 check_ups_alarm.pl %buildroot/%{nagios_plugindir}/check_ups_alarm %clean rm -rf %buildroot %files %defattr(-,root,root) # avoid build dependecy of nagios - own the dirs %dir %{nagios_libdir} %dir %{nagios_plugindir} %{nagios_plugindir}/check_ups_alarm %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor