summaryrefslogtreecommitdiffstats
path: root/plugins-scripts/utils.pm.in
diff options
context:
space:
mode:
authorSubhendu Ghosh <sghosh@users.sourceforge.net>2002-05-10 03:49:22 (GMT)
committerSubhendu Ghosh <sghosh@users.sourceforge.net>2002-05-10 03:49:22 (GMT)
commit06932673d3582390f5309fd6a55108b3818106e0 (patch)
tree02fcb56fb510d56b375ec41592b955fc720e544c /plugins-scripts/utils.pm.in
parentcf013839c45b5b3becdc37fe11c61ce57ad5b138 (diff)
downloadmonitoring-plugins-06932673d3582390f5309fd6a55108b3818106e0.tar.gz
added programs to autoconf
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@31 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins-scripts/utils.pm.in')
-rw-r--r--plugins-scripts/utils.pm.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/plugins-scripts/utils.pm.in b/plugins-scripts/utils.pm.in
index ed105dd..304d378 100644
--- a/plugins-scripts/utils.pm.in
+++ b/plugins-scripts/utils.pm.in
@@ -2,6 +2,9 @@
2# $Id$ 2# $Id$
3# 3#
4# $Log$ 4# $Log$
5# Revision 1.3 2002/05/10 03:49:22 sghosh
6# added programs to autoconf
7#
5# Revision 1.2 2002/05/08 05:10:35 sghosh 8# Revision 1.2 2002/05/08 05:10:35 sghosh
6# is_hostname added, update CODES to POSIX 9# is_hostname added, update CODES to POSIX
7# 10#
@@ -19,9 +22,17 @@ sub usage;
19sub support(); 22sub support();
20sub is_hostname; 23sub is_hostname;
21 24
25## updated by autoconf
26$PATH_TO_RPCINFO = "@PATH_TO_RPCINFO@" ;
27$PATH_TO_NTPDATE = "@PATH_TO_NTPDATE@" ;
28$PATH_TO_NTPDC = "@PATH_TO_NTPDC@" ;
29$PATH_TO_LMSTAT = "@PATH_TO_LMSTAT@" ;
30
31## common variables
22$TIMEOUT = 15; 32$TIMEOUT = 15;
23%ERRORS=('OK'=>0,'WARNING'=>1,'CRITICAL'=>2,'UNKNOWN'=>3,'DEPENDENT'=>4); 33%ERRORS=('OK'=>0,'WARNING'=>1,'CRITICAL'=>2,'UNKNOWN'=>3,'DEPENDENT'=>4);
24 34
35## utility subroutines
25sub print_revision ($$) { 36sub print_revision ($$) {
26 my $commandName = shift; 37 my $commandName = shift;
27 my $pluginRevision = shift; 38 my $pluginRevision = shift;