- drop explicit attr in filelist for check_host and check_rta_multi

as they are symlinks to check_icmp
- add new subpackage monitoring-plugins-uptime

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=79
This commit is contained in:
Ruediger Oertel 2020-09-14 13:19:34 +00:00 committed by Git OBS Bridge
parent 1baf120ee2
commit 8ff1572ff9
2 changed files with 20 additions and 2 deletions

View File

@ -56,6 +56,9 @@ Mon Sep 14 13:39:18 CEST 2020 - ro@suse.de
update context
- deleted monitoring-plugins-check_swap-fix-n.patch
drop patch, is upstream
- drop explicit attr in filelist for check_host and check_rta_multi
as they are symlinks to check_icmp
- add new subpackage monitoring-plugins-uptime
-------------------------------------------------------------------
Mon Sep 14 10:57:53 CEST 2020 - ro@suse.de

View File

@ -295,6 +295,7 @@ Recommends: %{name}-tcp
Recommends: %{name}-time
Recommends: %{name}-ups
Recommends: %{name}-ups_alarm
Recommends: %{name}-uptime
Recommends: %{name}-users
Recommends: %{name}-wave
Recommends: %{name}-zypper
@ -1048,6 +1049,15 @@ This plugin tests the UPS service on the specified host.
Network UPS Tools from www.networkupstools.org must be running for this plugin
to work.
%package uptime
Summary: Test the uptime of the system
Group: System/Monitoring
Provides: nagios-plugins-ups = %{version}
Obsoletes: nagios-plugins-ups <= 1.5
%description uptime
This plugin tests the uptime on the system using /proc/uptime
%package users
Summary: Check number of users currently logged in
Group: System/Monitoring
@ -1436,8 +1446,8 @@ fi
%dir %{nagios_plugindir}
%attr(0755,root,root) %{nagios_plugindir}/check_icmp
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/apparmor.d/usr.lib.nagios.plugins.check_icmp
%attr(0755,root,root) %{nagios_plugindir}/check_host
%attr(0755,root,root) %{nagios_plugindir}/check_rta_multi
%{nagios_plugindir}/check_host
%{nagios_plugindir}/check_rta_multi
%files ifoperstatus
%defattr(0755,root,root)
@ -1640,6 +1650,11 @@ fi
%{nagios_plugindir}/check_ups
%attr(0644,root,root) %config(noreplace) %{nrpe_sysconfdir}/check_ups.cfg
%files uptime
%defattr(0755,root,root)
%dir %{nagios_plugindir}
%{nagios_plugindir}/check_uptime
%files users
%defattr(0755,root,root)
%dir %{nagios_plugindir}