Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:infrastructure
monitoring-plugins-nsca
monitoring-plugins-nsca.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File monitoring-plugins-nsca.spec of Package monitoring-plugins-nsca
# # spec file for package monitoring-plugins-nsca # # 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 http://bugs.opensuse.org/ # Name: monitoring-plugins-nsca Version: 1.0 Release: 0 License: BSD-3-Clause Summary: Check NSCA if running as expected Url: http://en.opensuse.org/ Group: System/Monitoring Source: check_nsca BuildArch: noarch BuildRequires: nagios-rpm-macros Requires: mk-livestatus Requires: perl(Monitoring::Livestatus) Requires: perl(Time::HiRes) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Check if the Nagios Service Check Acceptor is running and can successful submit check results to a running Nagios or Icinga instance. The current implementation uses the mk-livestatus socket to communicate with the running Nagios/Icinga instance - this might change in the future depending on user requests. %prep %build %install install -D -m755 %{SOURCE0} %buildroot/%{nagios_plugindir}/check_nsca mkdir -p %{buildroot}%{_defaultdocdir}/%{name} perldoc -d %{buildroot}%{_defaultdocdir}/%{name}/README %buildroot/%{nagios_plugindir}/check_nsca sed -i "s|/var/spool/check_mk/livestatus.cmd|%{livestatus_socket_file}|g" %buildroot/%{nagios_plugindir}/check_nsca %clean rm -rf %buildroot %files %defattr(-,root,root) %doc %{_defaultdocdir}/%{name} # avoid build dependecy of nagios - own the dirs %dir %{nagios_libdir} %dir %{nagios_plugindir} %{nagios_plugindir}/check_nsca %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