mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-06-08 16:26:23 -04:00
xntpdc/ntpdc patch - John Koyle
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@48 f882894a-f735-0410-b71e-b25c423dba1c
This commit is contained in:
parent
4bea73077b
commit
5313d0d603
1 changed files with 3 additions and 2 deletions
|
|
@ -120,10 +120,11 @@ my $dispersion_error = $ERRORS{'UNKNOWN'};
|
|||
|
||||
my $key = undef;
|
||||
# some systems don't have a proper ntpdc/xntpdc
|
||||
my $have_ntpdc = undef;
|
||||
if ($utils::PATH_TO_NTPDC && -x $utils::PATH_TO_NTPDC ) {
|
||||
my $have_ntpdc = 1;
|
||||
$have_ntpdc = 1;
|
||||
}else{
|
||||
my $have_ntpdc = 0;
|
||||
$have_ntpdc = 0;
|
||||
}
|
||||
|
||||
# Just in case of problems, let's not hang Nagios
|
||||
|
|
|
|||
Loading…
Reference in a new issue