diff options
author | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2008-11-23 05:38:47 +0000 |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2008-11-23 05:38:47 +0000 |
commit | 6fbd14fea5c111a23d9074d25499991cbfa58f79 (patch) | |
tree | 0c1f5a77cacc664eadd47216b70e3257337484db /contrib | |
parent | 56cf151ae91c5081a99365848a3f060dfe14a68c (diff) | |
download | monitoring-plugins-6fbd14fea5c111a23d9074d25499991cbfa58f79.tar.gz |
Removing CVS/SVN tags and replacing with git-based versioning
For contrib/, full tags have been imported from subversion
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2091 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'contrib')
38 files changed, 73 insertions, 81 deletions
diff --git a/contrib/check_adptraid.sh b/contrib/check_adptraid.sh index d7f8d0c3..e3c47bee 100644 --- a/contrib/check_adptraid.sh +++ b/contrib/check_adptraid.sh | |||
@@ -13,7 +13,7 @@ PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin | |||
13 | 13 | ||
14 | PROGNAME=`basename $0` | 14 | PROGNAME=`basename $0` |
15 | PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'` | 15 | PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'` |
16 | REVISION=`echo '$Revision$' | sed -e 's/[^0-9.]//g'` | 16 | REVISION=`echo '$Revision: 302 $' | sed -e 's/[^0-9.]//g'` |
17 | 17 | ||
18 | . $PROGPATH/utils.sh | 18 | . $PROGPATH/utils.sh |
19 | 19 | ||
diff --git a/contrib/check_apc_ups.pl b/contrib/check_apc_ups.pl index 2b6990f7..6bf17662 100644 --- a/contrib/check_apc_ups.pl +++ b/contrib/check_apc_ups.pl | |||
@@ -38,7 +38,7 @@ GetOptions | |||
38 | "H=s" => \$opt_H, "hostname=s" => \$opt_H); | 38 | "H=s" => \$opt_H, "hostname=s" => \$opt_H); |
39 | 39 | ||
40 | if ($opt_V) { | 40 | if ($opt_V) { |
41 | print_revision($PROGNAME,'$Revision$'); | 41 | print_revision($PROGNAME,'$Revision: 1771 $'); |
42 | exit $ERRORS{'OK'}; | 42 | exit $ERRORS{'OK'}; |
43 | } | 43 | } |
44 | 44 | ||
@@ -252,7 +252,7 @@ sub print_usage () { | |||
252 | } | 252 | } |
253 | 253 | ||
254 | sub print_help () { | 254 | sub print_help () { |
255 | print_revision($PROGNAME,'$Revision$'); | 255 | print_revision($PROGNAME,'$Revision: 1771 $'); |
256 | print "Copyright (c) 2001 Gerald Combs/Jeffrey Blank/Karl DeBisschop | 256 | print "Copyright (c) 2001 Gerald Combs/Jeffrey Blank/Karl DeBisschop |
257 | 257 | ||
258 | This plugin reports the status of an APC UPS equipped with an SNMP management | 258 | This plugin reports the status of an APC UPS equipped with an SNMP management |
diff --git a/contrib/check_appletalk.pl b/contrib/check_appletalk.pl index 6df4c7a1..9277686c 100644 --- a/contrib/check_appletalk.pl +++ b/contrib/check_appletalk.pl | |||
@@ -9,7 +9,7 @@ | |||
9 | # using "aecho" | 9 | # using "aecho" |
10 | # | 10 | # |
11 | # initial version: 23 October 2002 by Stefan Beck, IT Software Solutions | 11 | # initial version: 23 October 2002 by Stefan Beck, IT Software Solutions |
12 | # current status: $Revision$ | 12 | # current status: $Revision: 1771 $ |
13 | # | 13 | # |
14 | # Copyright Notice: GPL | 14 | # Copyright Notice: GPL |
15 | # | 15 | # |
@@ -122,7 +122,7 @@ while (<CMD>) { | |||
122 | } | 122 | } |
123 | 123 | ||
124 | sub print_help() { | 124 | sub print_help() { |
125 | print_revision( $PROGNAME, '$Revision$ ' ); | 125 | print_revision( $PROGNAME, '$Revision: 1771 $ ' ); |
126 | print "Copyright (c) 2002 Stefan Beck\n"; | 126 | print "Copyright (c) 2002 Stefan Beck\n"; |
127 | print "\n"; | 127 | print "\n"; |
128 | print "Check if an atalkhost responds to an atalk echo using\n"; | 128 | print "Check if an atalkhost responds to an atalk echo using\n"; |
@@ -159,7 +159,7 @@ sub print_usage () { | |||
159 | } | 159 | } |
160 | 160 | ||
161 | sub version () { | 161 | sub version () { |
162 | print_revision( $PROGNAME, '$Revision$ ' ); | 162 | print_revision( $PROGNAME, '$Revision: 1771 $ ' ); |
163 | exit $ERRORS{'OK'}; | 163 | exit $ERRORS{'OK'}; |
164 | } | 164 | } |
165 | 165 | ||
diff --git a/contrib/check_arping.pl b/contrib/check_arping.pl index b78ec68f..c41c4a8a 100644 --- a/contrib/check_arping.pl +++ b/contrib/check_arping.pl | |||
@@ -55,7 +55,7 @@ if ($status == 0) | |||
55 | 55 | ||
56 | 56 | ||
57 | if ($opt_V) { | 57 | if ($opt_V) { |
58 | print_revision($PROGNAME,'$Revision$ '); | 58 | print_revision($PROGNAME,'$Revision: 1112 $ '); |
59 | exit $ERRORS{'OK'}; | 59 | exit $ERRORS{'OK'}; |
60 | } | 60 | } |
61 | 61 | ||
@@ -115,6 +115,6 @@ sub print_help { | |||
115 | print " -t (--timeout) Timeout in seconds.\n"; | 115 | print " -t (--timeout) Timeout in seconds.\n"; |
116 | print " -V (--version) Plugin version\n"; | 116 | print " -V (--version) Plugin version\n"; |
117 | print " -h (--help) usage help \n\n"; | 117 | print " -h (--help) usage help \n\n"; |
118 | print_revision($PROGNAME, '$Revision$'); | 118 | print_revision($PROGNAME, '$Revision: 1112 $'); |
119 | 119 | ||
120 | } | 120 | } |
diff --git a/contrib/check_email_loop.pl b/contrib/check_email_loop.pl index fb418ee3..1b02ea3c 100644 --- a/contrib/check_email_loop.pl +++ b/contrib/check_email_loop.pl | |||
@@ -1,6 +1,6 @@ | |||
1 | #!/usr/bin/perl -w | 1 | #!/usr/bin/perl -w |
2 | # | 2 | # |
3 | # $Id$ | 3 | # $Id: check_email_loop.pl 1290 2005-11-29 23:21:06Z harpermann $ |
4 | # | 4 | # |
5 | # (c)2000 Benjamin Schmid, blueshift@gmx.net (emergency use only ;-) | 5 | # (c)2000 Benjamin Schmid, blueshift@gmx.net (emergency use only ;-) |
6 | # Copyleft by GNU GPL | 6 | # Copyleft by GNU GPL |
diff --git a/contrib/check_fan_cpq_present b/contrib/check_fan_cpq_present index 476a0c36..0bd13909 100644 --- a/contrib/check_fan_cpq_present +++ b/contrib/check_fan_cpq_present | |||
@@ -111,7 +111,7 @@ sub print_usage () { | |||
111 | } | 111 | } |
112 | 112 | ||
113 | sub print_help () { | 113 | sub print_help () { |
114 | print_revision($PROGNAME,'$Revision$\n '); | 114 | print_revision($PROGNAME,'$Revision: 1113 $\n '); |
115 | print "Copyright (c) 2003 Rainer Duffner\n "; | 115 | print "Copyright (c) 2003 Rainer Duffner\n "; |
116 | print_usage(); | 116 | print_usage(); |
117 | print "\n"; | 117 | print "\n"; |
@@ -122,7 +122,7 @@ sub print_help () { | |||
122 | } | 122 | } |
123 | 123 | ||
124 | sub version () { | 124 | sub version () { |
125 | print_revision($PROGNAME,'$Revision$ '); | 125 | print_revision($PROGNAME,'$Revision: 1113 $ '); |
126 | exit $ERRORS{'OK'}; | 126 | exit $ERRORS{'OK'}; |
127 | } | 127 | } |
128 | 128 | ||
diff --git a/contrib/check_fan_fsc_present b/contrib/check_fan_fsc_present index 5bddb87c..19f8e7f0 100644 --- a/contrib/check_fan_fsc_present +++ b/contrib/check_fan_fsc_present | |||
@@ -113,7 +113,7 @@ sub print_usage () { | |||
113 | } | 113 | } |
114 | 114 | ||
115 | sub print_help () { | 115 | sub print_help () { |
116 | print_revision($PROGNAME,'$Revision$\n '); | 116 | print_revision($PROGNAME,'$Revision: 1113 $\n '); |
117 | print "Copyright (c) 2003 Rainer Duffner\n "; | 117 | print "Copyright (c) 2003 Rainer Duffner\n "; |
118 | print_usage(); | 118 | print_usage(); |
119 | print "\n"; | 119 | print "\n"; |
@@ -124,7 +124,7 @@ sub print_help () { | |||
124 | } | 124 | } |
125 | 125 | ||
126 | sub version () { | 126 | sub version () { |
127 | print_revision($PROGNAME,'$Revision$ '); | 127 | print_revision($PROGNAME,'$Revision: 1113 $ '); |
128 | exit $ERRORS{'OK'}; | 128 | exit $ERRORS{'OK'}; |
129 | } | 129 | } |
130 | 130 | ||
diff --git a/contrib/check_frontpage b/contrib/check_frontpage index ee958d30..21c5267b 100644 --- a/contrib/check_frontpage +++ b/contrib/check_frontpage | |||
@@ -1,6 +1,6 @@ | |||
1 | #! /usr/bin/perl -w | 1 | #! /usr/bin/perl -w |
2 | # | 2 | # |
3 | # $Id$ | 3 | # $Id: check_frontpage 1112 2005-01-27 04:46:08Z stanleyhopcroft $ |
4 | # | 4 | # |
5 | # Check that FrontPage extensions appear to be working on a specified host. | 5 | # Check that FrontPage extensions appear to be working on a specified host. |
6 | # Currently only checks that the hit counter is not returning an error. | 6 | # Currently only checks that the hit counter is not returning an error. |
@@ -42,7 +42,7 @@ GetOptions | |||
42 | "H=s" => \$opt_H, "hostname=s" => \$opt_H); | 42 | "H=s" => \$opt_H, "hostname=s" => \$opt_H); |
43 | 43 | ||
44 | if ($opt_V) { | 44 | if ($opt_V) { |
45 | print_revision($PROGNAME,'$Revision$'); #' | 45 | print_revision($PROGNAME,'$Revision: 1112 $'); #' |
46 | exit $ERRORS{'OK'}; | 46 | exit $ERRORS{'OK'}; |
47 | } | 47 | } |
48 | 48 | ||
@@ -139,7 +139,7 @@ sub print_usage () { | |||
139 | } | 139 | } |
140 | 140 | ||
141 | sub print_help () { | 141 | sub print_help () { |
142 | print_revision($PROGNAME,'$Revision$'); | 142 | print_revision($PROGNAME,'$Revision: 1112 $'); |
143 | print "Copyright (c) 2003 Kev Green\n"; | 143 | print "Copyright (c) 2003 Kev Green\n"; |
144 | print "\n"; | 144 | print "\n"; |
145 | print "FrontPage remains a copyright/trademark of Microsoft Corporation.\n"; | 145 | print "FrontPage remains a copyright/trademark of Microsoft Corporation.\n"; |
diff --git a/contrib/check_http-with-client-certificate.c b/contrib/check_http-with-client-certificate.c index 157d028a..60e14812 100644 --- a/contrib/check_http-with-client-certificate.c +++ b/contrib/check_http-with-client-certificate.c | |||
@@ -37,7 +37,7 @@ | |||
37 | *****************************************************************************/ | 37 | *****************************************************************************/ |
38 | 38 | ||
39 | const char *progname = "check_http"; | 39 | const char *progname = "check_http"; |
40 | #define REVISION "$Revision$" | 40 | #define REVISION "$Revision: 1117 $" |
41 | #define CVSREVISION "1.24" | 41 | #define CVSREVISION "1.24" |
42 | #define COPYRIGHT "2003" | 42 | #define COPYRIGHT "2003" |
43 | #define AUTHORS "Fabian Pehla" | 43 | #define AUTHORS "Fabian Pehla" |
diff --git a/contrib/check_hw.sh b/contrib/check_hw.sh index f03398ea..9d3b5743 100644 --- a/contrib/check_hw.sh +++ b/contrib/check_hw.sh | |||
@@ -16,7 +16,7 @@ PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin | |||
16 | 16 | ||
17 | PROGNAME=`basename $0` | 17 | PROGNAME=`basename $0` |
18 | PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'` | 18 | PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'` |
19 | REVISION=`echo '$Revision$' | sed -e 's/[^0-9.]//g'` | 19 | REVISION=`echo '$Revision: 939 $' | sed -e 's/[^0-9.]//g'` |
20 | 20 | ||
21 | . $PROGPATH/utils.sh | 21 | . $PROGPATH/utils.sh |
22 | 22 | ||
diff --git a/contrib/check_ica_master_browser.pl b/contrib/check_ica_master_browser.pl index 1bbab60b..922e7187 100755 --- a/contrib/check_ica_master_browser.pl +++ b/contrib/check_ica_master_browser.pl | |||
@@ -1,8 +1,7 @@ | |||
1 | #!/usr/bin/perl -w | 1 | #!/usr/bin/perl -w |
2 | 2 | ||
3 | # $Id$ | 3 | # $Id: check_ica_master_browser.pl 1099 2005-01-25 09:09:33Z stanleyhopcroft $ |
4 | 4 | ||
5 | # $Log$ | ||
6 | # Revision 1.1 2005/01/25 09:09:33 stanleyhopcroft | 5 | # Revision 1.1 2005/01/25 09:09:33 stanleyhopcroft |
7 | # New plugin - checks that ICA master browser is what it should be (important for firewalled dialup) | 6 | # New plugin - checks that ICA master browser is what it should be (important for firewalled dialup) |
8 | # | 7 | # |
@@ -170,7 +169,7 @@ sub print_usage () { | |||
170 | } | 169 | } |
171 | 170 | ||
172 | sub print_help () { | 171 | sub print_help () { |
173 | print_revision($PROGNAME,'$Revision$ '); | 172 | print_revision($PROGNAME,'$Revision: 1099 $ '); |
174 | print "Copyright (c) 2002 Ed Rolison/Tom De Blende/S Hopcroft | 173 | print "Copyright (c) 2002 Ed Rolison/Tom De Blende/S Hopcroft |
175 | 174 | ||
176 | Perl Check Citrix Master Browser plugin for Nagios. | 175 | Perl Check Citrix Master Browser plugin for Nagios. |
@@ -218,7 +217,7 @@ The ICA Client requests the address of the ICA master browser from the Citrix se | |||
218 | } | 217 | } |
219 | 218 | ||
220 | sub version () { | 219 | sub version () { |
221 | print_revision($PROGNAME,'$Revision$ '); | 220 | print_revision($PROGNAME,'$Revision: 1099 $ '); |
222 | exit $ERRORS{'OK'}; | 221 | exit $ERRORS{'OK'}; |
223 | } | 222 | } |
224 | 223 | ||
diff --git a/contrib/check_ica_metaframe_pub_apps.pl b/contrib/check_ica_metaframe_pub_apps.pl index cc1325ba..0edbdcaf 100755 --- a/contrib/check_ica_metaframe_pub_apps.pl +++ b/contrib/check_ica_metaframe_pub_apps.pl | |||
@@ -1,8 +1,7 @@ | |||
1 | #!/usr/bin/perl -w | 1 | #!/usr/bin/perl -w |
2 | 2 | ||
3 | # $Id$ | 3 | # $Id: check_ica_metaframe_pub_apps.pl 1098 2005-01-25 09:07:39Z stanleyhopcroft $ |
4 | 4 | ||
5 | # $Log$ | ||
6 | # Revision 1.1 2005/01/25 09:07:39 stanleyhopcroft | 5 | # Revision 1.1 2005/01/25 09:07:39 stanleyhopcroft |
7 | # Replacement (structured name mainly) for check_citrix: check of ICA browse service | 6 | # Replacement (structured name mainly) for check_citrix: check of ICA browse service |
8 | # | 7 | # |
@@ -303,7 +302,7 @@ sub print_usage () { | |||
303 | } | 302 | } |
304 | 303 | ||
305 | sub print_help () { | 304 | sub print_help () { |
306 | print_revision($PROGNAME,'$Revision$ '); | 305 | print_revision($PROGNAME,'$Revision: 1098 $ '); |
307 | print "Copyright (c) 2002 Ed Rolison/Tom De Blende/S Hopcroft | 306 | print "Copyright (c) 2002 Ed Rolison/Tom De Blende/S Hopcroft |
308 | 307 | ||
309 | Perl Check Citrix plugin for Nagios. | 308 | Perl Check Citrix plugin for Nagios. |
@@ -350,7 +349,7 @@ The plugin works by | |||
350 | } | 349 | } |
351 | 350 | ||
352 | sub version () { | 351 | sub version () { |
353 | print_revision($PROGNAME,'$Revision$ '); | 352 | print_revision($PROGNAME,'$Revision: 1098 $ '); |
354 | exit $ERRORS{'OK'}; | 353 | exit $ERRORS{'OK'}; |
355 | } | 354 | } |
356 | 355 | ||
diff --git a/contrib/check_ica_program_neigbourhood.pl b/contrib/check_ica_program_neigbourhood.pl index f29c0d1d..1f0fb455 100755 --- a/contrib/check_ica_program_neigbourhood.pl +++ b/contrib/check_ica_program_neigbourhood.pl | |||
@@ -1,8 +1,7 @@ | |||
1 | #!/usr/bin/perl -w | 1 | #!/usr/bin/perl -w |
2 | 2 | ||
3 | # $Id$ | 3 | # $Id: check_ica_program_neigbourhood.pl 1097 2005-01-25 09:05:53Z stanleyhopcroft $ |
4 | 4 | ||
5 | # $Log$ | ||
6 | # Revision 1.1 2005/01/25 09:05:53 stanleyhopcroft | 5 | # Revision 1.1 2005/01/25 09:05:53 stanleyhopcroft |
7 | # New plugin to check Citrix Metaframe XP "Program Neighbourhood" | 6 | # New plugin to check Citrix Metaframe XP "Program Neighbourhood" |
8 | # | 7 | # |
@@ -290,7 +289,7 @@ sub print_help() { | |||
290 | # 1 2 3 4 5 6 7 8 | 289 | # 1 2 3 4 5 6 7 8 |
291 | #12345678901234567890123456789012345678901234567890123456789012345678901234567890 | 290 | #12345678901234567890123456789012345678901234567890123456789012345678901234567890 |
292 | 291 | ||
293 | print_revision($PROGNAME,'$Revision$ '); | 292 | print_revision($PROGNAME,'$Revision: 1097 $ '); |
294 | 293 | ||
295 | my $help = <<EOHELP ; | 294 | my $help = <<EOHELP ; |
296 | Copyright (c) 2004 Karl DeBisschop/S Hopcroft | 295 | Copyright (c) 2004 Karl DeBisschop/S Hopcroft |
@@ -345,7 +344,7 @@ sub usage { | |||
345 | } | 344 | } |
346 | 345 | ||
347 | sub version () { | 346 | sub version () { |
348 | print_revision($PROGNAME,'$Revision$ '); | 347 | print_revision($PROGNAME,'$Revision: 1097 $ '); |
349 | exit $ERRORS{'OK'}; | 348 | exit $ERRORS{'OK'}; |
350 | } | 349 | } |
351 | 350 | ||
diff --git a/contrib/check_inodes-freebsd.pl b/contrib/check_inodes-freebsd.pl index 6dc83754..d66e5e3f 100644 --- a/contrib/check_inodes-freebsd.pl +++ b/contrib/check_inodes-freebsd.pl | |||
@@ -41,7 +41,7 @@ GetOptions | |||
41 | 41 | ||
42 | 42 | ||
43 | if ($opt_V) { | 43 | if ($opt_V) { |
44 | print_revision($PROGNAME,'$Revision$ '); | 44 | print_revision($PROGNAME,'$Revision: 72 $ '); |
45 | exit $ERRORS{'OK'}; | 45 | exit $ERRORS{'OK'}; |
46 | } | 46 | } |
47 | 47 | ||
@@ -114,7 +114,7 @@ sub print_usage () { | |||
114 | } | 114 | } |
115 | 115 | ||
116 | sub print_help () { | 116 | sub print_help () { |
117 | print_revision($PROGNAME,'$Revision$'); | 117 | print_revision($PROGNAME,'$Revision: 72 $'); |
118 | print "Copyright (c) 2002 Andrew Ryder\n"; | 118 | print "Copyright (c) 2002 Andrew Ryder\n"; |
119 | print "\n"; | 119 | print "\n"; |
120 | print_usage(); | 120 | print_usage(); |
diff --git a/contrib/check_javaproc.pl b/contrib/check_javaproc.pl index a9b52bc9..b68764ef 100644 --- a/contrib/check_javaproc.pl +++ b/contrib/check_javaproc.pl | |||
@@ -170,7 +170,7 @@ Perl Check java processes plugin for Nagios | |||
170 | } | 170 | } |
171 | 171 | ||
172 | sub revision() { | 172 | sub revision() { |
173 | print_revision($PROGNAME,'$Revision$ '); | 173 | print_revision($PROGNAME,'$Revision: 211 $ '); |
174 | } | 174 | } |
175 | 175 | ||
176 | sub version () { | 176 | sub version () { |
diff --git a/contrib/check_joy.sh b/contrib/check_joy.sh index cd076db9..8783a59f 100755 --- a/contrib/check_joy.sh +++ b/contrib/check_joy.sh | |||
@@ -4,7 +4,7 @@ PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin | |||
4 | 4 | ||
5 | PROGNAME=`basename $0` | 5 | PROGNAME=`basename $0` |
6 | PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'` | 6 | PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'` |
7 | REVISION=`echo '$Revision$' | sed -e 's/[^0-9.]//g'` | 7 | REVISION=`echo '$Revision: 2 $' | sed -e 's/[^0-9.]//g'` |
8 | STATUS="" | 8 | STATUS="" |
9 | 9 | ||
10 | . $PROGPATH/utils.sh | 10 | . $PROGPATH/utils.sh |
diff --git a/contrib/check_log2.pl b/contrib/check_log2.pl index 61a11708..f1533a0c 100644 --- a/contrib/check_log2.pl +++ b/contrib/check_log2.pl | |||
@@ -1,6 +1,6 @@ | |||
1 | #!/usr/bin/perl -w | 1 | #!/usr/bin/perl -w |
2 | # | 2 | # |
3 | # $Id$ | 3 | # $Id: check_log2.pl 1300 2005-12-16 18:41:45Z harpermann $ |
4 | # | 4 | # |
5 | # Log file regular expression detector for Nagios. | 5 | # Log file regular expression detector for Nagios. |
6 | # Written by Aaron Bostick (abostick@mydoconline.com) | 6 | # Written by Aaron Bostick (abostick@mydoconline.com) |
@@ -77,7 +77,7 @@ sub print_help (); | |||
77 | $neg_re_pattern = ''; | 77 | $neg_re_pattern = ''; |
78 | $pattern_count = 0; | 78 | $pattern_count = 0; |
79 | $pattern_line = ''; | 79 | $pattern_line = ''; |
80 | $plugin_revision = '$Revision$ '; | 80 | $plugin_revision = '$Revision: 1300 $ '; |
81 | 81 | ||
82 | # Grab options from command line | 82 | # Grab options from command line |
83 | GetOptions | 83 | GetOptions |
diff --git a/contrib/check_lotus.pl b/contrib/check_lotus.pl index c94e6c2d..8bedced8 100755 --- a/contrib/check_lotus.pl +++ b/contrib/check_lotus.pl | |||
@@ -1,8 +1,7 @@ | |||
1 | #!/usr/bin/perl -w | 1 | #!/usr/bin/perl -w |
2 | 2 | ||
3 | # $Id$ | 3 | # $Id: check_lotus.pl 1096 2005-01-25 09:04:26Z stanleyhopcroft $ |
4 | 4 | ||
5 | # $Log$ | ||
6 | # Revision 1.1 2005/01/25 09:04:26 stanleyhopcroft | 5 | # Revision 1.1 2005/01/25 09:04:26 stanleyhopcroft |
7 | # New plugin to check responsiveness of Louts Notes (v5 at least) servers | 6 | # New plugin to check responsiveness of Louts Notes (v5 at least) servers |
8 | # | 7 | # |
@@ -219,7 +218,7 @@ sub print_usage () { | |||
219 | } | 218 | } |
220 | 219 | ||
221 | sub print_help () { | 220 | sub print_help () { |
222 | print_revision($PROGNAME,'$Revision$ '); | 221 | print_revision($PROGNAME,'$Revision: 1096 $ '); |
223 | print "Copyright (c) 2004 Ed Rolison/S Hopcroft | 222 | print "Copyright (c) 2004 Ed Rolison/S Hopcroft |
224 | 223 | ||
225 | Perl Check Lotus Notes plugin for Nagios. | 224 | Perl Check Lotus Notes plugin for Nagios. |
@@ -250,7 +249,7 @@ Returns OK if the named server responds with its name. | |||
250 | } | 249 | } |
251 | 250 | ||
252 | sub version () { | 251 | sub version () { |
253 | print_revision($PROGNAME,'$Revision$ '); | 252 | print_revision($PROGNAME,'$Revision: 1096 $ '); |
254 | exit $ERRORS{'OK'}; | 253 | exit $ERRORS{'OK'}; |
255 | } | 254 | } |
256 | 255 | ||
diff --git a/contrib/check_mem.pl b/contrib/check_mem.pl index f0c82129..3227ce24 100644 --- a/contrib/check_mem.pl +++ b/contrib/check_mem.pl | |||
@@ -1,5 +1,5 @@ | |||
1 | #!/usr/bin/perl -w | 1 | #!/usr/bin/perl -w |
2 | # $Id$ | 2 | # $Id: check_mem.pl 2 2002-02-28 06:42:51Z egalstad $ |
3 | 3 | ||
4 | # check_mem.pl Copyright (C) 2000 Dan Larsson <dl@tyfon.net> | 4 | # check_mem.pl Copyright (C) 2000 Dan Larsson <dl@tyfon.net> |
5 | # | 5 | # |
diff --git a/contrib/check_ms_spooler.pl b/contrib/check_ms_spooler.pl index cf2464af..3a80a76a 100755 --- a/contrib/check_ms_spooler.pl +++ b/contrib/check_ms_spooler.pl | |||
@@ -1,8 +1,7 @@ | |||
1 | #!/usr/bin/perl -w | 1 | #!/usr/bin/perl -w |
2 | 2 | ||
3 | # $Id$ | 3 | # $Id: check_ms_spooler.pl 64 2002-07-16 00:04:42Z stanleyhopcroft $ |
4 | 4 | ||
5 | # $Log$ | ||
6 | # Revision 1.1 2002/07/16 00:04:42 stanleyhopcroft | 5 | # Revision 1.1 2002/07/16 00:04:42 stanleyhopcroft |
7 | # Primitive and in need of refinement test of MS spooler (with smbclient) | 6 | # Primitive and in need of refinement test of MS spooler (with smbclient) |
8 | # | 7 | # |
@@ -268,7 +267,7 @@ sub print_usage () { | |||
268 | } | 267 | } |
269 | 268 | ||
270 | sub print_help () { | 269 | sub print_help () { |
271 | print_revision($PROGNAME,'$Revision$ '); | 270 | print_revision($PROGNAME,'$Revision: 64 $ '); |
272 | print "Copyright (c) 2001 Karl DeBisschop/S Hopcroft | 271 | print "Copyright (c) 2001 Karl DeBisschop/S Hopcroft |
273 | 272 | ||
274 | Perl Check MS Spooler plugin for NetSaint. Display a subset of the queues on an SMB (Samba or MS) print spooler. | 273 | Perl Check MS Spooler plugin for NetSaint. Display a subset of the queues on an SMB (Samba or MS) print spooler. |
@@ -292,7 +291,7 @@ Perl Check MS Spooler plugin for NetSaint. Display a subset of the queues on an | |||
292 | } | 291 | } |
293 | 292 | ||
294 | sub version () { | 293 | sub version () { |
295 | print_revision($PROGNAME,'$Revision$ '); | 294 | print_revision($PROGNAME,'$Revision: 64 $ '); |
296 | exit $ERRORS{'OK'}; | 295 | exit $ERRORS{'OK'}; |
297 | } | 296 | } |
298 | 297 | ||
diff --git a/contrib/check_ora_table_space.pl b/contrib/check_ora_table_space.pl index 24497b24..7ce90c8f 100644 --- a/contrib/check_ora_table_space.pl +++ b/contrib/check_ora_table_space.pl | |||
@@ -4,8 +4,8 @@ | |||
4 | # Written by: Erwan Arzur (erwan@netvalue.com) | 4 | # Written by: Erwan Arzur (erwan@netvalue.com) |
5 | # License: GPL | 5 | # License: GPL |
6 | # | 6 | # |
7 | # Last Modified: $Date$ | 7 | # Last Modified: $Date: 2002-02-28 01:42:51 -0500 (Thu, 28 Feb 2002) $ |
8 | # Revisiin: $Revision$ | 8 | # Revisiin: $Revision: 2 $ |
9 | # | 9 | # |
10 | # "check_ora_table_space.pl" plugin to check the state of Oracle | 10 | # "check_ora_table_space.pl" plugin to check the state of Oracle |
11 | # table spaces. Scarce documentation. | 11 | # table spaces. Scarce documentation. |
diff --git a/contrib/check_oracle_instance.pl b/contrib/check_oracle_instance.pl index 1175c1ed..3ba8d57a 100644 --- a/contrib/check_oracle_instance.pl +++ b/contrib/check_oracle_instance.pl | |||
@@ -1,5 +1,5 @@ | |||
1 | #!/usr/bin/perl | 1 | #!/usr/bin/perl |
2 | # $Id$ | 2 | # $Id: check_oracle_instance.pl 10 2002-04-03 02:58:47Z sghosh $ |
3 | 3 | ||
4 | # Copyright (c) 2002 Sven Dolderer | 4 | # Copyright (c) 2002 Sven Dolderer |
5 | # some pieces of Code adopted from Adam vonNieda's oracletool.pl | 5 | # some pieces of Code adopted from Adam vonNieda's oracletool.pl |
@@ -23,7 +23,7 @@ require DBD::Oracle || die "It appears that the DBD::Oracle module is not instal | |||
23 | 23 | ||
24 | use vars qw($VERSION $PROGNAME $logfile $debug $state $dbh $database $username $password $message $sql $cursor $opt_asession $opt_nsession $opt_tablespace $opt_nextents $opt_fextents $opt_aextents $privsok $warn $critical); | 24 | use vars qw($VERSION $PROGNAME $logfile $debug $state $dbh $database $username $password $message $sql $cursor $opt_asession $opt_nsession $opt_tablespace $opt_nextents $opt_fextents $opt_aextents $privsok $warn $critical); |
25 | 25 | ||
26 | '$Revision$' =~ /^.*(\d+.\d+) \$$/; # Use The Revision from RCS/CVS | 26 | '$Revision: 10 $' =~ /^.*(\d+.\d+) \$$/; # Use The Revision from RCS/CVS |
27 | $VERSION = $1; | 27 | $VERSION = $1; |
28 | $0 =~ m!^.*/([^/]+)$!; | 28 | $0 =~ m!^.*/([^/]+)$!; |
29 | $PROGNAME = $1; | 29 | $PROGNAME = $1; |
diff --git a/contrib/check_oracle_tbs b/contrib/check_oracle_tbs index 0efdd1e8..8281a4e2 100644 --- a/contrib/check_oracle_tbs +++ b/contrib/check_oracle_tbs | |||
@@ -30,7 +30,7 @@ if (!$ENV{ORACLE_HOME}) { | |||
30 | my $state = $ERRORS{'UNKNOWN'}; | 30 | my $state = $ERRORS{'UNKNOWN'}; |
31 | my $answer = undef; | 31 | my $answer = undef; |
32 | 32 | ||
33 | my ($MAJOR_VERSION, $MINOR_VERSION) = q$Revision$ =~ /(\d+)\.(\d+)/; | 33 | my ($MAJOR_VERSION, $MINOR_VERSION) = q$Revision: 1134 $ =~ /(\d+)\.(\d+)/; |
34 | my $VERSION = sprintf("%d.%02d", $MAJOR_VERSION - 1, $MINOR_VERSION); | 34 | my $VERSION = sprintf("%d.%02d", $MAJOR_VERSION - 1, $MINOR_VERSION); |
35 | 35 | ||
36 | my $opt_debug; # -d|--debug | 36 | my $opt_debug; # -d|--debug |
diff --git a/contrib/check_pfstate b/contrib/check_pfstate index 6fe0d9b0..57dde3f6 100644 --- a/contrib/check_pfstate +++ b/contrib/check_pfstate | |||
@@ -27,7 +27,7 @@ GetOptions | |||
27 | "c=s" => \$opt_c, "critical=s" => \$opt_c); | 27 | "c=s" => \$opt_c, "critical=s" => \$opt_c); |
28 | 28 | ||
29 | if ($opt_V) { | 29 | if ($opt_V) { |
30 | print_revision($PROGNAME,'$Revision$'); | 30 | print_revision($PROGNAME,'$Revision: 1112 $'); |
31 | exit $ERRORS{'OK'}; | 31 | exit $ERRORS{'OK'}; |
32 | } | 32 | } |
33 | if ($opt_h) { | 33 | if ($opt_h) { |
@@ -67,7 +67,7 @@ exit $ERRORS{'OK'}; | |||
67 | 67 | ||
68 | 68 | ||
69 | sub print_help { | 69 | sub print_help { |
70 | print_revision($PROGNAME,'$Revision$'); | 70 | print_revision($PROGNAME,'$Revision: 1112 $'); |
71 | print "Copyright (c) 2002 Jason Dixon\n\nThis plugin checks the number of state table entries on a PF-enabled OpenBSD system.\n\n"; | 71 | print "Copyright (c) 2002 Jason Dixon\n\nThis plugin checks the number of state table entries on a PF-enabled OpenBSD system.\n\n"; |
72 | print "Usage:\t-H, --hostname=<HOST> [-w, --warning=<WARNING>] [-c, --critical=<CRITICAL>]\n\n\tDefault warning is 50000 and critical is 60000.\n\n"; | 72 | print "Usage:\t-H, --hostname=<HOST> [-w, --warning=<WARNING>] [-c, --critical=<CRITICAL>]\n\n\tDefault warning is 50000 and critical is 60000.\n\n"; |
73 | support(); | 73 | support(); |
diff --git a/contrib/check_rbl.c b/contrib/check_rbl.c index 6831b657..eec84ad8 100644 --- a/contrib/check_rbl.c +++ b/contrib/check_rbl.c | |||
@@ -11,7 +11,7 @@ | |||
11 | * * License: GPL | 11 | * * License: GPL |
12 | * * Copyright (c) 2000 | 12 | * * Copyright (c) 2000 |
13 | * * | 13 | * * |
14 | * * $Id$ | 14 | * * $Id: check_rbl.c 970 2004-12-02 00:30:32Z opensides $ |
15 | * | 15 | * |
16 | *****************************************************************************/ | 16 | *****************************************************************************/ |
17 | 17 | ||
@@ -22,7 +22,7 @@ | |||
22 | #include "string.h" | 22 | #include "string.h" |
23 | 23 | ||
24 | const char progname = "check_rbl"; | 24 | const char progname = "check_rbl"; |
25 | const char *revision = "$Revision$"; | 25 | const char *revision = "$Revision: 970 $"; |
26 | //const char *copyright = "2000-2003"; | 26 | //const char *copyright = "2000-2003"; |
27 | //const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 27 | //const char *email = "nagiosplug-devel@lists.sourceforge.net"; |
28 | 28 | ||
@@ -263,7 +263,7 @@ int call_getopt(int argc, char **argv) | |||
263 | } | 263 | } |
264 | break; | 264 | break; |
265 | case 'V': /* version */ | 265 | case 'V': /* version */ |
266 | print_revision(progname,"$Revision$"); | 266 | print_revision(progname,"$Revision: 970 $"); |
267 | exit(STATE_OK); | 267 | exit(STATE_OK); |
268 | case 'h': /* help */ | 268 | case 'h': /* help */ |
269 | print_help(); | 269 | print_help(); |
@@ -291,7 +291,7 @@ int validate_arguments(void) | |||
291 | 291 | ||
292 | void print_help(void) | 292 | void print_help(void) |
293 | { | 293 | { |
294 | print_revision(progname,"$Revision$"); | 294 | print_revision(progname,"$Revision: 970 $"); |
295 | printf | 295 | printf |
296 | ("Copyright (c) 2000 Karl DeBisschop\n\n" | 296 | ("Copyright (c) 2000 Karl DeBisschop\n\n" |
297 | "This plugin uses dig to test whether the specified host is on any RBL lists.\n\n"); | 297 | "This plugin uses dig to test whether the specified host is on any RBL lists.\n\n"); |
diff --git a/contrib/check_smb.sh b/contrib/check_smb.sh index 728535a1..9d0da726 100644 --- a/contrib/check_smb.sh +++ b/contrib/check_smb.sh | |||
@@ -26,7 +26,7 @@ | |||
26 | # | 26 | # |
27 | PROGNAME=`basename $0` | 27 | PROGNAME=`basename $0` |
28 | PROGPATH=`echo $0 | /bin/sed -e 's,[\\/][^\\/][^\\/]*$,,'` | 28 | PROGPATH=`echo $0 | /bin/sed -e 's,[\\/][^\\/][^\\/]*$,,'` |
29 | REVISION=`echo '$Revision$' | sed -e 's/[^0-9.]//g'` | 29 | REVISION=`echo '$Revision: 71 $' | sed -e 's/[^0-9.]//g'` |
30 | 30 | ||
31 | 31 | ||
32 | . $PROGPATH/utils.sh | 32 | . $PROGPATH/utils.sh |
diff --git a/contrib/check_snmp_disk_monitor.pl b/contrib/check_snmp_disk_monitor.pl index 7a70f71a..9a2edaae 100644 --- a/contrib/check_snmp_disk_monitor.pl +++ b/contrib/check_snmp_disk_monitor.pl | |||
@@ -52,7 +52,7 @@ sub process_options { | |||
52 | } | 52 | } |
53 | 53 | ||
54 | sub local_print_revision { | 54 | sub local_print_revision { |
55 | print_revision( $PROGNAME, '$Revision$ ' ) | 55 | print_revision( $PROGNAME, '$Revision: 82 $ ' ) |
56 | } | 56 | } |
57 | 57 | ||
58 | sub print_usage { | 58 | sub print_usage { |
diff --git a/contrib/check_snmp_printer.pl b/contrib/check_snmp_printer.pl index 9fc5fedd..cc7943bf 100755 --- a/contrib/check_snmp_printer.pl +++ b/contrib/check_snmp_printer.pl | |||
@@ -116,7 +116,7 @@ GetOptions | |||
116 | $PROGNAME = "check_snmp_printer"; | 116 | $PROGNAME = "check_snmp_printer"; |
117 | 117 | ||
118 | if ($opt_V) { | 118 | if ($opt_V) { |
119 | print_revision($PROGNAME,'$Revision$'); | 119 | print_revision($PROGNAME,'$Revision: 795 $'); |
120 | exit $ERRORS{'OK'}; | 120 | exit $ERRORS{'OK'}; |
121 | } | 121 | } |
122 | 122 | ||
@@ -572,7 +572,7 @@ sub print_usage () { | |||
572 | } | 572 | } |
573 | 573 | ||
574 | sub print_help () { | 574 | sub print_help () { |
575 | print_revision($PROGNAME,'$Revision$'); | 575 | print_revision($PROGNAME,'$Revision: 795 $'); |
576 | print "Copyright (c) 2002 Subhendu Ghosh/Ethan Galstad. | 576 | print "Copyright (c) 2002 Subhendu Ghosh/Ethan Galstad. |
577 | 577 | ||
578 | This plugin reports the status of an network printer with an SNMP management | 578 | This plugin reports the status of an network printer with an SNMP management |
diff --git a/contrib/check_snmp_process_monitor.pl b/contrib/check_snmp_process_monitor.pl index c98ee7dc..0f445970 100644 --- a/contrib/check_snmp_process_monitor.pl +++ b/contrib/check_snmp_process_monitor.pl | |||
@@ -91,7 +91,7 @@ sub process_options { | |||
91 | } | 91 | } |
92 | 92 | ||
93 | sub local_print_revision { | 93 | sub local_print_revision { |
94 | print_revision( $PROGNAME, '$Revision$ ' ) | 94 | print_revision( $PROGNAME, '$Revision: 84 $ ' ) |
95 | } | 95 | } |
96 | 96 | ||
97 | sub print_usage { | 97 | sub print_usage { |
diff --git a/contrib/check_snmp_procs.pl b/contrib/check_snmp_procs.pl index 991fc715..4d19ff17 100644 --- a/contrib/check_snmp_procs.pl +++ b/contrib/check_snmp_procs.pl | |||
@@ -109,7 +109,7 @@ if (GetOptions( | |||
109 | } | 109 | } |
110 | 110 | ||
111 | if ($opt_version) { | 111 | if ($opt_version) { |
112 | print_revision($PROGNAME, "\$Revision$REVISION \$"); | 112 | print_revision($PROGNAME, "\$Revision: 1771 $REVISION \$"); |
113 | exit $ERRORS{'OK'}; | 113 | exit $ERRORS{'OK'}; |
114 | } | 114 | } |
115 | 115 | ||
@@ -529,7 +529,7 @@ sub print_usage { | |||
529 | 529 | ||
530 | # | 530 | # |
531 | sub print_help { | 531 | sub print_help { |
532 | print_revision($PROGNAME, "\$Revision$REVISION \$"); | 532 | print_revision($PROGNAME, "\$Revision: 1771 $REVISION \$"); |
533 | print "Copyright (c) 2003 David Alden | 533 | print "Copyright (c) 2003 David Alden |
534 | 534 | ||
535 | Check if processes are running on a host via snmp | 535 | Check if processes are running on a host via snmp |
diff --git a/contrib/check_temp_cpq b/contrib/check_temp_cpq index 14b06a2b..6edae6ef 100644 --- a/contrib/check_temp_cpq +++ b/contrib/check_temp_cpq | |||
@@ -138,7 +138,7 @@ sub print_usage () { | |||
138 | } | 138 | } |
139 | 139 | ||
140 | sub print_help () { | 140 | sub print_help () { |
141 | print_revision($PROGNAME,'$Revision$\n '); | 141 | print_revision($PROGNAME,'$Revision: 1113 $\n '); |
142 | print "Copyright (c) 2003 Rainer Duffner\n "; | 142 | print "Copyright (c) 2003 Rainer Duffner\n "; |
143 | print_usage(); | 143 | print_usage(); |
144 | print "\n"; | 144 | print "\n"; |
@@ -151,7 +151,7 @@ sub print_help () { | |||
151 | } | 151 | } |
152 | 152 | ||
153 | sub version () { | 153 | sub version () { |
154 | print_revision($PROGNAME,'$Revision$ '); | 154 | print_revision($PROGNAME,'$Revision: 1113 $ '); |
155 | exit $ERRORS{'OK'}; | 155 | exit $ERRORS{'OK'}; |
156 | } | 156 | } |
157 | 157 | ||
diff --git a/contrib/check_temp_fsc b/contrib/check_temp_fsc index 6cae859c..33470ea1 100644 --- a/contrib/check_temp_fsc +++ b/contrib/check_temp_fsc | |||
@@ -138,7 +138,7 @@ sub print_usage () { | |||
138 | } | 138 | } |
139 | 139 | ||
140 | sub print_help () { | 140 | sub print_help () { |
141 | print_revision($PROGNAME,'$Revision$\n '); | 141 | print_revision($PROGNAME,'$Revision: 1113 $\n '); |
142 | print "Copyright (c) 2003 Rainer Duffner\n "; | 142 | print "Copyright (c) 2003 Rainer Duffner\n "; |
143 | print_usage(); | 143 | print_usage(); |
144 | print "\n"; | 144 | print "\n"; |
@@ -149,7 +149,7 @@ sub print_help () { | |||
149 | } | 149 | } |
150 | 150 | ||
151 | sub version () { | 151 | sub version () { |
152 | print_revision($PROGNAME,'$Revision$ '); | 152 | print_revision($PROGNAME,'$Revision: 1113 $ '); |
153 | exit $ERRORS{'OK'}; | 153 | exit $ERRORS{'OK'}; |
154 | } | 154 | } |
155 | 155 | ||
diff --git a/contrib/check_traceroute.pl b/contrib/check_traceroute.pl index c8d497b0..569dc532 100755 --- a/contrib/check_traceroute.pl +++ b/contrib/check_traceroute.pl | |||
@@ -1,8 +1,7 @@ | |||
1 | #!/usr/bin/perl | 1 | #!/usr/bin/perl |
2 | 2 | ||
3 | # $Id$ | 3 | # $Id: check_traceroute.pl 1115 2005-01-27 10:34:16Z stanleyhopcroft $ |
4 | 4 | ||
5 | # $Log$ | ||
6 | # Revision 1.1 2005/01/27 10:34:16 stanleyhopcroft | 5 | # Revision 1.1 2005/01/27 10:34:16 stanleyhopcroft |
7 | # Jon Meek's check_traceroute for Mon hacked by YT for Nagios. Prob pretty weak | 6 | # Jon Meek's check_traceroute for Mon hacked by YT for Nagios. Prob pretty weak |
8 | # | 7 | # |
@@ -32,7 +31,7 @@ getopts('i:H:N:R:T:dhrvV'); | |||
32 | do { print_help ; exit $ERRORS{OK}; } | 31 | do { print_help ; exit $ERRORS{OK}; } |
33 | if $opt_h ; | 32 | if $opt_h ; |
34 | 33 | ||
35 | do { print_revision($PROGNAME, '$Revision$'); exit $ERRORS{OK}; } | 34 | do { print_revision($PROGNAME, '$Revision: 1115 $'); exit $ERRORS{OK}; } |
36 | if $opt_V ; | 35 | if $opt_V ; |
37 | 36 | ||
38 | do { print_help; exit $ERRORS{OK}; } | 37 | do { print_help; exit $ERRORS{OK}; } |
@@ -176,7 +175,7 @@ sub print_usage () { | |||
176 | } | 175 | } |
177 | 176 | ||
178 | sub print_help () { | 177 | sub print_help () { |
179 | print_revision($PROGNAME, '$Revision$') ; | 178 | print_revision($PROGNAME, '$Revision: 1115 $') ; |
180 | print "Copyright (c) 2004 J Meek/Karl DeBisschop | 179 | print "Copyright (c) 2004 J Meek/Karl DeBisschop |
181 | 180 | ||
182 | This plugin checks whether traceroute to the destination succeeds and if so that the route string option (-R) matches the list of routers | 181 | This plugin checks whether traceroute to the destination succeeds and if so that the route string option (-R) matches the list of routers |
diff --git a/contrib/check_uptime.c b/contrib/check_uptime.c index fe981237..7afeb232 100644 --- a/contrib/check_uptime.c +++ b/contrib/check_uptime.c | |||
@@ -9,7 +9,7 @@ | |||
9 | * Based on CHECK_LOAD.C | 9 | * Based on CHECK_LOAD.C |
10 | * Copyright (c) 1999 Felipe Gustavo de Almeida <galmeida@linux.ime.usp.br> | 10 | * Copyright (c) 1999 Felipe Gustavo de Almeida <galmeida@linux.ime.usp.br> |
11 | * | 11 | * |
12 | * Last Modified: $Date$ | 12 | * Last Modified: $Date: 2002-02-28 21:42:56 -0500 (Thu, 28 Feb 2002) $ |
13 | * | 13 | * |
14 | * Command line: CHECK_UPTIME <host_address> | 14 | * Command line: CHECK_UPTIME <host_address> |
15 | * | 15 | * |
@@ -44,7 +44,7 @@ int main(int argc, char **argv) | |||
44 | if(argc != 2){ | 44 | if(argc != 2){ |
45 | printf("Incorrect number of arguments supplied\n"); | 45 | printf("Incorrect number of arguments supplied\n"); |
46 | printf("\n"); | 46 | printf("\n"); |
47 | print_revision(argv[0],"$Revision$"); | 47 | print_revision(argv[0],"$Revision: 6 $"); |
48 | printf("Copyright (c) 2000 Teresa Ramanan (tlr@redowl.org)\n"); | 48 | printf("Copyright (c) 2000 Teresa Ramanan (tlr@redowl.org)\n"); |
49 | printf("\n"); | 49 | printf("\n"); |
50 | printf("Usage: %s <host_address>\n",argv[0]); | 50 | printf("Usage: %s <host_address>\n",argv[0]); |
diff --git a/contrib/check_vcs.pl b/contrib/check_vcs.pl index 7ee00728..38afdae2 100644 --- a/contrib/check_vcs.pl +++ b/contrib/check_vcs.pl | |||
@@ -71,7 +71,7 @@ sub print_help (); | |||
71 | $vcs_negate = ''; | 71 | $vcs_negate = ''; |
72 | $vcs_result = ''; | 72 | $vcs_result = ''; |
73 | $vcs_expected_result = 'ONLINE'; | 73 | $vcs_expected_result = 'ONLINE'; |
74 | $plugin_revision = '$Revision$ '; | 74 | $plugin_revision = '$Revision: 33 $ '; |
75 | 75 | ||
76 | # Grab options from command line | 76 | # Grab options from command line |
77 | GetOptions | 77 | GetOptions |
diff --git a/contrib/check_wins.pl b/contrib/check_wins.pl index 0d11737f..f11f8645 100755 --- a/contrib/check_wins.pl +++ b/contrib/check_wins.pl | |||
@@ -1,8 +1,7 @@ | |||
1 | #!/usr/bin/perl -w | 1 | #!/usr/bin/perl -w |
2 | 2 | ||
3 | # $Id$ | 3 | # $Id: check_wins.pl 940 2004-11-25 04:46:16Z stanleyhopcroft $ |
4 | 4 | ||
5 | # $Log$ | ||
6 | # Revision 1.3 2004/11/25 04:46:16 stanleyhopcroft | 5 | # Revision 1.3 2004/11/25 04:46:16 stanleyhopcroft |
7 | # Non functional tidy ups to check_wins | 6 | # Non functional tidy ups to check_wins |
8 | # | 7 | # |
@@ -190,7 +189,7 @@ sub print_usage () { | |||
190 | } | 189 | } |
191 | 190 | ||
192 | sub print_help () { | 191 | sub print_help () { |
193 | print_revision($PROGNAME,'$Revision$ '); | 192 | print_revision($PROGNAME,'$Revision: 940 $ '); |
194 | print "Copyright (c) 2001 Karl DeBisschop/S Hopcroft | 193 | print "Copyright (c) 2001 Karl DeBisschop/S Hopcroft |
195 | 194 | ||
196 | Perl Check WINS plugin for NetSaint. | 195 | Perl Check WINS plugin for NetSaint. |
@@ -237,7 +236,7 @@ The plugin works by | |||
237 | } | 236 | } |
238 | 237 | ||
239 | sub version () { | 238 | sub version () { |
240 | print_revision($PROGNAME,'$Revision$ '); | 239 | print_revision($PROGNAME,'$Revision: 940 $ '); |
241 | exit $ERRORS{'OK'}; | 240 | exit $ERRORS{'OK'}; |
242 | } | 241 | } |
243 | 242 | ||
diff --git a/contrib/packet_utils.pm b/contrib/packet_utils.pm index cd1e830b..783b3333 100755 --- a/contrib/packet_utils.pm +++ b/contrib/packet_utils.pm | |||
@@ -1,8 +1,7 @@ | |||
1 | package packet_utils; | 1 | package packet_utils; |
2 | 2 | ||
3 | # $Id$ | 3 | # $Id: packet_utils.pm 1100 2005-01-25 09:12:47Z stanleyhopcroft $ |
4 | 4 | ||
5 | # $Log$ | ||
6 | # Revision 1.1 2005/01/25 09:12:47 stanleyhopcroft | 5 | # Revision 1.1 2005/01/25 09:12:47 stanleyhopcroft |
7 | # packet creation and dumping hacks used by check_ica* and check_lotus | 6 | # packet creation and dumping hacks used by check_ica* and check_lotus |
8 | # | 7 | # |
diff --git a/contrib/utils.py b/contrib/utils.py index 73d795c9..db0f1c90 100644 --- a/contrib/utils.py +++ b/contrib/utils.py | |||
@@ -8,7 +8,7 @@ | |||
8 | 8 | ||
9 | #========================================================================== | 9 | #========================================================================== |
10 | # | 10 | # |
11 | # Version: = '$Id$' | 11 | # Version: = '$Id: utils.py 2 2002-02-28 06:42:51Z egalstad $' |
12 | # | 12 | # |
13 | # (C) Rob W.W. Hooft, Nonius BV, 1998 | 13 | # (C) Rob W.W. Hooft, Nonius BV, 1998 |
14 | # | 14 | # |