Imported Upstream version 1.4.10

This commit is contained in:
Jan Wagner 2013-11-26 23:54:42 +01:00
parent 6dd54dd8e2
commit cff68b4c0a
203 changed files with 15026 additions and 8063 deletions

View file

@ -13,7 +13,7 @@ PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
PROGNAME=`basename $0`
PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'`
REVISION=`echo '$Revision: 1.1 $' | sed -e 's/[^0-9.]//g'`
REVISION=`echo '$Revision: 302 $' | sed -e 's/[^0-9.]//g'`
. $PROGPATH/utils.sh

View file

@ -13,7 +13,7 @@ use strict;
use Getopt::Long;
use vars qw($opt_V $opt_h $opt_H $opt_T $opt_t $opt_R $opt_r
$opt_L $opt_l $PROGNAME);
use lib utils.pm;
use lib "/usr/local/nagios/libexec";
use utils qw(%ERRORS &print_revision &support &usage);
sub print_help ();
@ -38,7 +38,7 @@ GetOptions
"H=s" => \$opt_H, "hostname=s" => \$opt_H);
if ($opt_V) {
print_revision($PROGNAME,'$Revision: 1.2 $');
print_revision($PROGNAME,'$Revision: 1771 $');
exit $ERRORS{'OK'};
}
@ -252,7 +252,7 @@ sub print_usage () {
}
sub print_help () {
print_revision($PROGNAME,'$Revision: 1.2 $');
print_revision($PROGNAME,'$Revision: 1771 $');
print "Copyright (c) 2001 Gerald Combs/Jeffrey Blank/Karl DeBisschop
This plugin reports the status of an APC UPS equipped with an SNMP management

View file

@ -9,7 +9,7 @@
# using "aecho"
#
# initial version: 23 October 2002 by Stefan Beck, IT Software Solutions
# current status: $Revision: 1.1 $
# current status: $Revision: 1771 $
#
# Copyright Notice: GPL
#
@ -22,7 +22,7 @@ BEGIN {
}
use strict;
use lib utils.pm;
use lib "/usr/local/nagios/libexec";
use utils qw($TIMEOUT %ERRORS &print_revision &support);
use vars qw($PROGNAME);
@ -122,7 +122,7 @@ while (<CMD>) {
}
sub print_help() {
print_revision( $PROGNAME, '$Revision: 1.1 $ ' );
print_revision( $PROGNAME, '$Revision: 1771 $ ' );
print "Copyright (c) 2002 Stefan Beck\n";
print "\n";
print "Check if an atalkhost responds to an atalk echo using\n";
@ -159,7 +159,7 @@ sub print_usage () {
}
sub version () {
print_revision( $PROGNAME, '$Revision: 1.1 $ ' );
print_revision( $PROGNAME, '$Revision: 1771 $ ' );
exit $ERRORS{'OK'};
}

View file

@ -55,7 +55,7 @@ if ($status == 0)
if ($opt_V) {
print_revision($PROGNAME,'$Revision: 1.1 $ ');
print_revision($PROGNAME,'$Revision: 1112 $ ');
exit $ERRORS{'OK'};
}
@ -115,6 +115,6 @@ sub print_help {
print " -t (--timeout) Timeout in seconds.\n";
print " -V (--version) Plugin version\n";
print " -h (--help) usage help \n\n";
print_revision($PROGNAME, '$Revision: 1.1 $');
print_revision($PROGNAME, '$Revision: 1112 $');
}

View file

@ -29,9 +29,11 @@ lines=`cat $tempfile | grep -i $port`
status=`echo $lines | awk '{ print $3 }'`
if [ "$status" == "Printing" ]; then
bytes=`echo $lines | awk '{ print $4 }'`;
comments=`echo $lines | tr -d " " | awk '{ print $5 " " $6 }'`;
comments=`echo $lines | tr -d "
" | awk '{ print $5 " " $6 }'`;
else
comments=`echo $lines | tr -d " " | awk '{ print $4 " " $5 }'`;
comments=`echo $lines | tr -d "
" | awk '{ print $4 " " $5 }'`;
fi
comma=`echo $comments | grep , | wc -l`

View file

@ -0,0 +1,5 @@
check_cluster2 is now part of the core Nagios-Plugins distribution and has
been renamed check_cluster. It will be installed automatically.
The threshold format has changed and is not backward-compatible; be sure to
understand it correctly. Use --help to print the full help.

View file

@ -1,6 +1,6 @@
#!/usr/bin/perl -w
#
# $Id: check_email_loop.pl,v 1.5 2005/11/29 23:21:06 harpermann Exp $
# $Id: check_email_loop.pl 1290 2005-11-29 23:21:06Z harpermann $
#
# (c)2000 Benjamin Schmid, blueshift@gmx.net (emergency use only ;-)
# Copyleft by GNU GPL

View file

@ -111,7 +111,7 @@ sub print_usage () {
}
sub print_help () {
print_revision($PROGNAME,'$Revision: 1.1 $\n ');
print_revision($PROGNAME,'$Revision: 1113 $\n ');
print "Copyright (c) 2003 Rainer Duffner\n ";
print_usage();
print "\n";
@ -122,7 +122,7 @@ sub print_help () {
}
sub version () {
print_revision($PROGNAME,'$Revision: 1.1 $ ');
print_revision($PROGNAME,'$Revision: 1113 $ ');
exit $ERRORS{'OK'};
}

View file

@ -113,7 +113,7 @@ sub print_usage () {
}
sub print_help () {
print_revision($PROGNAME,'$Revision: 1.1 $\n ');
print_revision($PROGNAME,'$Revision: 1113 $\n ');
print "Copyright (c) 2003 Rainer Duffner\n ";
print_usage();
print "\n";
@ -124,7 +124,7 @@ sub print_help () {
}
sub version () {
print_revision($PROGNAME,'$Revision: 1.1 $ ');
print_revision($PROGNAME,'$Revision: 1113 $ ');
exit $ERRORS{'OK'};
}

View file

@ -1,6 +1,6 @@
#! /usr/bin/perl -w
#
# $Id: check_frontpage,v 1.1 2005/01/27 04:45:00 stanleyhopcroft Exp $
# $Id: check_frontpage 1112 2005-01-27 04:46:08Z stanleyhopcroft $
#
# Check that FrontPage extensions appear to be working on a specified host.
# Currently only checks that the hit counter is not returning an error.
@ -42,7 +42,7 @@ GetOptions
"H=s" => \$opt_H, "hostname=s" => \$opt_H);
if ($opt_V) {
print_revision($PROGNAME,'$Revision: 1.1 $'); #'
print_revision($PROGNAME,'$Revision: 1112 $'); #'
exit $ERRORS{'OK'};
}
@ -139,7 +139,7 @@ sub print_usage () {
}
sub print_help () {
print_revision($PROGNAME,'$Revision: 1.1 $');
print_revision($PROGNAME,'$Revision: 1112 $');
print "Copyright (c) 2003 Kev Green\n";
print "\n";
print "FrontPage remains a copyright/trademark of Microsoft Corporation.\n";

View file

@ -37,7 +37,7 @@
*****************************************************************************/
const char *progname = "check_http";
#define REVISION "$Revision: 1.1 $"
#define REVISION "$Revision: 1117 $"
#define CVSREVISION "1.24"
#define COPYRIGHT "2003"
#define AUTHORS "Fabian Pehla"

View file

@ -16,7 +16,7 @@ PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
PROGNAME=`basename $0`
PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'`
REVISION=`echo '$Revision: 1.1 $' | sed -e 's/[^0-9.]//g'`
REVISION=`echo '$Revision: 939 $' | sed -e 's/[^0-9.]//g'`
. $PROGPATH/utils.sh

View file

@ -1,8 +1,8 @@
#!/usr/bin/perl -w
# $Id: check_ica_master_browser.pl,v 1.1 2005/01/25 09:09:33 stanleyhopcroft Exp $
# $Id: check_ica_master_browser.pl 1099 2005-01-25 09:09:33Z stanleyhopcroft $
# $Log: check_ica_master_browser.pl,v $
# $Log$
# Revision 1.1 2005/01/25 09:09:33 stanleyhopcroft
# New plugin - checks that ICA master browser is what it should be (important for firewalled dialup)
#
@ -170,7 +170,7 @@ sub print_usage () {
}
sub print_help () {
print_revision($PROGNAME,'$Revision: 1.1 $ ');
print_revision($PROGNAME,'$Revision: 1099 $ ');
print "Copyright (c) 2002 Ed Rolison/Tom De Blende/S Hopcroft
Perl Check Citrix Master Browser plugin for Nagios.
@ -218,7 +218,7 @@ The ICA Client requests the address of the ICA master browser from the Citrix se
}
sub version () {
print_revision($PROGNAME,'$Revision: 1.1 $ ');
print_revision($PROGNAME,'$Revision: 1099 $ ');
exit $ERRORS{'OK'};
}

View file

@ -1,8 +1,8 @@
#!/usr/bin/perl -w
# $Id: check_ica_metaframe_pub_apps.pl,v 1.1 2005/01/25 09:07:39 stanleyhopcroft Exp $
# $Id: check_ica_metaframe_pub_apps.pl 1098 2005-01-25 09:07:39Z stanleyhopcroft $
# $Log: check_ica_metaframe_pub_apps.pl,v $
# $Log$
# Revision 1.1 2005/01/25 09:07:39 stanleyhopcroft
# Replacement (structured name mainly) for check_citrix: check of ICA browse service
#
@ -303,7 +303,7 @@ sub print_usage () {
}
sub print_help () {
print_revision($PROGNAME,'$Revision: 1.1 $ ');
print_revision($PROGNAME,'$Revision: 1098 $ ');
print "Copyright (c) 2002 Ed Rolison/Tom De Blende/S Hopcroft
Perl Check Citrix plugin for Nagios.
@ -350,7 +350,7 @@ The plugin works by
}
sub version () {
print_revision($PROGNAME,'$Revision: 1.1 $ ');
print_revision($PROGNAME,'$Revision: 1098 $ ');
exit $ERRORS{'OK'};
}

View file

@ -1,8 +1,8 @@
#!/usr/bin/perl -w
# $Id: check_ica_program_neigbourhood.pl,v 1.1 2005/01/25 09:05:53 stanleyhopcroft Exp $
# $Id: check_ica_program_neigbourhood.pl 1097 2005-01-25 09:05:53Z stanleyhopcroft $
# $Log: check_ica_program_neigbourhood.pl,v $
# $Log$
# Revision 1.1 2005/01/25 09:05:53 stanleyhopcroft
# New plugin to check Citrix Metaframe XP "Program Neighbourhood"
#
@ -290,7 +290,7 @@ sub print_help() {
# 1 2 3 4 5 6 7 8
#12345678901234567890123456789012345678901234567890123456789012345678901234567890
print_revision($PROGNAME,'$Revision: 1.1 $ ');
print_revision($PROGNAME,'$Revision: 1097 $ ');
my $help = <<EOHELP ;
Copyright (c) 2004 Karl DeBisschop/S Hopcroft
@ -345,7 +345,7 @@ sub usage {
}
sub version () {
print_revision($PROGNAME,'$Revision: 1.1 $ ');
print_revision($PROGNAME,'$Revision: 1097 $ ');
exit $ERRORS{'OK'};
}

View file

@ -41,7 +41,7 @@ GetOptions
if ($opt_V) {
print_revision($PROGNAME,'$Revision: 1.1 $ ');
print_revision($PROGNAME,'$Revision: 72 $ ');
exit $ERRORS{'OK'};
}
@ -114,7 +114,7 @@ sub print_usage () {
}
sub print_help () {
print_revision($PROGNAME,'$Revision: 1.1 $');
print_revision($PROGNAME,'$Revision: 72 $');
print "Copyright (c) 2002 Andrew Ryder\n";
print "\n";
print_usage();

View file

@ -170,7 +170,7 @@ Perl Check java processes plugin for Nagios
}
sub revision() {
print_revision($PROGNAME,'$Revision: 1.1 $ ');
print_revision($PROGNAME,'$Revision: 211 $ ');
}
sub version () {

View file

@ -4,7 +4,7 @@ PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
PROGNAME=`basename $0`
PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'`
REVISION=`echo '$Revision: 1.1.1.1 $' | sed -e 's/[^0-9.]//g'`
REVISION=`echo '$Revision: 2 $' | sed -e 's/[^0-9.]//g'`
STATUS=""
. $PROGPATH/utils.sh

View file

@ -23,7 +23,7 @@
# WARNING md0 status=[UUU_U], recovery=46.4%, finish=123.0min
use strict;
use lib utils.pm;
use lib "/usr/local/nagios/libexec";
use utils qw(%ERRORS);
# die with an error if we're not on Linux

View file

@ -1,6 +1,6 @@
#!/usr/bin/perl -w
#
# $Id: check_log2.pl,v 1.2 2005/12/16 18:41:45 harpermann Exp $
# $Id: check_log2.pl 1300 2005-12-16 18:41:45Z harpermann $
#
# Log file regular expression detector for Nagios.
# Written by Aaron Bostick (abostick@mydoconline.com)
@ -77,7 +77,7 @@ sub print_help ();
$neg_re_pattern = '';
$pattern_count = 0;
$pattern_line = '';
$plugin_revision = '$Revision: 1.2 $ ';
$plugin_revision = '$Revision: 1300 $ ';
# Grab options from command line
GetOptions

View file

@ -1,8 +1,8 @@
#!/usr/bin/perl -w
# $Id: check_lotus.pl,v 1.1 2005/01/25 09:04:26 stanleyhopcroft Exp $
# $Id: check_lotus.pl 1096 2005-01-25 09:04:26Z stanleyhopcroft $
# $Log: check_lotus.pl,v $
# $Log$
# Revision 1.1 2005/01/25 09:04:26 stanleyhopcroft
# New plugin to check responsiveness of Louts Notes (v5 at least) servers
#
@ -219,7 +219,7 @@ sub print_usage () {
}
sub print_help () {
print_revision($PROGNAME,'$Revision: 1.1 $ ');
print_revision($PROGNAME,'$Revision: 1096 $ ');
print "Copyright (c) 2004 Ed Rolison/S Hopcroft
Perl Check Lotus Notes plugin for Nagios.
@ -250,7 +250,7 @@ Returns OK if the named server responds with its name.
}
sub version () {
print_revision($PROGNAME,'$Revision: 1.1 $ ');
print_revision($PROGNAME,'$Revision: 1096 $ ');
exit $ERRORS{'OK'};
}

View file

@ -1,5 +1,5 @@
#!/usr/bin/perl -w
# $Id: check_mem.pl,v 1.1.1.1 2002/02/28 06:42:54 egalstad Exp $
# $Id: check_mem.pl 2 2002-02-28 06:42:51Z egalstad $
# check_mem.pl Copyright (C) 2000 Dan Larsson <dl@tyfon.net>
#

View file

@ -1,8 +1,8 @@
#!/usr/bin/perl -w
# $Id: check_ms_spooler.pl,v 1.1 2002/07/16 00:04:42 stanleyhopcroft Exp $
# $Id: check_ms_spooler.pl 64 2002-07-16 00:04:42Z stanleyhopcroft $
# $Log: check_ms_spooler.pl,v $
# $Log$
# Revision 1.1 2002/07/16 00:04:42 stanleyhopcroft
# Primitive and in need of refinement test of MS spooler (with smbclient)
#
@ -268,7 +268,7 @@ sub print_usage () {
}
sub print_help () {
print_revision($PROGNAME,'$Revision: 1.1 $ ');
print_revision($PROGNAME,'$Revision: 64 $ ');
print "Copyright (c) 2001 Karl DeBisschop/S Hopcroft
Perl Check MS Spooler plugin for NetSaint. Display a subset of the queues on an SMB (Samba or MS) print spooler.
@ -292,7 +292,7 @@ Perl Check MS Spooler plugin for NetSaint. Display a subset of the queues on an
}
sub version () {
print_revision($PROGNAME,'$Revision: 1.1 $ ');
print_revision($PROGNAME,'$Revision: 64 $ ');
exit $ERRORS{'OK'};
}

View file

@ -4,8 +4,8 @@
# Written by: Erwan Arzur (erwan@netvalue.com)
# License: GPL
#
# Last Modified: $Date: 2002/02/28 06:42:54 $
# Revisiin: $Revision: 1.1.1.1 $
# Last Modified: $Date: 2002-02-28 06:42:51 +0000 (Thu, 28 Feb 2002) $
# Revisiin: $Revision: 2 $
#
# "check_ora_table_space.pl" plugin to check the state of Oracle
# table spaces. Scarce documentation.

View file

@ -1,5 +1,5 @@
#!/usr/bin/perl
# $Id: check_oracle_instance.pl,v 1.1 2002/04/03 02:58:47 sghosh Exp $
# $Id: check_oracle_instance.pl 10 2002-04-03 02:58:47Z sghosh $
# Copyright (c) 2002 Sven Dolderer
# 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
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);
'$Revision: 1.1 $' =~ /^.*(\d+.\d+) \$$/; # Use The Revision from RCS/CVS
'$Revision: 10 $' =~ /^.*(\d+.\d+) \$$/; # Use The Revision from RCS/CVS
$VERSION = $1;
$0 =~ m!^.*/([^/]+)$!;
$PROGNAME = $1;

View file

@ -30,7 +30,7 @@ if (!$ENV{ORACLE_HOME}) {
my $state = $ERRORS{'UNKNOWN'};
my $answer = undef;
my ($MAJOR_VERSION, $MINOR_VERSION) = q$Revision: 1.2 $ =~ /(\d+)\.(\d+)/;
my ($MAJOR_VERSION, $MINOR_VERSION) = q$Revision: 1134 $ =~ /(\d+)\.(\d+)/;
my $VERSION = sprintf("%d.%02d", $MAJOR_VERSION - 1, $MINOR_VERSION);
my $opt_debug; # -d|--debug

View file

@ -27,7 +27,7 @@ GetOptions
"c=s" => \$opt_c, "critical=s" => \$opt_c);
if ($opt_V) {
print_revision($PROGNAME,'$Revision: 1.1 $');
print_revision($PROGNAME,'$Revision: 1112 $');
exit $ERRORS{'OK'};
}
if ($opt_h) {
@ -67,7 +67,7 @@ exit $ERRORS{'OK'};
sub print_help {
print_revision($PROGNAME,'$Revision: 1.1 $');
print_revision($PROGNAME,'$Revision: 1112 $');
print "Copyright (c) 2002 Jason Dixon\n\nThis plugin checks the number of state table entries on a PF-enabled OpenBSD system.\n\n";
print "Usage:\t-H, --hostname=<HOST> [-w, --warning=<WARNING>] [-c, --critical=<CRITICAL>]\n\n\tDefault warning is 50000 and critical is 60000.\n\n";
support();

View file

@ -11,7 +11,7 @@
* * License: GPL
* * Copyright (c) 2000
* *
* * $Id: check_rbl.c,v 1.3 2004/12/02 00:30:32 opensides Exp $
* * $Id: check_rbl.c 970 2004-12-02 00:30:32Z opensides $
*
*****************************************************************************/
@ -22,7 +22,7 @@
#include "string.h"
const char progname = "check_rbl";
const char *revision = "$Revision: 1.3 $";
const char *revision = "$Revision: 970 $";
//const char *copyright = "2000-2003";
//const char *email = "nagiosplug-devel@lists.sourceforge.net";
@ -263,7 +263,7 @@ int call_getopt(int argc, char **argv)
}
break;
case 'V': /* version */
print_revision(progname,"$Revision: 1.3 $");
print_revision(progname,"$Revision: 970 $");
exit(STATE_OK);
case 'h': /* help */
print_help();
@ -291,7 +291,7 @@ int validate_arguments(void)
void print_help(void)
{
print_revision(progname,"$Revision: 1.3 $");
print_revision(progname,"$Revision: 970 $");
printf
("Copyright (c) 2000 Karl DeBisschop\n\n"
"This plugin uses dig to test whether the specified host is on any RBL lists.\n\n");

View file

@ -26,7 +26,7 @@
#
PROGNAME=`basename $0`
PROGPATH=`echo $0 | /bin/sed -e 's,[\\/][^\\/][^\\/]*$,,'`
REVISION=`echo '$Revision: 1.1 $' | sed -e 's/[^0-9.]//g'`
REVISION=`echo '$Revision: 71 $' | sed -e 's/[^0-9.]//g'`
. $PROGPATH/utils.sh

View file

@ -52,7 +52,7 @@ sub process_options {
}
sub local_print_revision {
print_revision( $PROGNAME, '$Revision: 1.1 $ ' )
print_revision( $PROGNAME, '$Revision: 82 $ ' )
}
sub print_usage {

View file

@ -116,7 +116,7 @@ GetOptions
$PROGNAME = "check_snmp_printer";
if ($opt_V) {
print_revision($PROGNAME,'$Revision: 1.1 $');
print_revision($PROGNAME,'$Revision: 795 $');
exit $ERRORS{'OK'};
}
@ -572,7 +572,7 @@ sub print_usage () {
}
sub print_help () {
print_revision($PROGNAME,'$Revision: 1.1 $');
print_revision($PROGNAME,'$Revision: 795 $');
print "Copyright (c) 2002 Subhendu Ghosh/Ethan Galstad.
This plugin reports the status of an network printer with an SNMP management

View file

@ -91,7 +91,7 @@ sub process_options {
}
sub local_print_revision {
print_revision( $PROGNAME, '$Revision: 1.2 $ ' )
print_revision( $PROGNAME, '$Revision: 84 $ ' )
}
sub print_usage {

View file

@ -35,7 +35,7 @@
#use strict;
use Getopt::Long;
use Net::SNMP qw (oid_lex_sort oid_base_match SNMP_VERSION_1);
use lib utils.pm;
use lib "/usr/local/nagios/libexec";
use utils qw(%ERRORS &print_revision &support &usage);
my $PROGNAME="check_snmp_procs";
@ -109,7 +109,7 @@ if (GetOptions(
}
if ($opt_version) {
print_revision($PROGNAME, "\$Revision: 1.1 $REVISION \$");
print_revision($PROGNAME, "\$Revision: 1771 $REVISION \$");
exit $ERRORS{'OK'};
}
@ -529,7 +529,7 @@ sub print_usage {
#
sub print_help {
print_revision($PROGNAME, "\$Revision: 1.1 $REVISION \$");
print_revision($PROGNAME, "\$Revision: 1771 $REVISION \$");
print "Copyright (c) 2003 David Alden
Check if processes are running on a host via snmp

View file

@ -138,7 +138,7 @@ sub print_usage () {
}
sub print_help () {
print_revision($PROGNAME,'$Revision: 1.1 $\n ');
print_revision($PROGNAME,'$Revision: 1113 $\n ');
print "Copyright (c) 2003 Rainer Duffner\n ";
print_usage();
print "\n";
@ -151,7 +151,7 @@ sub print_help () {
}
sub version () {
print_revision($PROGNAME,'$Revision: 1.1 $ ');
print_revision($PROGNAME,'$Revision: 1113 $ ');
exit $ERRORS{'OK'};
}

View file

@ -138,7 +138,7 @@ sub print_usage () {
}
sub print_help () {
print_revision($PROGNAME,'$Revision: 1.1 $\n ');
print_revision($PROGNAME,'$Revision: 1113 $\n ');
print "Copyright (c) 2003 Rainer Duffner\n ";
print_usage();
print "\n";
@ -149,7 +149,7 @@ sub print_help () {
}
sub version () {
print_revision($PROGNAME,'$Revision: 1.1 $ ');
print_revision($PROGNAME,'$Revision: 1113 $ ');
exit $ERRORS{'OK'};
}

View file

@ -1,8 +1,8 @@
#!/usr/bin/perl
# $Id: check_traceroute.pl,v 1.1 2005/01/27 10:34:16 stanleyhopcroft Exp $
# $Id: check_traceroute.pl 1115 2005-01-27 10:34:16Z stanleyhopcroft $
# $Log: check_traceroute.pl,v $
# $Log$
# Revision 1.1 2005/01/27 10:34:16 stanleyhopcroft
# Jon Meek's check_traceroute for Mon hacked by YT for Nagios. Prob pretty weak
#
@ -32,7 +32,7 @@ getopts('i:H:N:R:T:dhrvV');
do { print_help ; exit $ERRORS{OK}; }
if $opt_h ;
do { print_revision($PROGNAME, '$Revision: 1.1 $'); exit $ERRORS{OK}; }
do { print_revision($PROGNAME, '$Revision: 1115 $'); exit $ERRORS{OK}; }
if $opt_V ;
do { print_help; exit $ERRORS{OK}; }
@ -176,7 +176,7 @@ sub print_usage () {
}
sub print_help () {
print_revision($PROGNAME, '$Revision: 1.1 $') ;
print_revision($PROGNAME, '$Revision: 1115 $') ;
print "Copyright (c) 2004 J Meek/Karl DeBisschop
This plugin checks whether traceroute to the destination succeeds and if so that the route string option (-R) matches the list of routers

View file

@ -9,7 +9,7 @@
* Based on CHECK_LOAD.C
* Copyright (c) 1999 Felipe Gustavo de Almeida <galmeida@linux.ime.usp.br>
*
* Last Modified: $Date: 2002/03/01 02:42:56 $
* Last Modified: $Date: 2002-03-01 02:42:56 +0000 (Fri, 01 Mar 2002) $
*
* Command line: CHECK_UPTIME <host_address>
*
@ -44,7 +44,7 @@ int main(int argc, char **argv)
if(argc != 2){
printf("Incorrect number of arguments supplied\n");
printf("\n");
print_revision(argv[0],"$Revision: 1.2 $");
print_revision(argv[0],"$Revision: 6 $");
printf("Copyright (c) 2000 Teresa Ramanan (tlr@redowl.org)\n");
printf("\n");
printf("Usage: %s <host_address>\n",argv[0]);

View file

@ -71,7 +71,7 @@ sub print_help ();
$vcs_negate = '';
$vcs_result = '';
$vcs_expected_result = 'ONLINE';
$plugin_revision = '$Revision: 1.1 $ ';
$plugin_revision = '$Revision: 33 $ ';
# Grab options from command line
GetOptions

View file

@ -1,8 +1,8 @@
#!/usr/bin/perl -w
# $Id: check_wins.pl,v 1.3 2004/11/25 04:46:16 stanleyhopcroft Exp $
# $Id: check_wins.pl 940 2004-11-25 04:46:16Z stanleyhopcroft $
# $Log: check_wins.pl,v $
# $Log$
# Revision 1.3 2004/11/25 04:46:16 stanleyhopcroft
# Non functional tidy ups to check_wins
#
@ -190,7 +190,7 @@ sub print_usage () {
}
sub print_help () {
print_revision($PROGNAME,'$Revision: 1.3 $ ');
print_revision($PROGNAME,'$Revision: 940 $ ');
print "Copyright (c) 2001 Karl DeBisschop/S Hopcroft
Perl Check WINS plugin for NetSaint.
@ -237,7 +237,7 @@ The plugin works by
}
sub version () {
print_revision($PROGNAME,'$Revision: 1.3 $ ');
print_revision($PROGNAME,'$Revision: 940 $ ');
exit $ERRORS{'OK'};
}

View file

@ -1,8 +1,8 @@
package packet_utils;
# $Id: packet_utils.pm,v 1.1 2005/01/25 09:12:47 stanleyhopcroft Exp $
# $Id: packet_utils.pm 1100 2005-01-25 09:12:47Z stanleyhopcroft $
# $Log: packet_utils.pm,v $
# $Log$
# Revision 1.1 2005/01/25 09:12:47 stanleyhopcroft
# packet creation and dumping hacks used by check_ica* and check_lotus
#

View file

@ -8,7 +8,7 @@
#==========================================================================
#
# Version: = '$Id: utils.py,v 1.1.1.1 2002/02/28 06:42:54 egalstad Exp $'
# Version: = '$Id: utils.py 2 2002-02-28 06:42:51Z egalstad $'
#
# (C) Rob W.W. Hooft, Nonius BV, 1998
#