blob: db16ad5d4c3b15c002f0dc98e42b33a8b4fca2e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
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/
|