Imported Upstream version 1.4.13+git200906171200
This commit is contained in:
parent
4ab9f0d24c
commit
d0b8ab8112
362 changed files with 34110 additions and 10773 deletions
|
@ -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: 302 $' | sed -e 's/[^0-9.]//g'`
|
||||
REVISION=`echo '$Revision: 2091 $' | sed -e 's/[^0-9.]//g'`
|
||||
|
||||
. $PROGPATH/utils.sh
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ GetOptions
|
|||
"H=s" => \$opt_H, "hostname=s" => \$opt_H);
|
||||
|
||||
if ($opt_V) {
|
||||
print_revision($PROGNAME,'$Revision: 1771 $');
|
||||
print_revision($PROGNAME,'$Revision: 2091 $');
|
||||
exit $ERRORS{'OK'};
|
||||
}
|
||||
|
||||
|
@ -252,7 +252,7 @@ sub print_usage () {
|
|||
}
|
||||
|
||||
sub print_help () {
|
||||
print_revision($PROGNAME,'$Revision: 1771 $');
|
||||
print_revision($PROGNAME,'$Revision: 2091 $');
|
||||
print "Copyright (c) 2001 Gerald Combs/Jeffrey Blank/Karl DeBisschop
|
||||
|
||||
This plugin reports the status of an APC UPS equipped with an SNMP management
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
# using "aecho"
|
||||
#
|
||||
# initial version: 23 October 2002 by Stefan Beck, IT Software Solutions
|
||||
# current status: $Revision: 1771 $
|
||||
# current status: $Revision: 2091 $
|
||||
#
|
||||
# Copyright Notice: GPL
|
||||
#
|
||||
|
@ -122,7 +122,7 @@ while (<CMD>) {
|
|||
}
|
||||
|
||||
sub print_help() {
|
||||
print_revision( $PROGNAME, '$Revision: 1771 $ ' );
|
||||
print_revision( $PROGNAME, '$Revision: 2091 $ ' );
|
||||
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: 1771 $ ' );
|
||||
print_revision( $PROGNAME, '$Revision: 2091 $ ' );
|
||||
exit $ERRORS{'OK'};
|
||||
}
|
||||
|
||||
|
|
|
@ -55,7 +55,7 @@ if ($status == 0)
|
|||
|
||||
|
||||
if ($opt_V) {
|
||||
print_revision($PROGNAME,'$Revision: 1112 $ ');
|
||||
print_revision($PROGNAME,'$Revision: 2091 $ ');
|
||||
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: 1112 $');
|
||||
print_revision($PROGNAME, '$Revision: 2091 $');
|
||||
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/perl -w
|
||||
#
|
||||
# $Id: check_email_loop.pl 1290 2005-11-29 23:21:06Z harpermann $
|
||||
# $Id: check_email_loop.pl 2091 2008-11-23 05:38:47Z dermoth $
|
||||
#
|
||||
# (c)2000 Benjamin Schmid, blueshift@gmx.net (emergency use only ;-)
|
||||
# Copyleft by GNU GPL
|
||||
|
|
|
@ -111,7 +111,7 @@ sub print_usage () {
|
|||
}
|
||||
|
||||
sub print_help () {
|
||||
print_revision($PROGNAME,'$Revision: 1113 $\n ');
|
||||
print_revision($PROGNAME,'$Revision: 2091 $\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: 1113 $ ');
|
||||
print_revision($PROGNAME,'$Revision: 2091 $ ');
|
||||
exit $ERRORS{'OK'};
|
||||
}
|
||||
|
||||
|
|
|
@ -113,7 +113,7 @@ sub print_usage () {
|
|||
}
|
||||
|
||||
sub print_help () {
|
||||
print_revision($PROGNAME,'$Revision: 1113 $\n ');
|
||||
print_revision($PROGNAME,'$Revision: 2091 $\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: 1113 $ ');
|
||||
print_revision($PROGNAME,'$Revision: 2091 $ ');
|
||||
exit $ERRORS{'OK'};
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#! /usr/bin/perl -w
|
||||
#
|
||||
# $Id: check_frontpage 1112 2005-01-27 04:46:08Z stanleyhopcroft $
|
||||
# $Id: check_frontpage 2091 2008-11-23 05:38:47Z dermoth $
|
||||
#
|
||||
# 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: 1112 $'); #'
|
||||
print_revision($PROGNAME,'$Revision: 2091 $'); #'
|
||||
exit $ERRORS{'OK'};
|
||||
}
|
||||
|
||||
|
@ -139,7 +139,7 @@ sub print_usage () {
|
|||
}
|
||||
|
||||
sub print_help () {
|
||||
print_revision($PROGNAME,'$Revision: 1112 $');
|
||||
print_revision($PROGNAME,'$Revision: 2091 $');
|
||||
print "Copyright (c) 2003 Kev Green\n";
|
||||
print "\n";
|
||||
print "FrontPage remains a copyright/trademark of Microsoft Corporation.\n";
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
const char *progname = "check_http";
|
||||
#define REVISION "$Revision: 1117 $"
|
||||
#define REVISION "$Revision: 2091 $"
|
||||
#define CVSREVISION "1.24"
|
||||
#define COPYRIGHT "2003"
|
||||
#define AUTHORS "Fabian Pehla"
|
||||
|
|
|
@ -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: 939 $' | sed -e 's/[^0-9.]//g'`
|
||||
REVISION=`echo '$Revision: 2091 $' | sed -e 's/[^0-9.]//g'`
|
||||
|
||||
. $PROGPATH/utils.sh
|
||||
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
#!/usr/bin/perl -w
|
||||
|
||||
# $Id: check_ica_master_browser.pl 1099 2005-01-25 09:09:33Z stanleyhopcroft $
|
||||
# $Id: check_ica_master_browser.pl 2091 2008-11-23 05:38:47Z dermoth $
|
||||
|
||||
# $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 +169,7 @@ sub print_usage () {
|
|||
}
|
||||
|
||||
sub print_help () {
|
||||
print_revision($PROGNAME,'$Revision: 1099 $ ');
|
||||
print_revision($PROGNAME,'$Revision: 2091 $ ');
|
||||
print "Copyright (c) 2002 Ed Rolison/Tom De Blende/S Hopcroft
|
||||
|
||||
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
|
|||
}
|
||||
|
||||
sub version () {
|
||||
print_revision($PROGNAME,'$Revision: 1099 $ ');
|
||||
print_revision($PROGNAME,'$Revision: 2091 $ ');
|
||||
exit $ERRORS{'OK'};
|
||||
}
|
||||
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
#!/usr/bin/perl -w
|
||||
|
||||
# $Id: check_ica_metaframe_pub_apps.pl 1098 2005-01-25 09:07:39Z stanleyhopcroft $
|
||||
# $Id: check_ica_metaframe_pub_apps.pl 2091 2008-11-23 05:38:47Z dermoth $
|
||||
|
||||
# $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 +302,7 @@ sub print_usage () {
|
|||
}
|
||||
|
||||
sub print_help () {
|
||||
print_revision($PROGNAME,'$Revision: 1098 $ ');
|
||||
print_revision($PROGNAME,'$Revision: 2091 $ ');
|
||||
print "Copyright (c) 2002 Ed Rolison/Tom De Blende/S Hopcroft
|
||||
|
||||
Perl Check Citrix plugin for Nagios.
|
||||
|
@ -350,7 +349,7 @@ The plugin works by
|
|||
}
|
||||
|
||||
sub version () {
|
||||
print_revision($PROGNAME,'$Revision: 1098 $ ');
|
||||
print_revision($PROGNAME,'$Revision: 2091 $ ');
|
||||
exit $ERRORS{'OK'};
|
||||
}
|
||||
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
#!/usr/bin/perl -w
|
||||
|
||||
# $Id: check_ica_program_neigbourhood.pl 1097 2005-01-25 09:05:53Z stanleyhopcroft $
|
||||
# $Id: check_ica_program_neigbourhood.pl 2091 2008-11-23 05:38:47Z dermoth $
|
||||
|
||||
# $Log$
|
||||
# Revision 1.1 2005/01/25 09:05:53 stanleyhopcroft
|
||||
# New plugin to check Citrix Metaframe XP "Program Neighbourhood"
|
||||
#
|
||||
|
@ -290,7 +289,7 @@ sub print_help() {
|
|||
# 1 2 3 4 5 6 7 8
|
||||
#12345678901234567890123456789012345678901234567890123456789012345678901234567890
|
||||
|
||||
print_revision($PROGNAME,'$Revision: 1097 $ ');
|
||||
print_revision($PROGNAME,'$Revision: 2091 $ ');
|
||||
|
||||
my $help = <<EOHELP ;
|
||||
Copyright (c) 2004 Karl DeBisschop/S Hopcroft
|
||||
|
@ -345,7 +344,7 @@ sub usage {
|
|||
}
|
||||
|
||||
sub version () {
|
||||
print_revision($PROGNAME,'$Revision: 1097 $ ');
|
||||
print_revision($PROGNAME,'$Revision: 2091 $ ');
|
||||
exit $ERRORS{'OK'};
|
||||
}
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ GetOptions
|
|||
|
||||
|
||||
if ($opt_V) {
|
||||
print_revision($PROGNAME,'$Revision: 72 $ ');
|
||||
print_revision($PROGNAME,'$Revision: 2091 $ ');
|
||||
exit $ERRORS{'OK'};
|
||||
}
|
||||
|
||||
|
@ -114,7 +114,7 @@ sub print_usage () {
|
|||
}
|
||||
|
||||
sub print_help () {
|
||||
print_revision($PROGNAME,'$Revision: 72 $');
|
||||
print_revision($PROGNAME,'$Revision: 2091 $');
|
||||
print "Copyright (c) 2002 Andrew Ryder\n";
|
||||
print "\n";
|
||||
print_usage();
|
||||
|
|
|
@ -170,7 +170,7 @@ Perl Check java processes plugin for Nagios
|
|||
}
|
||||
|
||||
sub revision() {
|
||||
print_revision($PROGNAME,'$Revision: 211 $ ');
|
||||
print_revision($PROGNAME,'$Revision: 2091 $ ');
|
||||
}
|
||||
|
||||
sub version () {
|
||||
|
|
|
@ -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: 2 $' | sed -e 's/[^0-9.]//g'`
|
||||
REVISION=`echo '$Revision: 2091 $' | sed -e 's/[^0-9.]//g'`
|
||||
STATUS=""
|
||||
|
||||
. $PROGPATH/utils.sh
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/perl -w
|
||||
#
|
||||
# $Id: check_log2.pl 1300 2005-12-16 18:41:45Z harpermann $
|
||||
# $Id: check_log2.pl 2091 2008-11-23 05:38:47Z dermoth $
|
||||
#
|
||||
# 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: 1300 $ ';
|
||||
$plugin_revision = '$Revision: 2091 $ ';
|
||||
|
||||
# Grab options from command line
|
||||
GetOptions
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
#!/usr/bin/perl -w
|
||||
|
||||
# $Id: check_lotus.pl 1096 2005-01-25 09:04:26Z stanleyhopcroft $
|
||||
# $Id: check_lotus.pl 2091 2008-11-23 05:38:47Z dermoth $
|
||||
|
||||
# $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 +218,7 @@ sub print_usage () {
|
|||
}
|
||||
|
||||
sub print_help () {
|
||||
print_revision($PROGNAME,'$Revision: 1096 $ ');
|
||||
print_revision($PROGNAME,'$Revision: 2091 $ ');
|
||||
print "Copyright (c) 2004 Ed Rolison/S Hopcroft
|
||||
|
||||
Perl Check Lotus Notes plugin for Nagios.
|
||||
|
@ -250,7 +249,7 @@ Returns OK if the named server responds with its name.
|
|||
}
|
||||
|
||||
sub version () {
|
||||
print_revision($PROGNAME,'$Revision: 1096 $ ');
|
||||
print_revision($PROGNAME,'$Revision: 2091 $ ');
|
||||
exit $ERRORS{'OK'};
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/perl -w
|
||||
# $Id: check_mem.pl 2 2002-02-28 06:42:51Z egalstad $
|
||||
# $Id: check_mem.pl 2091 2008-11-23 05:38:47Z dermoth $
|
||||
|
||||
# check_mem.pl Copyright (C) 2000 Dan Larsson <dl@tyfon.net>
|
||||
#
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
#!/usr/bin/perl -w
|
||||
|
||||
# $Id: check_ms_spooler.pl 64 2002-07-16 00:04:42Z stanleyhopcroft $
|
||||
# $Id: check_ms_spooler.pl 2091 2008-11-23 05:38:47Z dermoth $
|
||||
|
||||
# $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 +267,7 @@ sub print_usage () {
|
|||
}
|
||||
|
||||
sub print_help () {
|
||||
print_revision($PROGNAME,'$Revision: 64 $ ');
|
||||
print_revision($PROGNAME,'$Revision: 2091 $ ');
|
||||
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 +291,7 @@ Perl Check MS Spooler plugin for NetSaint. Display a subset of the queues on an
|
|||
}
|
||||
|
||||
sub version () {
|
||||
print_revision($PROGNAME,'$Revision: 64 $ ');
|
||||
print_revision($PROGNAME,'$Revision: 2091 $ ');
|
||||
exit $ERRORS{'OK'};
|
||||
}
|
||||
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
# Written by: Erwan Arzur (erwan@netvalue.com)
|
||||
# License: GPL
|
||||
#
|
||||
# Last Modified: $Date: 2002-02-28 06:42:51 +0000 (Thu, 28 Feb 2002) $
|
||||
# Revisiin: $Revision: 2 $
|
||||
# Last Modified: $Date: 2008-11-23 05:38:47 +0000 (Sun, 23 Nov 2008) $
|
||||
# Revisiin: $Revision: 2091 $
|
||||
#
|
||||
# "check_ora_table_space.pl" plugin to check the state of Oracle
|
||||
# table spaces. Scarce documentation.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/perl
|
||||
# $Id: check_oracle_instance.pl 10 2002-04-03 02:58:47Z sghosh $
|
||||
# $Id: check_oracle_instance.pl 2091 2008-11-23 05:38:47Z dermoth $
|
||||
|
||||
# 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: 10 $' =~ /^.*(\d+.\d+) \$$/; # Use The Revision from RCS/CVS
|
||||
'$Revision: 2091 $' =~ /^.*(\d+.\d+) \$$/; # Use The Revision from RCS/CVS
|
||||
$VERSION = $1;
|
||||
$0 =~ m!^.*/([^/]+)$!;
|
||||
$PROGNAME = $1;
|
||||
|
|
|
@ -30,7 +30,7 @@ if (!$ENV{ORACLE_HOME}) {
|
|||
my $state = $ERRORS{'UNKNOWN'};
|
||||
my $answer = undef;
|
||||
|
||||
my ($MAJOR_VERSION, $MINOR_VERSION) = q$Revision: 1134 $ =~ /(\d+)\.(\d+)/;
|
||||
my ($MAJOR_VERSION, $MINOR_VERSION) = q$Revision: 2091 $ =~ /(\d+)\.(\d+)/;
|
||||
my $VERSION = sprintf("%d.%02d", $MAJOR_VERSION - 1, $MINOR_VERSION);
|
||||
|
||||
my $opt_debug; # -d|--debug
|
||||
|
|
|
@ -27,7 +27,7 @@ GetOptions
|
|||
"c=s" => \$opt_c, "critical=s" => \$opt_c);
|
||||
|
||||
if ($opt_V) {
|
||||
print_revision($PROGNAME,'$Revision: 1112 $');
|
||||
print_revision($PROGNAME,'$Revision: 2091 $');
|
||||
exit $ERRORS{'OK'};
|
||||
}
|
||||
if ($opt_h) {
|
||||
|
@ -67,7 +67,7 @@ exit $ERRORS{'OK'};
|
|||
|
||||
|
||||
sub print_help {
|
||||
print_revision($PROGNAME,'$Revision: 1112 $');
|
||||
print_revision($PROGNAME,'$Revision: 2091 $');
|
||||
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();
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
* * License: GPL
|
||||
* * Copyright (c) 2000
|
||||
* *
|
||||
* * $Id: check_rbl.c 970 2004-12-02 00:30:32Z opensides $
|
||||
* * $Id: check_rbl.c 2091 2008-11-23 05:38:47Z dermoth $
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
|||
#include "string.h"
|
||||
|
||||
const char progname = "check_rbl";
|
||||
const char *revision = "$Revision: 970 $";
|
||||
const char *revision = "$Revision: 2091 $";
|
||||
//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: 970 $");
|
||||
print_revision(progname,"$Revision: 2091 $");
|
||||
exit(STATE_OK);
|
||||
case 'h': /* help */
|
||||
print_help();
|
||||
|
@ -291,7 +291,7 @@ int validate_arguments(void)
|
|||
|
||||
void print_help(void)
|
||||
{
|
||||
print_revision(progname,"$Revision: 970 $");
|
||||
print_revision(progname,"$Revision: 2091 $");
|
||||
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");
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
#
|
||||
PROGNAME=`basename $0`
|
||||
PROGPATH=`echo $0 | /bin/sed -e 's,[\\/][^\\/][^\\/]*$,,'`
|
||||
REVISION=`echo '$Revision: 71 $' | sed -e 's/[^0-9.]//g'`
|
||||
REVISION=`echo '$Revision: 2091 $' | sed -e 's/[^0-9.]//g'`
|
||||
|
||||
|
||||
. $PROGPATH/utils.sh
|
||||
|
|
|
@ -52,7 +52,7 @@ sub process_options {
|
|||
}
|
||||
|
||||
sub local_print_revision {
|
||||
print_revision( $PROGNAME, '$Revision: 82 $ ' )
|
||||
print_revision( $PROGNAME, '$Revision: 2091 $ ' )
|
||||
}
|
||||
|
||||
sub print_usage {
|
||||
|
|
|
@ -116,7 +116,7 @@ GetOptions
|
|||
$PROGNAME = "check_snmp_printer";
|
||||
|
||||
if ($opt_V) {
|
||||
print_revision($PROGNAME,'$Revision: 795 $');
|
||||
print_revision($PROGNAME,'$Revision: 2091 $');
|
||||
exit $ERRORS{'OK'};
|
||||
}
|
||||
|
||||
|
@ -572,7 +572,7 @@ sub print_usage () {
|
|||
}
|
||||
|
||||
sub print_help () {
|
||||
print_revision($PROGNAME,'$Revision: 795 $');
|
||||
print_revision($PROGNAME,'$Revision: 2091 $');
|
||||
print "Copyright (c) 2002 Subhendu Ghosh/Ethan Galstad.
|
||||
|
||||
This plugin reports the status of an network printer with an SNMP management
|
||||
|
|
|
@ -91,7 +91,7 @@ sub process_options {
|
|||
}
|
||||
|
||||
sub local_print_revision {
|
||||
print_revision( $PROGNAME, '$Revision: 84 $ ' )
|
||||
print_revision( $PROGNAME, '$Revision: 2091 $ ' )
|
||||
}
|
||||
|
||||
sub print_usage {
|
||||
|
|
|
@ -109,7 +109,7 @@ if (GetOptions(
|
|||
}
|
||||
|
||||
if ($opt_version) {
|
||||
print_revision($PROGNAME, "\$Revision: 1771 $REVISION \$");
|
||||
print_revision($PROGNAME, "\$Revision: 2091 $REVISION \$");
|
||||
exit $ERRORS{'OK'};
|
||||
}
|
||||
|
||||
|
@ -529,7 +529,7 @@ sub print_usage {
|
|||
|
||||
#
|
||||
sub print_help {
|
||||
print_revision($PROGNAME, "\$Revision: 1771 $REVISION \$");
|
||||
print_revision($PROGNAME, "\$Revision: 2091 $REVISION \$");
|
||||
print "Copyright (c) 2003 David Alden
|
||||
|
||||
Check if processes are running on a host via snmp
|
||||
|
|
|
@ -138,7 +138,7 @@ sub print_usage () {
|
|||
}
|
||||
|
||||
sub print_help () {
|
||||
print_revision($PROGNAME,'$Revision: 1113 $\n ');
|
||||
print_revision($PROGNAME,'$Revision: 2091 $\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: 1113 $ ');
|
||||
print_revision($PROGNAME,'$Revision: 2091 $ ');
|
||||
exit $ERRORS{'OK'};
|
||||
}
|
||||
|
||||
|
|
|
@ -138,7 +138,7 @@ sub print_usage () {
|
|||
}
|
||||
|
||||
sub print_help () {
|
||||
print_revision($PROGNAME,'$Revision: 1113 $\n ');
|
||||
print_revision($PROGNAME,'$Revision: 2091 $\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: 1113 $ ');
|
||||
print_revision($PROGNAME,'$Revision: 2091 $ ');
|
||||
exit $ERRORS{'OK'};
|
||||
}
|
||||
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
#!/usr/bin/perl
|
||||
|
||||
# $Id: check_traceroute.pl 1115 2005-01-27 10:34:16Z stanleyhopcroft $
|
||||
# $Id: check_traceroute.pl 2091 2008-11-23 05:38:47Z dermoth $
|
||||
|
||||
# $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 +31,7 @@ getopts('i:H:N:R:T:dhrvV');
|
|||
do { print_help ; exit $ERRORS{OK}; }
|
||||
if $opt_h ;
|
||||
|
||||
do { print_revision($PROGNAME, '$Revision: 1115 $'); exit $ERRORS{OK}; }
|
||||
do { print_revision($PROGNAME, '$Revision: 2091 $'); exit $ERRORS{OK}; }
|
||||
if $opt_V ;
|
||||
|
||||
do { print_help; exit $ERRORS{OK}; }
|
||||
|
@ -176,7 +175,7 @@ sub print_usage () {
|
|||
}
|
||||
|
||||
sub print_help () {
|
||||
print_revision($PROGNAME, '$Revision: 1115 $') ;
|
||||
print_revision($PROGNAME, '$Revision: 2091 $') ;
|
||||
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
|
||||
|
|
|
@ -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 +0000 (Fri, 01 Mar 2002) $
|
||||
* Last Modified: $Date: 2008-11-23 05:38:47 +0000 (Sun, 23 Nov 2008) $
|
||||
*
|
||||
* 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: 6 $");
|
||||
print_revision(argv[0],"$Revision: 2091 $");
|
||||
printf("Copyright (c) 2000 Teresa Ramanan (tlr@redowl.org)\n");
|
||||
printf("\n");
|
||||
printf("Usage: %s <host_address>\n",argv[0]);
|
||||
|
|
|
@ -71,7 +71,7 @@ sub print_help ();
|
|||
$vcs_negate = '';
|
||||
$vcs_result = '';
|
||||
$vcs_expected_result = 'ONLINE';
|
||||
$plugin_revision = '$Revision: 33 $ ';
|
||||
$plugin_revision = '$Revision: 2091 $ ';
|
||||
|
||||
# Grab options from command line
|
||||
GetOptions
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
#!/usr/bin/perl -w
|
||||
|
||||
# $Id: check_wins.pl 940 2004-11-25 04:46:16Z stanleyhopcroft $
|
||||
# $Id: check_wins.pl 2091 2008-11-23 05:38:47Z dermoth $
|
||||
|
||||
# $Log$
|
||||
# Revision 1.3 2004/11/25 04:46:16 stanleyhopcroft
|
||||
# Non functional tidy ups to check_wins
|
||||
#
|
||||
|
@ -190,7 +189,7 @@ sub print_usage () {
|
|||
}
|
||||
|
||||
sub print_help () {
|
||||
print_revision($PROGNAME,'$Revision: 940 $ ');
|
||||
print_revision($PROGNAME,'$Revision: 2091 $ ');
|
||||
print "Copyright (c) 2001 Karl DeBisschop/S Hopcroft
|
||||
|
||||
Perl Check WINS plugin for NetSaint.
|
||||
|
@ -237,7 +236,7 @@ The plugin works by
|
|||
}
|
||||
|
||||
sub version () {
|
||||
print_revision($PROGNAME,'$Revision: 940 $ ');
|
||||
print_revision($PROGNAME,'$Revision: 2091 $ ');
|
||||
exit $ERRORS{'OK'};
|
||||
}
|
||||
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
package packet_utils;
|
||||
|
||||
# $Id: packet_utils.pm 1100 2005-01-25 09:12:47Z stanleyhopcroft $
|
||||
# $Id: packet_utils.pm 2091 2008-11-23 05:38:47Z dermoth $
|
||||
|
||||
# $Log$
|
||||
# Revision 1.1 2005/01/25 09:12:47 stanleyhopcroft
|
||||
# packet creation and dumping hacks used by check_ica* and check_lotus
|
||||
#
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
#==========================================================================
|
||||
#
|
||||
# Version: = '$Id: utils.py 2 2002-02-28 06:42:51Z egalstad $'
|
||||
# Version: = '$Id: utils.py 2091 2008-11-23 05:38:47Z dermoth $'
|
||||
#
|
||||
# (C) Rob W.W. Hooft, Nonius BV, 1998
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue