summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2008-11-23 05:38:47 (GMT)
committerThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2008-11-23 05:38:47 (GMT)
commit6fbd14fea5c111a23d9074d25499991cbfa58f79 (patch)
tree0c1f5a77cacc664eadd47216b70e3257337484db /contrib
parent56cf151ae91c5081a99365848a3f060dfe14a68c (diff)
downloadmonitoring-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')
-rw-r--r--contrib/check_adptraid.sh2
-rw-r--r--contrib/check_apc_ups.pl4
-rw-r--r--contrib/check_appletalk.pl6
-rw-r--r--contrib/check_arping.pl4
-rw-r--r--contrib/check_email_loop.pl2
-rw-r--r--contrib/check_fan_cpq_present4
-rw-r--r--contrib/check_fan_fsc_present4
-rw-r--r--contrib/check_frontpage6
-rw-r--r--contrib/check_http-with-client-certificate.c2
-rw-r--r--contrib/check_hw.sh2
-rwxr-xr-xcontrib/check_ica_master_browser.pl7
-rwxr-xr-xcontrib/check_ica_metaframe_pub_apps.pl7
-rwxr-xr-xcontrib/check_ica_program_neigbourhood.pl7
-rw-r--r--contrib/check_inodes-freebsd.pl4
-rw-r--r--contrib/check_javaproc.pl2
-rwxr-xr-xcontrib/check_joy.sh2
-rw-r--r--contrib/check_log2.pl4
-rwxr-xr-xcontrib/check_lotus.pl7
-rw-r--r--contrib/check_mem.pl2
-rwxr-xr-xcontrib/check_ms_spooler.pl7
-rw-r--r--contrib/check_ora_table_space.pl4
-rw-r--r--contrib/check_oracle_instance.pl4
-rw-r--r--contrib/check_oracle_tbs2
-rw-r--r--contrib/check_pfstate4
-rw-r--r--contrib/check_rbl.c8
-rw-r--r--contrib/check_smb.sh2
-rw-r--r--contrib/check_snmp_disk_monitor.pl2
-rwxr-xr-xcontrib/check_snmp_printer.pl4
-rw-r--r--contrib/check_snmp_process_monitor.pl2
-rw-r--r--contrib/check_snmp_procs.pl4
-rw-r--r--contrib/check_temp_cpq4
-rw-r--r--contrib/check_temp_fsc4
-rwxr-xr-xcontrib/check_traceroute.pl7
-rw-r--r--contrib/check_uptime.c4
-rw-r--r--contrib/check_vcs.pl2
-rwxr-xr-xcontrib/check_wins.pl7
-rwxr-xr-xcontrib/packet_utils.pm3
-rw-r--r--contrib/utils.py2
38 files changed, 73 insertions, 81 deletions
diff --git a/contrib/check_adptraid.sh b/contrib/check_adptraid.sh
index d7f8d0c..e3c47be 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
14PROGNAME=`basename $0` 14PROGNAME=`basename $0`
15PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'` 15PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'`
16REVISION=`echo '$Revision$' | sed -e 's/[^0-9.]//g'` 16REVISION=`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 2b6990f..6bf1766 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
40if ($opt_V) { 40if ($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
254sub print_help () { 254sub 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
258This plugin reports the status of an APC UPS equipped with an SNMP management 258This 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 6df4c7a..9277686 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
124sub print_help() { 124sub 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
161sub version () { 161sub 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 b78ec68..c41c4a8 100644
--- a/contrib/check_arping.pl
+++ b/contrib/check_arping.pl
@@ -55,7 +55,7 @@ if ($status == 0)
55 55
56 56
57if ($opt_V) { 57if ($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 fb418ee..1b02ea3 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 476a0c3..0bd1390 100644
--- a/contrib/check_fan_cpq_present
+++ b/contrib/check_fan_cpq_present
@@ -111,7 +111,7 @@ sub print_usage () {
111 } 111 }
112 112
113sub print_help () { 113sub 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
124sub version () { 124sub 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 5bddb87..19f8e7f 100644
--- a/contrib/check_fan_fsc_present
+++ b/contrib/check_fan_fsc_present
@@ -113,7 +113,7 @@ sub print_usage () {
113 } 113 }
114 114
115sub print_help () { 115sub 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
126sub version () { 126sub 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 ee958d3..21c5267 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
44if ($opt_V) { 44if ($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
141sub print_help () { 141sub 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 157d028..60e1481 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
39const char *progname = "check_http"; 39const 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 f03398e..9d3b574 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
17PROGNAME=`basename $0` 17PROGNAME=`basename $0`
18PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'` 18PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'`
19REVISION=`echo '$Revision$' | sed -e 's/[^0-9.]//g'` 19REVISION=`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 1bbab60..922e718 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
172sub print_help () { 171sub 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
176Perl Check Citrix Master Browser plugin for Nagios. 175Perl 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
220sub version () { 219sub 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 cc1325b..0edbdca 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
305sub print_help () { 304sub 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
309Perl Check Citrix plugin for Nagios. 308Perl Check Citrix plugin for Nagios.
@@ -350,7 +349,7 @@ The plugin works by
350} 349}
351 350
352sub version () { 351sub 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 f29c0d1..1f0fb45 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
295my $help = <<EOHELP ; 294my $help = <<EOHELP ;
296Copyright (c) 2004 Karl DeBisschop/S Hopcroft 295Copyright (c) 2004 Karl DeBisschop/S Hopcroft
@@ -345,7 +344,7 @@ sub usage {
345} 344}
346 345
347sub version () { 346sub 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 6dc8375..d66e5e3 100644
--- a/contrib/check_inodes-freebsd.pl
+++ b/contrib/check_inodes-freebsd.pl
@@ -41,7 +41,7 @@ GetOptions
41 41
42 42
43if ($opt_V) { 43if ($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
116sub print_help () { 116sub 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 a9b52bc..b68764e 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
172sub revision() { 172sub revision() {
173 print_revision($PROGNAME,'$Revision$ '); 173 print_revision($PROGNAME,'$Revision: 211 $ ');
174} 174}
175 175
176sub version () { 176sub version () {
diff --git a/contrib/check_joy.sh b/contrib/check_joy.sh
index cd076db..8783a59 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
5PROGNAME=`basename $0` 5PROGNAME=`basename $0`
6PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'` 6PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'`
7REVISION=`echo '$Revision$' | sed -e 's/[^0-9.]//g'` 7REVISION=`echo '$Revision: 2 $' | sed -e 's/[^0-9.]//g'`
8STATUS="" 8STATUS=""
9 9
10. $PROGPATH/utils.sh 10. $PROGPATH/utils.sh
diff --git a/contrib/check_log2.pl b/contrib/check_log2.pl
index 61a1170..f1533a0 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 c94e6c2..8bedced 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
221sub print_help () { 220sub 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
225Perl Check Lotus Notes plugin for Nagios. 224Perl Check Lotus Notes plugin for Nagios.
@@ -250,7 +249,7 @@ Returns OK if the named server responds with its name.
250} 249}
251 250
252sub version () { 251sub 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 f0c8212..3227ce2 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 cf2464a..3a80a76 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
270sub print_help () { 269sub 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
274Perl Check MS Spooler plugin for NetSaint. Display a subset of the queues on an SMB (Samba or MS) print spooler. 273Perl 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
294sub version () { 293sub 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 24497b2..7ce90c8 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 1175c1e..3ba8d57 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
24use 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); 24use 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 0efdd1e..8281a4e 100644
--- a/contrib/check_oracle_tbs
+++ b/contrib/check_oracle_tbs
@@ -30,7 +30,7 @@ if (!$ENV{ORACLE_HOME}) {
30my $state = $ERRORS{'UNKNOWN'}; 30my $state = $ERRORS{'UNKNOWN'};
31my $answer = undef; 31my $answer = undef;
32 32
33my ($MAJOR_VERSION, $MINOR_VERSION) = q$Revision$ =~ /(\d+)\.(\d+)/; 33my ($MAJOR_VERSION, $MINOR_VERSION) = q$Revision: 1134 $ =~ /(\d+)\.(\d+)/;
34my $VERSION = sprintf("%d.%02d", $MAJOR_VERSION - 1, $MINOR_VERSION); 34my $VERSION = sprintf("%d.%02d", $MAJOR_VERSION - 1, $MINOR_VERSION);
35 35
36my $opt_debug; # -d|--debug 36my $opt_debug; # -d|--debug
diff --git a/contrib/check_pfstate b/contrib/check_pfstate
index 6fe0d9b..57dde3f 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
29if ($opt_V) { 29if ($opt_V) {
30 print_revision($PROGNAME,'$Revision$'); 30 print_revision($PROGNAME,'$Revision: 1112 $');
31 exit $ERRORS{'OK'}; 31 exit $ERRORS{'OK'};
32} 32}
33if ($opt_h) { 33if ($opt_h) {
@@ -67,7 +67,7 @@ exit $ERRORS{'OK'};
67 67
68 68
69sub print_help { 69sub 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 6831b65..eec84ad 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
24const char progname = "check_rbl"; 24const char progname = "check_rbl";
25const char *revision = "$Revision$"; 25const 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
292void print_help(void) 292void 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 728535a..9d0da72 100644
--- a/contrib/check_smb.sh
+++ b/contrib/check_smb.sh
@@ -26,7 +26,7 @@
26# 26#
27PROGNAME=`basename $0` 27PROGNAME=`basename $0`
28PROGPATH=`echo $0 | /bin/sed -e 's,[\\/][^\\/][^\\/]*$,,'` 28PROGPATH=`echo $0 | /bin/sed -e 's,[\\/][^\\/][^\\/]*$,,'`
29REVISION=`echo '$Revision$' | sed -e 's/[^0-9.]//g'` 29REVISION=`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 7a70f71..9a2edaa 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
54sub local_print_revision { 54sub local_print_revision {
55 print_revision( $PROGNAME, '$Revision$ ' ) 55 print_revision( $PROGNAME, '$Revision: 82 $ ' )
56} 56}
57 57
58sub print_usage { 58sub print_usage {
diff --git a/contrib/check_snmp_printer.pl b/contrib/check_snmp_printer.pl
index 9fc5fed..cc7943b 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
118if ($opt_V) { 118if ($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
574sub print_help () { 574sub 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
578This plugin reports the status of an network printer with an SNMP management 578This 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 c98ee7d..0f44597 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
93sub local_print_revision { 93sub local_print_revision {
94 print_revision( $PROGNAME, '$Revision$ ' ) 94 print_revision( $PROGNAME, '$Revision: 84 $ ' )
95} 95}
96 96
97sub print_usage { 97sub print_usage {
diff --git a/contrib/check_snmp_procs.pl b/contrib/check_snmp_procs.pl
index 991fc71..4d19ff1 100644
--- a/contrib/check_snmp_procs.pl
+++ b/contrib/check_snmp_procs.pl
@@ -109,7 +109,7 @@ if (GetOptions(
109} 109}
110 110
111if ($opt_version) { 111if ($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#
531sub print_help { 531sub 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
535Check if processes are running on a host via snmp 535Check if processes are running on a host via snmp
diff --git a/contrib/check_temp_cpq b/contrib/check_temp_cpq
index 14b06a2..6edae6e 100644
--- a/contrib/check_temp_cpq
+++ b/contrib/check_temp_cpq
@@ -138,7 +138,7 @@ sub print_usage () {
138 } 138 }
139 139
140sub print_help () { 140sub 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
153sub version () { 153sub 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 6cae859..33470ea 100644
--- a/contrib/check_temp_fsc
+++ b/contrib/check_temp_fsc
@@ -138,7 +138,7 @@ sub print_usage () {
138 } 138 }
139 139
140sub print_help () { 140sub 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
151sub version () { 151sub 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 c8d497b..569dc53 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');
32do { print_help ; exit $ERRORS{OK}; } 31do { print_help ; exit $ERRORS{OK}; }
33 if $opt_h ; 32 if $opt_h ;
34 33
35do { print_revision($PROGNAME, '$Revision$'); exit $ERRORS{OK}; } 34do { print_revision($PROGNAME, '$Revision: 1115 $'); exit $ERRORS{OK}; }
36 if $opt_V ; 35 if $opt_V ;
37 36
38do { print_help; exit $ERRORS{OK}; } 37do { print_help; exit $ERRORS{OK}; }
@@ -176,7 +175,7 @@ sub print_usage () {
176} 175}
177 176
178sub print_help () { 177sub 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
182This plugin checks whether traceroute to the destination succeeds and if so that the route string option (-R) matches the list of routers 181This 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 fe98123..7afeb23 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 7ee0072..38afdae 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 0d11737..f11f864 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
192sub print_help () { 191sub 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
196Perl Check WINS plugin for NetSaint. 195Perl Check WINS plugin for NetSaint.
@@ -237,7 +236,7 @@ The plugin works by
237} 236}
238 237
239sub version () { 238sub 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 cd1e830..783b333 100755
--- a/contrib/packet_utils.pm
+++ b/contrib/packet_utils.pm
@@ -1,8 +1,7 @@
1package packet_utils; 1package 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 73d795c..db0f1c9 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#