diff options
Diffstat (limited to 'plugins-scripts/t')
0 files changed, 0 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; | |||
19 | sub support(); | 22 | sub support(); |
20 | sub is_hostname; | 23 | sub 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 | ||
25 | sub print_revision ($$) { | 36 | sub print_revision ($$) { |
26 | my $commandName = shift; | 37 | my $commandName = shift; |
27 | my $pluginRevision = shift; | 38 | my $pluginRevision = shift; |