1
0

+ 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

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins?expand=0&rev=56
This commit is contained in:
Lars Vogdt 2018-10-04 15:01:15 +00:00 committed by Git OBS Bridge
parent acf7f53310
commit 8635ad4744
9 changed files with 46 additions and 5 deletions

View File

@ -6,6 +6,13 @@ Wed Oct 3 14:11:51 UTC 2018 - lars@linux-schulserver.de
+ 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
-------------------------------------------------------------------

View File

@ -53,6 +53,13 @@ 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)
@ -1194,6 +1201,13 @@ 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
@ -1347,8 +1361,10 @@ fi
%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)
@ -1442,7 +1458,7 @@ fi
%dir %{nagios_plugindir}
%dir %{nrpe_sysconfdir}
%{nagios_plugindir}/check_load
%config(noreplace) %{nrpe_sysconfdir}/check_load.cfg
%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
@ -1454,7 +1470,7 @@ fi
%dir %{nagios_plugindir}
%dir %{nrpe_sysconfdir}
%{nagios_plugindir}/check_mailq
%config(noreplace) %{nrpe_sysconfdir}/check_mailq.cfg
%attr(0644,root,root) %config(noreplace) %{nrpe_sysconfdir}/check_mailq.cfg
%files mrtg
%defattr(0755,root,root)
@ -1469,8 +1485,10 @@ fi
%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)
@ -1494,7 +1512,7 @@ fi
%{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
%config(noreplace) %{nrpe_sysconfdir}/check_ntp_time.cfg
%attr(0644,root,root) %config(noreplace) %{nrpe_sysconfdir}/check_ntp_time.cfg
%files nwstat
%defattr(0755,root,root)
@ -1524,9 +1542,14 @@ fi
%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
@ -1573,7 +1596,7 @@ fi
%dir %{nrpe_sysconfdir}
%{nagios_plugindir}/check_swap
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/apparmor.d/usr.lib.nagios.plugins.check_swap
%config(noreplace) %{nrpe_sysconfdir}/check_swap.cfg
%attr(0644,root,root) %config(noreplace) %{nrpe_sysconfdir}/check_swap.cfg
%files tcp
%defattr(0755,root,root)
@ -1599,13 +1622,17 @@ fi
%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)

1
nrpe-check_mysql Normal file
View File

@ -0,0 +1 @@
command[check_mysql]=/usr/lib/nagios/plugins/check_mysql -H localhost -u root

1
nrpe-check_partition Normal file
View File

@ -0,0 +1 @@
command[check_partition_root]=/usr/lib/nagios/plugins/check_disk -w 10% -c 5% -p /

1
nrpe-check_proc_cron Normal file
View File

@ -0,0 +1 @@
command[check_proc_cron]=/usr/lib/nagios/plugins/check_procs --command=cron -u root -c 1:1024

1
nrpe-check_total_procs Normal file
View File

@ -0,0 +1 @@
command[check_total_procs]=/usr/lib/nagios/plugins/check_procs -w 6000 -c 7500

1
nrpe-check_ups Normal file
View File

@ -0,0 +1 @@
command[check_ups]=/usr/lib/nagios/plugins/check_ups -H 127.0.0.1 -u liebert

1
nrpe-check_users Normal file
View File

@ -0,0 +1 @@
command[check_users]=/usr/lib/nagios/plugins/check_users -w 30 -c 40

1
nrpe-check_zombie_procs Normal file
View File

@ -0,0 +1 @@
command[check_zombie_procs]=/usr/lib/nagios/plugins/check_procs -w 5 -c 10 -s Z