summaryrefslogtreecommitdiffstats
path: root/plugins-scripts/check_ircd.pl
diff options
context:
space:
mode:
Diffstat (limited to 'plugins-scripts/check_ircd.pl')
-rwxr-xr-xplugins-scripts/check_ircd.pl5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins-scripts/check_ircd.pl b/plugins-scripts/check_ircd.pl
index 7a90a96b..cc730cff 100755
--- a/plugins-scripts/check_ircd.pl
+++ b/plugins-scripts/check_ircd.pl
@@ -7,7 +7,6 @@
7# 7#
8# Date: 1999/09/20 8# Date: 1999/09/20
9# 9#
10# $Id$
11# 10#
12# Description: This script will check to see if an IRCD is running 11# Description: This script will check to see if an IRCD is running
13# about how many users it has 12# about how many users it has
@@ -119,7 +118,7 @@ sub print_usage () {
119 118
120sub print_help () 119sub print_help ()
121{ 120{
122 print_revision($PROGNAME,'$Revision$ '); 121 print_revision($PROGNAME,'@NP_VERSION@');
123 print "Copyright (c) 2000 Richard Mayhew/Karl DeBisschop 122 print "Copyright (c) 2000 Richard Mayhew/Karl DeBisschop
124 123
125Perl Check IRCD plugin for Nagios 124Perl Check IRCD plugin for Nagios
@@ -190,7 +189,7 @@ MAIN:
190 "H=s" => \$opt_H, "hostname=s" => \$opt_H); 189 "H=s" => \$opt_H, "hostname=s" => \$opt_H);
191 190
192 if ($opt_V) { 191 if ($opt_V) {
193 print_revision($PROGNAME,'$Revision$ '); 192 print_revision($PROGNAME,'@NP_VERSION@');
194 exit $ERRORS{'OK'}; 193 exit $ERRORS{'OK'};
195 } 194 }
196 195