From 0b6423f9c99d9edf8c96fefd0f6c453859395aa1 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Mon, 30 Sep 2013 00:03:24 +0200 Subject: Import Nagios Plugins site Import the Nagios Plugins web site, Cronjobs, infrastructure scripts, and configuration files. --- .../51759-nagios-plugins-1.3.0-softraid.patch | 86 ++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 web/attachments/51759-nagios-plugins-1.3.0-softraid.patch (limited to 'web/attachments/51759-nagios-plugins-1.3.0-softraid.patch') diff --git a/web/attachments/51759-nagios-plugins-1.3.0-softraid.patch b/web/attachments/51759-nagios-plugins-1.3.0-softraid.patch new file mode 100644 index 0000000..db16ad5 --- /dev/null +++ b/web/attachments/51759-nagios-plugins-1.3.0-softraid.patch @@ -0,0 +1,86 @@ +diff -ur nagios-plugins-1.3.0/command.cfg.in nagios-plugins-1.3.0.new/command.cfg.in +--- nagios-plugins-1.3.0/command.cfg.in 2003-02-15 06:48:38.000000000 -0600 ++++ nagios-plugins-1.3.0.new/command.cfg.in 2003-05-30 15:16:04.000000000 -0500 +@@ -90,6 +90,7 @@ + command[check_procs]=@libexecdir@/check_procs -w $ARG1$ -c $ARG2$ + command[check_procs_zombie]=@libexecdir@/check_procs -w $ARG1$ -c $ARG2$ -s Z + command[check_procs_httpd]=@libexecdir@/check_procs -w 5:$ARG1$ -c 1:$ARG2$ -C httpd ++command[check_softraid]=@libexecdir@/check_softraid + command[check_vsz]=@libexecdir@/check_vsz -w 8096 -c 16182 -C httpd + + # An example of using check_by_ssh as an active service check +diff -ur nagios-plugins-1.3.0/nagios-plugins.spec nagios-plugins-1.3.0.new/nagios-plugins.spec +--- nagios-plugins-1.3.0/nagios-plugins.spec 2003-03-01 23:01:26.000000000 -0600 ++++ nagios-plugins-1.3.0.new/nagios-plugins.spec 2003-05-30 15:14:58.000000000 -0500 +@@ -126,6 +126,7 @@ + %{_prefix}/lib/nagios/plugins/check_rpc + %{_prefix}/lib/nagios/plugins/check_sensors + %{_prefix}/lib/nagios/plugins/check_smtp ++%{_prefix}/lib/nagios/plugins/check_softraid + %{_prefix}/lib/nagios/plugins/check_ssh + %{_prefix}/lib/nagios/plugins/check_swap + %{_prefix}/lib/nagios/plugins/check_tcp +diff -ur nagios-plugins-1.3.0/nagios-plugins.spec.in nagios-plugins-1.3.0.new/nagios-plugins.spec.in +--- nagios-plugins-1.3.0/nagios-plugins.spec.in 2003-03-01 22:40:29.000000000 -0600 ++++ nagios-plugins-1.3.0.new/nagios-plugins.spec.in 2003-05-30 15:16:23.000000000 -0500 +@@ -126,6 +126,7 @@ + %{_prefix}/lib/nagios/plugins/check_rpc + %{_prefix}/lib/nagios/plugins/check_sensors + %{_prefix}/lib/nagios/plugins/check_smtp ++%{_prefix}/lib/nagios/plugins/check_softraid + %{_prefix}/lib/nagios/plugins/check_ssh + %{_prefix}/lib/nagios/plugins/check_swap + %{_prefix}/lib/nagios/plugins/check_tcp +Only in nagios-plugins-1.3.0.new/plugins-scripts: check_softraid.pl +diff -ur nagios-plugins-1.3.0/plugins-scripts/Makefile.am nagios-plugins-1.3.0.new/plugins-scripts/Makefile.am +--- nagios-plugins-1.3.0/plugins-scripts/Makefile.am 2003-02-15 06:48:49.000000000 -0600 ++++ nagios-plugins-1.3.0.new/plugins-scripts/Makefile.am 2003-05-30 15:14:18.000000000 -0500 +@@ -6,11 +6,13 @@ + + libexec_SCRIPTS = check_breeze check_disk_smb check_flexlm check_ircd \ + check_log check_ntp check_oracle check_rpc check_sensors check_wave \ +- check_ifstatus check_ifoperstatus check_mailq utils.sh utils.pm ++ check_ifstatus check_ifoperstatus check_mailq check_softraid \ ++ utils.sh utils.pm + + EXTRA_DIST=check_breeze.pl check_disk_smb.pl check_flexlm.pl check_ircd.pl \ + check_log.sh check_ntp.pl check_oracle.sh check_rpc.pl check_sensors.sh \ +- check_ifstatus.pl check_ifoperstatus.pl check_wave.pl check_mailq.pl utils.sh.in utils.pm.in t ++ check_ifstatus.pl check_ifoperstatus.pl check_wave.pl check_mailq.pl check_softraid.pl \ ++ utils.sh.in utils.pm.in t + + TESTS_ENVIRONMENT=perl -I $(top_builddir) -I $(top_srcdir) + +diff -ur nagios-plugins-1.3.0/plugins-scripts/Makefile.in nagios-plugins-1.3.0.new/plugins-scripts/Makefile.in +--- nagios-plugins-1.3.0/plugins-scripts/Makefile.in 2003-03-01 23:01:26.000000000 -0600 ++++ nagios-plugins-1.3.0.new/plugins-scripts/Makefile.in 2003-05-30 15:14:04.000000000 -0500 +@@ -130,12 +130,14 @@ + + libexec_SCRIPTS = check_breeze check_disk_smb check_flexlm check_ircd \ + check_log check_ntp check_oracle check_rpc check_sensors check_wave \ +- check_ifstatus check_ifoperstatus check_mailq utils.sh utils.pm ++ check_ifstatus check_ifoperstatus check_mailq check_softraid \ ++ utils.sh utils.pm + + + EXTRA_DIST = check_breeze.pl check_disk_smb.pl check_flexlm.pl check_ircd.pl \ + check_log.sh check_ntp.pl check_oracle.sh check_rpc.pl check_sensors.sh \ +- check_ifstatus.pl check_ifoperstatus.pl check_wave.pl check_mailq.pl utils.sh.in utils.pm.in t ++ check_ifstatus.pl check_ifoperstatus.pl check_wave.pl check_mailq.pl check_softraid.pl \ ++ utils.sh.in utils.pm.in t + + + TESTS_ENVIRONMENT = perl -I $(top_builddir) -I $(top_srcdir) +diff -ur nagios-plugins-1.3.0/REQUIREMENTS nagios-plugins-1.3.0.new/REQUIREMENTS +--- nagios-plugins-1.3.0/REQUIREMENTS 2003-02-28 22:45:51.000000000 -0600 ++++ nagios-plugins-1.3.0.new/REQUIREMENTS 2003-05-30 15:16:55.000000000 -0500 +@@ -53,6 +53,9 @@ + - Requires the NET-SNMP package available from + http://net-snmp.sourceforge.net + ++check_softraid: ++ - Requires Linux with MD softraid RAID compiled in. Reads /proc/mdstat ++ + check_ifstatus/check_ifoperstatus + - Requires Net::SNMP perl module + http://www.perl.com/CPAN/modules/by-authors/id/D/DT/DTOWN/ -- cgit v1.2.3-74-g34f1