Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package monitoring-plugins-openvpn for openSUSE:Factory checked in at 2021-01-25 18:23:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/monitoring-plugins-openvpn (Old) and /work/SRC/openSUSE:Factory/.monitoring-plugins-openvpn.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "monitoring-plugins-openvpn" Mon Jan 25 18:23:40 2021 rev:3 rq:866245 version:1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/monitoring-plugins-openvpn/monitoring-plugins-openvpn.changes 2017-10-11 23:03:40.450801484 +0200 +++ /work/SRC/openSUSE:Factory/.monitoring-plugins-openvpn.new.28504/monitoring-plugins-openvpn.changes 2021-01-25 18:23:58.432459472 +0100 @@ -1,0 +2,5 @@ +Sat Jan 16 13:55:40 UTC 2021 - l...@linux-schulserver.de + +- add nrpe configuration snipplet + +------------------------------------------------------------------- New: ---- check_openvpn.cfg ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ monitoring-plugins-openvpn.spec ++++++ --- /var/tmp/diff_new_pack.jBkWVG/_old 2021-01-25 18:23:59.040460356 +0100 +++ /var/tmp/diff_new_pack.jBkWVG/_new 2021-01-25 18:23:59.040460356 +0100 @@ -1,7 +1,7 @@ # # spec file for package monitoring-plugins-openvpn # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,18 +12,19 @@ # 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/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: monitoring-plugins-openvpn Summary: Verify the state of the clients connected to a openvpn server -License: GPL-3.0 +License: GPL-3.0-only Group: System/Monitoring Version: 1.1 Release: 0 -Url: https://www.monitoringexchange.org/inventory/Check-Plugins/Software/Misc/check_openvpn_pl +URL: https://www.monitoringexchange.org/inventory/Check-Plugins/Software/Misc/check_openvpn_pl Source0: check_openvpn.pl +Source1: check_openvpn.cfg Patch1: check_openvpn-add-perfdata.patch BuildRequires: nagios-rpm-macros Provides: nagios-plugins-openvpn = %{version}-%{release} @@ -56,6 +57,7 @@ %install mkdir -p %buildroot/%{nagios_plugindir} +install -Dm0644 %{SOURCE1} %buildroot/%{nrpe_sysconfdir}/check_openvpn.cfg sed "s|/usr/nagios/libexec|%{nagios_plugindir}|g" check_openvpn.pl > %buildroot/%{nagios_plugindir}/check_openvpn chmod +x %buildroot/%{nagios_plugindir}/check_openvpn @@ -67,6 +69,8 @@ # avoid build dependecy of nagios - own the dirs %dir %{nagios_libdir} %dir %{nagios_plugindir} +%dir %{nrpe_sysconfdir} +%config(noreplace) %{nrpe_sysconfdir}/check_openvpn.cfg %{nagios_plugindir}/check_openvpn %changelog ++++++ check_openvpn.cfg ++++++ # example configurations for check_openvpn # do not forget to add something like the following line to your openvpn config (in /etc/openvpn/) # # management 127.0.0.1 7506 # command[check_openvpn_tcp]=/usr/lib/nagios/plugins/check_openvpn -H localhost -p 7506 -t 30 -V command[check_openvpn_udp]=/usr/lib/nagios/plugins/check_openvpn -H localhost -p 7505 -t 30 -V