Hello community, here is the log from the commit of package monitoring-plugins for openSUSE:Factory checked in at 2018-10-12 13:11:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/monitoring-plugins (Old) and /work/SRC/openSUSE:Factory/.monitoring-plugins.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "monitoring-plugins" Fri Oct 12 13:11:31 2018 rev:11 rq:641318 version:2.2 Changes: -------- --- /work/SRC/openSUSE:Factory/monitoring-plugins/monitoring-plugins.changes 2018-08-24 17:13:45.350760216 +0200 +++ /work/SRC/openSUSE:Factory/.monitoring-plugins.new/monitoring-plugins.changes 2018-10-12 13:11:36.607221654 +0200 @@ -1,0 +2,17 @@ +Wed Oct 3 14:11:51 UTC 2018 - l...@linux-schulserver.de + +- add /etc/nrpe.d/*.cfg snipplets for + + nrpe-check_load => check_load + + nrpe-check_mailq => check_mailq + + nrpe-check_ntp_time => check_ntp_time + + nrpe-check_swap => check_swap + + nrpe-check_total_procs => check_procs + + nrpe-check_zombie_procs => check_procs + + nrpe-check_users => check_users + + nrpe-check_mysql => check_mysql + + nrpe-check_proc_cron => check_procs + + nrpe-check_partition => check_disk + + nrpe-check_ups => check_ups +- use %%license macro on newer versions + +------------------------------------------------------------------- New: ---- nrpe-check_load nrpe-check_mailq nrpe-check_mysql nrpe-check_ntp_time nrpe-check_partition nrpe-check_proc_cron nrpe-check_swap nrpe-check_total_procs nrpe-check_ups nrpe-check_users nrpe-check_zombie_procs ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ monitoring-plugins.spec ++++++ --- /var/tmp/diff_new_pack.vUBVhb/_old 2018-10-12 13:11:38.331219206 +0200 +++ /var/tmp/diff_new_pack.vUBVhb/_new 2018-10-12 13:11:38.335219200 +0200 @@ -12,7 +12,7 @@ # 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/ # @@ -49,6 +49,17 @@ Source33: usr.lib.nagios.plugins.check_swap Source34: usr.lib.nagios.plugins.check_users Source35: usr.lib.nagios.plugins.check_procs.sle15 +Source50: nrpe-check_mailq +Source51: nrpe-check_load +Source52: nrpe-check_ntp_time +Source53: nrpe-check_swap +Source54: nrpe-check_partition +Source55: nrpe-check_proc_cron +Source56: nrpe-check_total_procs +Source57: nrpe-check_users +Source58: nrpe-check_zombie_procs +Source59: nrpe-check_mysql +Source60: nrpe-check_ups # PATCH-FIX-UPSTREAM Quote the options comming in from users (path names might contain whitespaces) Patch1: %{name}-2.1.1-check_logfile.patch # PATCH-FIX-OPENSUSE do not use chown in Makefile (not possible when building as normal user) @@ -1184,6 +1195,20 @@ install -m 644 %{SOURCE33} %{buildroot}%{_sysconfdir}/apparmor.d/ install -m 644 %{SOURCE34} %{buildroot}%{_sysconfdir}/apparmor.d/ +# install nrpe snipplets +mkdir -p %{buildroot}%{nrpe_sysconfdir} +install -m 644 %{SOURCE50} %{buildroot}%{nrpe_sysconfdir}/check_mailq.cfg +install -m 644 %{SOURCE51} %{buildroot}%{nrpe_sysconfdir}/check_load.cfg +install -m 644 %{SOURCE52} %{buildroot}%{nrpe_sysconfdir}/check_ntp_time.cfg +install -m 644 %{SOURCE53} %{buildroot}%{nrpe_sysconfdir}/check_swap.cfg +install -m 644 %{SOURCE54} %{buildroot}%{nrpe_sysconfdir}/check_partition_root.cfg +install -m 644 %{SOURCE55} %{buildroot}%{nrpe_sysconfdir}/check_proc_cron.cfg +install -m 644 %{SOURCE56} %{buildroot}%{nrpe_sysconfdir}/check_total_procs.cfg +install -m 644 %{SOURCE57} %{buildroot}%{nrpe_sysconfdir}/check_users.cfg +install -m 644 %{SOURCE58} %{buildroot}%{nrpe_sysconfdir}/check_zombie_procs.cfg +install -m 644 %{SOURCE59} %{buildroot}%{nrpe_sysconfdir}/check_mysql.cfg +install -m 644 %{SOURCE60} %{buildroot}%{nrpe_sysconfdir}/check_ups.cfg + # inform the users about the deprecated monitoring-plugins-extras package cat >> README.SUSE-deprecated << EOF The monitoring-plugins-extras package is deprecated. @@ -1243,8 +1268,13 @@ %files %defattr(-,root,root) -%doc ABOUT-NLS ACKNOWLEDGEMENTS AUTHORS ChangeLog CODING COPYING FAQ +%doc ABOUT-NLS ACKNOWLEDGEMENTS AUTHORS ChangeLog CODING FAQ %doc NEWS README REQUIREMENTS SUPPORT THANKS README.SUSE +%if 0%{?suse_version} >= 1500 +%license COPYING +%else +%doc COPYING +%endif %if 0%{?suse_version} %doc example %endif @@ -1277,8 +1307,13 @@ %files common -f %{name}.lang %defattr(-,root,root) -%doc ABOUT-NLS ACKNOWLEDGEMENTS AUTHORS ChangeLog CODING COPYING FAQ +%doc ABOUT-NLS ACKNOWLEDGEMENTS AUTHORS ChangeLog CODING FAQ %doc NEWS README REQUIREMENTS SUPPORT THANKS README.SUSE +%if 0%{?suse_version} >= 1500 +%license COPYING +%else +%doc COPYING +%endif %if 0%{?suse_version} %doc example %endif @@ -1326,8 +1361,10 @@ %files disk %defattr(0755,root,root) %dir %{nagios_plugindir} +%dir %{nrpe_sysconfdir} %{nagios_plugindir}/check_disk %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/apparmor.d/usr.lib.nagios.plugins.check_disk +%attr(0644,root,root) %config(noreplace) %{nrpe_sysconfdir}/check_partition_root.cfg %files disk_smb %defattr(0755,root,root) @@ -1419,7 +1456,9 @@ %files load %defattr(0755,root,root) %dir %{nagios_plugindir} +%dir %{nrpe_sysconfdir} %{nagios_plugindir}/check_load +%attr(0644,root,root) %config(noreplace) %{nrpe_sysconfdir}/check_load.cfg %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/apparmor.d/usr.lib.nagios.plugins.check_load %files log @@ -1429,7 +1468,9 @@ %files mailq %defattr(0755,root,root) %dir %{nagios_plugindir} +%dir %{nrpe_sysconfdir} %{nagios_plugindir}/check_mailq +%attr(0644,root,root) %config(noreplace) %{nrpe_sysconfdir}/check_mailq.cfg %files mrtg %defattr(0755,root,root) @@ -1444,8 +1485,10 @@ %files mysql %defattr(0755,root,root) %dir %{nagios_plugindir} +%dir %{nrpe_sysconfdir} %{nagios_plugindir}/check_mysql %{nagios_plugindir}/check_mysql_query +%attr(0644,root,root) %config(noreplace) %{nrpe_sysconfdir}/check_mysql.cfg %files nagios %defattr(0755,root,root) @@ -1465,9 +1508,11 @@ %files ntp_time %defattr(0755,root,root) %dir %{nagios_plugindir} +%dir %{nrpe_sysconfdir} %{nagios_plugindir}/check_ntp %{nagios_plugindir}/check_ntp_time %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/apparmor.d/usr.lib.nagios.plugins.check_ntp_time +%attr(0644,root,root) %config(noreplace) %{nrpe_sysconfdir}/check_ntp_time.cfg %files nwstat %defattr(0755,root,root) @@ -1497,9 +1542,14 @@ %files procs %defattr(0755,root,root) %dir %{nagios_plugindir} +%dir %{nrpe_sysconfdir} %{nagios_plugindir}/check_procs %{nagios_plugindir}/check_procs_perf -%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/apparmor.d/usr.lib.nagios.plugins.check_procs +%defattr(0644,root,root) +%config(noreplace) %{_sysconfdir}/apparmor.d/usr.lib.nagios.plugins.check_procs +%config(noreplace) %{nrpe_sysconfdir}/check_proc_cron.cfg +%config(noreplace) %{nrpe_sysconfdir}/check_total_procs.cfg +%config(noreplace) %{nrpe_sysconfdir}/check_zombie_procs.cfg %if 0%{?suse_version} %files radius @@ -1543,8 +1593,10 @@ %files swap %defattr(0755,root,root) %dir %{nagios_plugindir} +%dir %{nrpe_sysconfdir} %{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) %{nrpe_sysconfdir}/check_swap.cfg %files tcp %defattr(0755,root,root) @@ -1570,13 +1622,17 @@ %files ups %defattr(0755,root,root) %dir %{nagios_plugindir} +%dir %{nrpe_sysconfdir} %{nagios_plugindir}/check_ups +%attr(0644,root,root) %config(noreplace) %{nrpe_sysconfdir}/check_ups.cfg %files users %defattr(0755,root,root) %dir %{nagios_plugindir} +%dir %{nrpe_sysconfdir} %{nagios_plugindir}/check_users %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/apparmor.d/usr.lib.nagios.plugins.check_users +%attr(0644,root,root) %config(noreplace) %{nrpe_sysconfdir}/check_users.cfg %files wave %defattr(0755,root,root) ++++++ nrpe-check_load ++++++ command[check_load]=/usr/lib/nagios/plugins/check_load -w 10,6,5 -c 15,10,8 ++++++ nrpe-check_mailq ++++++ command[check_mailq]=/usr/lib/nagios/plugins/check_mailq -c 50 -w 30 -M postfix ++++++ nrpe-check_mysql ++++++ command[check_mysql]=/usr/lib/nagios/plugins/check_mysql -H localhost -u root ++++++ nrpe-check_ntp_time ++++++ command[check_ntp_time]=/usr/lib/nagios/plugins/check_ntp_time -H pool.ntp.org -w 1 -c 2 ++++++ nrpe-check_partition ++++++ command[check_partition_root]=/usr/lib/nagios/plugins/check_disk -w 10% -c 5% -p / ++++++ nrpe-check_proc_cron ++++++ command[check_proc_cron]=/usr/lib/nagios/plugins/check_procs --command=cron -u root -c 1:1024 ++++++ nrpe-check_swap ++++++ command[check_swap]=/usr/lib/nagios/plugins/check_swap -w 10 -c 5 ++++++ nrpe-check_total_procs ++++++ command[check_total_procs]=/usr/lib/nagios/plugins/check_procs -w 6000 -c 7500 ++++++ nrpe-check_ups ++++++ command[check_ups]=/usr/lib/nagios/plugins/check_ups -H 127.0.0.1 -u liebert ++++++ nrpe-check_users ++++++ command[check_users]=/usr/lib/nagios/plugins/check_users -w 30 -c 40 ++++++ nrpe-check_zombie_procs ++++++ command[check_zombie_procs]=/usr/lib/nagios/plugins/check_procs -w 5 -c 10 -s Z