forked from pool/monitoring-plugins
+ nrpe-check_swap => check_swap
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=55
This commit is contained in:
parent
ba2eb90360
commit
acf7f53310
@ -5,6 +5,7 @@ Wed Oct 3 14:11:51 UTC 2018 - lars@linux-schulserver.de
|
|||||||
+ nrpe-check_load => check_load
|
+ nrpe-check_load => check_load
|
||||||
+ nrpe-check_mailq => check_mailq
|
+ nrpe-check_mailq => check_mailq
|
||||||
+ nrpe-check_ntp_time => check_ntp_time
|
+ nrpe-check_ntp_time => check_ntp_time
|
||||||
|
+ nrpe-check_swap => check_swap
|
||||||
- use %%license macro on newer versions
|
- use %%license macro on newer versions
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
|
@ -52,6 +52,7 @@ Source35: usr.lib.nagios.plugins.check_procs.sle15
|
|||||||
Source50: nrpe-check_mailq
|
Source50: nrpe-check_mailq
|
||||||
Source51: nrpe-check_load
|
Source51: nrpe-check_load
|
||||||
Source52: nrpe-check_ntp_time
|
Source52: nrpe-check_ntp_time
|
||||||
|
Source53: nrpe-check_swap
|
||||||
# PATCH-FIX-UPSTREAM Quote the options comming in from users (path names might contain whitespaces)
|
# PATCH-FIX-UPSTREAM Quote the options comming in from users (path names might contain whitespaces)
|
||||||
Patch1: %{name}-2.1.1-check_logfile.patch
|
Patch1: %{name}-2.1.1-check_logfile.patch
|
||||||
# PATCH-FIX-OPENSUSE do not use chown in Makefile (not possible when building as normal user)
|
# PATCH-FIX-OPENSUSE do not use chown in Makefile (not possible when building as normal user)
|
||||||
@ -1189,9 +1190,10 @@ install -m 644 %{SOURCE34} %{buildroot}%{_sysconfdir}/apparmor.d/
|
|||||||
|
|
||||||
# install nrpe snipplets
|
# install nrpe snipplets
|
||||||
mkdir -p %{buildroot}%{nrpe_sysconfdir}
|
mkdir -p %{buildroot}%{nrpe_sysconfdir}
|
||||||
install -m 0644 %{SOURCE50} %{buildroot}%{nrpe_sysconfdir}/check_mailq.cfg
|
install -m 644 %{SOURCE50} %{buildroot}%{nrpe_sysconfdir}/check_mailq.cfg
|
||||||
install -m 0644 %{SOURCE51} %{buildroot}%{nrpe_sysconfdir}/check_load.cfg
|
install -m 644 %{SOURCE51} %{buildroot}%{nrpe_sysconfdir}/check_load.cfg
|
||||||
install -m 0644 %{SOURCE52} %{buildroot}%{nrpe_sysconfdir}/check_ntp_time.cfg
|
install -m 644 %{SOURCE52} %{buildroot}%{nrpe_sysconfdir}/check_ntp_time.cfg
|
||||||
|
install -m 644 %{SOURCE53} %{buildroot}%{nrpe_sysconfdir}/check_swap.cfg
|
||||||
|
|
||||||
# inform the users about the deprecated monitoring-plugins-extras package
|
# inform the users about the deprecated monitoring-plugins-extras package
|
||||||
cat >> README.SUSE-deprecated << EOF
|
cat >> README.SUSE-deprecated << EOF
|
||||||
@ -1568,8 +1570,10 @@ fi
|
|||||||
%files swap
|
%files swap
|
||||||
%defattr(0755,root,root)
|
%defattr(0755,root,root)
|
||||||
%dir %{nagios_plugindir}
|
%dir %{nagios_plugindir}
|
||||||
|
%dir %{nrpe_sysconfdir}
|
||||||
%{nagios_plugindir}/check_swap
|
%{nagios_plugindir}/check_swap
|
||||||
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/apparmor.d/usr.lib.nagios.plugins.check_swap
|
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/apparmor.d/usr.lib.nagios.plugins.check_swap
|
||||||
|
%config(noreplace) %{nrpe_sysconfdir}/check_swap.cfg
|
||||||
|
|
||||||
%files tcp
|
%files tcp
|
||||||
%defattr(0755,root,root)
|
%defattr(0755,root,root)
|
||||||
|
1
nrpe-check_swap
Normal file
1
nrpe-check_swap
Normal file
@ -0,0 +1 @@
|
|||||||
|
command[check_swap]=/usr/lib/nagios/plugins/check_swap -w 10 -c 5
|
Loading…
x
Reference in New Issue
Block a user