Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
server:monitoring
monitoring-plugins-jitsi
monitoring-plugins-jitsi.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File monitoring-plugins-jitsi.spec of Package monitoring-plugins-jitsi
# # spec file for package monitoring-plugins-jitsi # # Copyright (c) 2020 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/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: monitoring-plugins-jitsi Version: 1.0.1 Release: 0 Summary: Check command for Jitsi video conference server License: GPL-3.0 Group: System/Monitoring Url: https://github.com/nbuchwitz/check_jitsi/tree/v1.0.1 Source: check_jitsi-%{version}.tar.xz Source1: check_jitsi-nrpe.cfg Patch1: check_jitsi_icinga_hosts.patch BuildRequires: nagios-rpm-macros BuildRequires: python-rpm-macros # BuildRequires: python3-enum BuildRequires: python3-requests # BuildRequires: python3-argparse BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This plugin is using the private rest API of the Jitsi videobridge. Please enable the rest API first by appending '--apis=rest' to the JVB_OPTS in the videobridge config. To enable additional statistics, your also need to enable the statistics in sip-communicator.properties: [...] org.jitsi.videobridge.ENABLE_STATISTICS=true [...] The check script is requiring a check mode, to know what should be checked. Please have a look at the usage output of the script for more details. %package icinga2-templates Summary: Icinga2 specific files for check_jitsi Group: System/Monitoring Supplements: monitoring-plugins-jitsi Requires(pre): icinga2-common Requires: icinga2-common %description icinga2-templates This package contains command and service definitions for icinga2. Once installed, you can directly use the service definitions in your host configurations. %prep %setup -q -n check_jitsi-%{version} %patch1 -p1 sed -i "s|#!/usr/bin/env python3|#!%{_bindir}/python3|g" check_jitsi.py %build # %install install -Dm755 check_jitsi.py %{buildroot}%{nagios_plugindir}/check_jitsi.py install -Dm644 icinga/commands-jitsi.conf %{buildroot}%{icinga2_datadir}/include/plugins-contrib.d/commands-jitsi.conf install -Dm644 icinga/services-jitsi.conf %{buildroot}%{icinga2_datadir}/include/plugins-contrib.d/services-jitsi.conf install -Dm644 %{SOURCE1} %{buildroot}%{nrpe_sysconfdir}/check_jitsi.cfg %files %defattr(-,root,root) %doc *.md %dir %{nrpe_sysconfdir} %if 0%{?suse_version} >= 01500 %license LICENSE %else %doc LICENSE %endif %dir %{nagios_libdir} %dir %{nagios_plugindir} %{nagios_plugindir}/check_jitsi.py %config(noreplace) %{nrpe_sysconfdir}/check_jitsi.cfg %files icinga2-templates %defattr(-,root,root) %dir %{icinga2_datadir} %{icinga2_datadir}/include/plugins-contrib.d/commands-jitsi.conf %{icinga2_datadir}/include/plugins-contrib.d/services-jitsi.conf %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