summaryrefslogtreecommitdiffstats
path: root/web/attachments/51759-nagios-plugins-1.3.0-softraid.patch
diff options
context:
space:
mode:
Diffstat (limited to 'web/attachments/51759-nagios-plugins-1.3.0-softraid.patch')
-rw-r--r--web/attachments/51759-nagios-plugins-1.3.0-softraid.patch86
1 files changed, 86 insertions, 0 deletions
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 @@
1diff -ur nagios-plugins-1.3.0/command.cfg.in nagios-plugins-1.3.0.new/command.cfg.in
2--- nagios-plugins-1.3.0/command.cfg.in 2003-02-15 06:48:38.000000000 -0600
3+++ nagios-plugins-1.3.0.new/command.cfg.in 2003-05-30 15:16:04.000000000 -0500
4@@ -90,6 +90,7 @@
5 command[check_procs]=@libexecdir@/check_procs -w $ARG1$ -c $ARG2$
6 command[check_procs_zombie]=@libexecdir@/check_procs -w $ARG1$ -c $ARG2$ -s Z
7 command[check_procs_httpd]=@libexecdir@/check_procs -w 5:$ARG1$ -c 1:$ARG2$ -C httpd
8+command[check_softraid]=@libexecdir@/check_softraid
9 command[check_vsz]=@libexecdir@/check_vsz -w 8096 -c 16182 -C httpd
10
11 # An example of using check_by_ssh as an active service check
12diff -ur nagios-plugins-1.3.0/nagios-plugins.spec nagios-plugins-1.3.0.new/nagios-plugins.spec
13--- nagios-plugins-1.3.0/nagios-plugins.spec 2003-03-01 23:01:26.000000000 -0600
14+++ nagios-plugins-1.3.0.new/nagios-plugins.spec 2003-05-30 15:14:58.000000000 -0500
15@@ -126,6 +126,7 @@
16 %{_prefix}/lib/nagios/plugins/check_rpc
17 %{_prefix}/lib/nagios/plugins/check_sensors
18 %{_prefix}/lib/nagios/plugins/check_smtp
19+%{_prefix}/lib/nagios/plugins/check_softraid
20 %{_prefix}/lib/nagios/plugins/check_ssh
21 %{_prefix}/lib/nagios/plugins/check_swap
22 %{_prefix}/lib/nagios/plugins/check_tcp
23diff -ur nagios-plugins-1.3.0/nagios-plugins.spec.in nagios-plugins-1.3.0.new/nagios-plugins.spec.in
24--- nagios-plugins-1.3.0/nagios-plugins.spec.in 2003-03-01 22:40:29.000000000 -0600
25+++ nagios-plugins-1.3.0.new/nagios-plugins.spec.in 2003-05-30 15:16:23.000000000 -0500
26@@ -126,6 +126,7 @@
27 %{_prefix}/lib/nagios/plugins/check_rpc
28 %{_prefix}/lib/nagios/plugins/check_sensors
29 %{_prefix}/lib/nagios/plugins/check_smtp
30+%{_prefix}/lib/nagios/plugins/check_softraid
31 %{_prefix}/lib/nagios/plugins/check_ssh
32 %{_prefix}/lib/nagios/plugins/check_swap
33 %{_prefix}/lib/nagios/plugins/check_tcp
34Only in nagios-plugins-1.3.0.new/plugins-scripts: check_softraid.pl
35diff -ur nagios-plugins-1.3.0/plugins-scripts/Makefile.am nagios-plugins-1.3.0.new/plugins-scripts/Makefile.am
36--- nagios-plugins-1.3.0/plugins-scripts/Makefile.am 2003-02-15 06:48:49.000000000 -0600
37+++ nagios-plugins-1.3.0.new/plugins-scripts/Makefile.am 2003-05-30 15:14:18.000000000 -0500
38@@ -6,11 +6,13 @@
39
40 libexec_SCRIPTS = check_breeze check_disk_smb check_flexlm check_ircd \
41 check_log check_ntp check_oracle check_rpc check_sensors check_wave \
42- check_ifstatus check_ifoperstatus check_mailq utils.sh utils.pm
43+ check_ifstatus check_ifoperstatus check_mailq check_softraid \
44+ utils.sh utils.pm
45
46 EXTRA_DIST=check_breeze.pl check_disk_smb.pl check_flexlm.pl check_ircd.pl \
47 check_log.sh check_ntp.pl check_oracle.sh check_rpc.pl check_sensors.sh \
48- check_ifstatus.pl check_ifoperstatus.pl check_wave.pl check_mailq.pl utils.sh.in utils.pm.in t
49+ check_ifstatus.pl check_ifoperstatus.pl check_wave.pl check_mailq.pl check_softraid.pl \
50+ utils.sh.in utils.pm.in t
51
52 TESTS_ENVIRONMENT=perl -I $(top_builddir) -I $(top_srcdir)
53
54diff -ur nagios-plugins-1.3.0/plugins-scripts/Makefile.in nagios-plugins-1.3.0.new/plugins-scripts/Makefile.in
55--- nagios-plugins-1.3.0/plugins-scripts/Makefile.in 2003-03-01 23:01:26.000000000 -0600
56+++ nagios-plugins-1.3.0.new/plugins-scripts/Makefile.in 2003-05-30 15:14:04.000000000 -0500
57@@ -130,12 +130,14 @@
58
59 libexec_SCRIPTS = check_breeze check_disk_smb check_flexlm check_ircd \
60 check_log check_ntp check_oracle check_rpc check_sensors check_wave \
61- check_ifstatus check_ifoperstatus check_mailq utils.sh utils.pm
62+ check_ifstatus check_ifoperstatus check_mailq check_softraid \
63+ utils.sh utils.pm
64
65
66 EXTRA_DIST = check_breeze.pl check_disk_smb.pl check_flexlm.pl check_ircd.pl \
67 check_log.sh check_ntp.pl check_oracle.sh check_rpc.pl check_sensors.sh \
68- check_ifstatus.pl check_ifoperstatus.pl check_wave.pl check_mailq.pl utils.sh.in utils.pm.in t
69+ check_ifstatus.pl check_ifoperstatus.pl check_wave.pl check_mailq.pl check_softraid.pl \
70+ utils.sh.in utils.pm.in t
71
72
73 TESTS_ENVIRONMENT = perl -I $(top_builddir) -I $(top_srcdir)
74diff -ur nagios-plugins-1.3.0/REQUIREMENTS nagios-plugins-1.3.0.new/REQUIREMENTS
75--- nagios-plugins-1.3.0/REQUIREMENTS 2003-02-28 22:45:51.000000000 -0600
76+++ nagios-plugins-1.3.0.new/REQUIREMENTS 2003-05-30 15:16:55.000000000 -0500
77@@ -53,6 +53,9 @@
78 - Requires the NET-SNMP package available from
79 http://net-snmp.sourceforge.net
80
81+check_softraid:
82+ - Requires Linux with MD softraid RAID compiled in. Reads /proc/mdstat
83+
84 check_ifstatus/check_ifoperstatus
85 - Requires Net::SNMP perl module
86 http://www.perl.com/CPAN/modules/by-authors/id/D/DT/DTOWN/