diff options
author | Monitoring Plugins Development Team <devel@monitoring-plugins.org> | 2014-01-18 03:40:24 -0500 |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2014-01-19 14:18:47 -0500 |
commit | 63734f52ab1b4b2c17545b26fc41016d6bbd80bd (patch) | |
tree | dcd7aa3fd9a2a6a69a47d3a7e6a18d034426087a /plugins-scripts | |
parent | 9db763963f3993f923619a2147e4313b09f12134 (diff) | |
download | monitoring-plugins-63734f52ab1b4b2c17545b26fc41016d6bbd80bd.tar.gz |
Project rename initial commit.
This is an initial take at renaming the project to Monitoring Plugins.
It's not expected to be fully complete, and it is expected to break
things (The perl module for instance). More testing will be required
before this goes mainline.
Diffstat (limited to 'plugins-scripts')
-rwxr-xr-x | plugins-scripts/check_disk_smb.pl | 6 | ||||
-rwxr-xr-x | plugins-scripts/check_file_age.pl | 5 | ||||
-rwxr-xr-x | plugins-scripts/check_flexlm.pl | 4 | ||||
-rwxr-xr-x | plugins-scripts/check_ifoperstatus.pl | 10 | ||||
-rwxr-xr-x | plugins-scripts/check_ifstatus.pl | 10 | ||||
-rwxr-xr-x | plugins-scripts/check_ircd.pl | 6 | ||||
-rwxr-xr-x | plugins-scripts/check_log.sh | 18 | ||||
-rwxr-xr-x | plugins-scripts/check_mssql.pl | 4 | ||||
-rwxr-xr-x | plugins-scripts/check_ntp.pl | 2 | ||||
-rwxr-xr-x | plugins-scripts/check_oracle.sh | 2 | ||||
-rwxr-xr-x | plugins-scripts/check_rpc.pl | 4 | ||||
-rw-r--r-- | plugins-scripts/utils.pm.in | 4 |
12 files changed, 36 insertions, 39 deletions
diff --git a/plugins-scripts/check_disk_smb.pl b/plugins-scripts/check_disk_smb.pl index 0c89db57..8b6cd2eb 100755 --- a/plugins-scripts/check_disk_smb.pl +++ b/plugins-scripts/check_disk_smb.pl @@ -3,7 +3,7 @@ # # check_disk.pl <host> <share> <user> <pass> [warn] [critical] [port] # -# Nagios host script to get the disk usage from a SMB share +# Monitoring host script to get the disk usage from a SMB share # # Changes and Modifications # ========================= @@ -171,7 +171,7 @@ my $res = undef; my $perfdata = ""; my @lines = undef; -# Just in case of problems, let's not hang Nagios +# Just in case of problems, let's not hang the monitoring system $SIG{'ALRM'} = sub { print "No Answer from Client\n"; exit $ERRORS{"UNKNOWN"}; @@ -293,7 +293,7 @@ sub print_help () { print_revision($PROGNAME,'@NP_VERSION@'); print "Copyright (c) 2000 Michael Anthon/Karl DeBisschop -Perl Check SMB Disk plugin for Nagios +Perl Check SMB Disk plugin for monitoring "; print_usage(); diff --git a/plugins-scripts/check_file_age.pl b/plugins-scripts/check_file_age.pl index dcd5efab..2ae11386 100755 --- a/plugins-scripts/check_file_age.pl +++ b/plugins-scripts/check_file_age.pl @@ -17,9 +17,8 @@ # GNU General Public License for more details. # # you should have received a copy of the GNU General Public License -# along with this program (or with Nagios); if not, write to the -# Free Software Foundation, Inc., 59 Temple Place - Suite 330, -# Boston, MA 02111-1307, USA +# along with this program if not, write to the Free Software Foundation, +# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA use strict; use English; diff --git a/plugins-scripts/check_flexlm.pl b/plugins-scripts/check_flexlm.pl index 54d933c7..574c1ccf 100755 --- a/plugins-scripts/check_flexlm.pl +++ b/plugins-scripts/check_flexlm.pl @@ -9,7 +9,7 @@ # Check and interpret the output of lmstat # and create returncodes and output. # -# Contrary to the nagios concept, this script takes +# Contrary to most other plugins, this script takes # a file, not a hostname as an argument and returns # the status of hosts and services described in that # file. Use these hosts.cfg entries as an example @@ -72,7 +72,7 @@ unless (defined $opt_F) { print_usage(); exit $ERRORS{'UNKNOWN'}; } -# Just in case of problems, let's not hang Nagios +# Just in case of problems, let's not hang the monitoring system $SIG{'ALRM'} = sub { print "Timeout: No Answer from Client\n"; exit $ERRORS{'UNKNOWN'}; diff --git a/plugins-scripts/check_ifoperstatus.pl b/plugins-scripts/check_ifoperstatus.pl index 588993be..abcec68f 100755 --- a/plugins-scripts/check_ifoperstatus.pl +++ b/plugins-scripts/check_ifoperstatus.pl @@ -1,9 +1,9 @@ #!/usr/local/bin/perl -w # -# check_ifoperstatus.pl - nagios plugin +# check_ifoperstatus.pl - monitoring plugin # # Copyright (C) 2000 Christoph Kron, -# Modified 5/2002 to conform to updated Nagios Plugin Guidelines +# Modified 5/2002 to conform to updated Monitoring Plugins Guidelines # Added support for named interfaces per Valdimir Ivaschenko (S. Ghosh) # Added SNMPv3 support (10/2003) # @@ -22,7 +22,7 @@ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # -# Report bugs to: nagiosplug-help@lists.sourceforge.net +# Report bugs to: help@monitoring-plugins.org # # 11.01.2000 Version 1.0 # @@ -97,7 +97,7 @@ my %session_opts; $status = process_arguments(); -# Just in case of problems, let's not hang Nagios +# Just in case of problems, let's not hang the monitoring system $SIG{'ALRM'} = sub { print ("ERROR: No snmp response from $hostname (alarm)\n"); exit $ERRORS{"UNKNOWN"}; @@ -288,7 +288,7 @@ sub print_usage() { sub print_help() { print_revision($PROGNAME, '@NP_VERSION@'); print_usage(); - printf "check_ifoperstatus plugin for Nagios monitors operational \n"; + printf "check_ifoperstatus plugin for monitoring operational \n"; printf "status of a particular network interface on the target host\n"; printf "\nUsage:\n"; printf " -H (--hostname) Hostname to query - (required)\n"; diff --git a/plugins-scripts/check_ifstatus.pl b/plugins-scripts/check_ifstatus.pl index 63c71ffa..a4be9602 100755 --- a/plugins-scripts/check_ifstatus.pl +++ b/plugins-scripts/check_ifstatus.pl @@ -1,10 +1,10 @@ #!/usr/local/bin/perl -w # -# check_ifstatus.pl - nagios plugin +# check_ifstatus.pl - monitoring plugin # # # Copyright (C) 2000 Christoph Kron -# Modified 5/2002 to conform to updated Nagios Plugin Guidelines (S. Ghosh) +# Modified 5/2002 to conform to updated Monitoring Plugins Guidelines (S. Ghosh) # Added -x option (4/2003) # Added -u option (4/2003) # Added -M option (10/2003) @@ -25,7 +25,7 @@ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # -# Report bugs to: ck@zet.net, nagiosplug-help@lists.sf.net +# Report bugs to: ck@zet.net, help@monitoring-plugins.org # # 11.01.2000 Version 1.0 # @@ -99,7 +99,7 @@ my %session_opts; -# Just in case of problems, let's not hang Nagios +# Just in case of problems, let's not hang the monitoring system $SIG{'ALRM'} = sub { print ("ERROR: No snmp response from $hostname (alarm timeout)\n"); exit $ERRORS{"UNKNOWN"}; @@ -239,7 +239,7 @@ sub print_usage() { sub print_help() { print_revision($PROGNAME, '@NP_VERSION@'); print_usage(); - printf "check_ifstatus plugin for Nagios monitors operational \n"; + printf "check_ifstatus plugin for monitoring operational \n"; printf "status of each network interface on the target host\n"; printf "\nUsage:\n"; printf " -H (--hostname) Hostname to query - (required)\n"; diff --git a/plugins-scripts/check_ircd.pl b/plugins-scripts/check_ircd.pl index 42a9bca9..7612a0ef 100755 --- a/plugins-scripts/check_ircd.pl +++ b/plugins-scripts/check_ircd.pl @@ -16,8 +16,6 @@ # ----------------------------------------------------------------------------- # Copyright 1999 (c) Richard Mayhew # -# Credits go to Ethan Galstad for coding Nagios -# # If any changes are made to this script, please mail me a copy of the # changes :) # @@ -121,7 +119,7 @@ sub print_help () print_revision($PROGNAME,'@NP_VERSION@'); print "Copyright (c) 2000 Richard Mayhew/Karl DeBisschop -Perl Check IRCD plugin for Nagios +Perl Check IRCD plugin for monitoring "; print_usage(); @@ -205,7 +203,7 @@ MAIN: if ($opt_t && $opt_t =~ /^([0-9]+)$/) { $TIMEOUT = $1; } - # Just in case of problems, let's not hang Nagios + # Just in case of problems, let's not hang the monitoring system $SIG{'ALRM'} = sub { print "Somthing is Taking a Long Time, Increase Your TIMEOUT (Currently Set At $TIMEOUT Seconds)\n"; exit $ERRORS{"UNKNOWN"}; diff --git a/plugins-scripts/check_log.sh b/plugins-scripts/check_log.sh index ca5810ab..54408cbd 100755 --- a/plugins-scripts/check_log.sh +++ b/plugins-scripts/check_log.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# Log file pattern detector plugin for Nagios +# Log file pattern detector plugin for monitoring # Written by Ethan Galstad (nagios@nagios.org) # Last Modified: 07-31-1999 # @@ -29,15 +29,15 @@ # # If you use this plugin make sure to keep the following in mind: # -# 1. The "max_attempts" value for the service should be 1, as this -# will prevent Nagios from retrying the service check (the +# 1. The "max_attempts" value for the service should be 1, as this will +# prevent the monitoring system from retrying the service check (the # next time the check is run it will not produce the same results). # -# 2. The "notify_recovery" value for the service should be 0, so that -# Nagios does not notify you of "recoveries" for the check. Since -# pattern matches in the log file will only be reported once and not -# the next time, there will always be "recoveries" for the service, even -# though recoveries really don't apply to this type of check. +# 2. The "notify_recovery" value for the service should be 0, so that the +# monitoring system does not notify you of "recoveries" for the check. +# Since pattern matches in the log file will only be reported once and +# not the next time, there will always be "recoveries" for the service, +# even though recoveries really don't apply to this type of check. # # 3. You *must* supply a different <old_file_log> for each service that # you define to use this plugin script - even if the different services @@ -85,7 +85,7 @@ print_help() { echo "" print_usage echo "" - echo "Log file pattern detector plugin for Nagios" + echo "Log file pattern detector plugin for monitoring" echo "" support } diff --git a/plugins-scripts/check_mssql.pl b/plugins-scripts/check_mssql.pl index 9a8fc511..e3e7391d 100755 --- a/plugins-scripts/check_mssql.pl +++ b/plugins-scripts/check_mssql.pl @@ -21,7 +21,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # -# Report bugs to: nagiosplug-help@lists.sourceforge.net +# Report bugs to: help@monitoring-plugins.org # # @@ -44,7 +44,7 @@ my $exitcode = $ERRORS{'OK'}; process_arguments(); -# Just in case of problems, let's not hang Nagios +# Just in case of problems, let's not hang the monitoring system $SIG{'ALRM'} = sub { print ("SQL UNKNOWN: ERROR connection $server (alarm timeout)\n"); exit $ERRORS{"UNKNOWN"}; diff --git a/plugins-scripts/check_ntp.pl b/plugins-scripts/check_ntp.pl index 5c87e0a6..d452b1b2 100755 --- a/plugins-scripts/check_ntp.pl +++ b/plugins-scripts/check_ntp.pl @@ -172,7 +172,7 @@ if ($utils::PATH_TO_NTPQ && -x $utils::PATH_TO_NTPQ ) { $have_ntpq = 0; } -# Just in case of problems, let's not hang Nagios +# Just in case of problems, let's not hang the monitoring system $SIG{'ALRM'} = sub { print ("ERROR: No response from ntp server (alarm)\n"); exit $ERRORS{"UNKNOWN"}; diff --git a/plugins-scripts/check_oracle.sh b/plugins-scripts/check_oracle.sh index 2a8ab21d..73a19cff 100755 --- a/plugins-scripts/check_oracle.sh +++ b/plugins-scripts/check_oracle.sh @@ -3,7 +3,7 @@ # latigid010@yahoo.com # 01/06/2000 # -# This Nagios plugin was created to check Oracle status +# This Monitoring plugin was created to check Oracle status # PROGNAME=`basename $0` diff --git a/plugins-scripts/check_rpc.pl b/plugins-scripts/check_rpc.pl index d2701e95..474067e3 100755 --- a/plugins-scripts/check_rpc.pl +++ b/plugins-scripts/check_rpc.pl @@ -1,6 +1,6 @@ #!/usr/local/bin/perl -w # -# check_rpc plugin for nagios +# check_rpc plugin for monitoring # # usage: # check_rpc host service @@ -254,7 +254,7 @@ $proto = 't' if ($opt_t); $proto = 'u' if ($opt_u); -# Just in case of problems, let's not hang Nagios +# Just in case of problems, let's not hang the monitoring system $SIG{'ALRM'} = sub { print ("ERROR: No response from RPC server (alarm)\n"); exit $ERRORS{"UNKNOWN"}; diff --git a/plugins-scripts/utils.pm.in b/plugins-scripts/utils.pm.in index 37cd62c3..b25def54 100644 --- a/plugins-scripts/utils.pm.in +++ b/plugins-scripts/utils.pm.in @@ -1,6 +1,6 @@ -# Utility drawer for Nagios plugins. +# Utility drawer for monitoring plugins. # -# This will be deprecated soon. Please use Nagios::Plugin from CPAN +# This will be deprecated soon. Please use Monitoring::Plugin from CPAN # for new plugins package utils; |