diff --git a/scripts/zmwatch.pl.in b/scripts/zmwatch.pl.in index 2d37ff475..75d6d8536 100644 --- a/scripts/zmwatch.pl.in +++ b/scripts/zmwatch.pl.in @@ -132,7 +132,7 @@ while (!$zm_terminate) { Debug("Monitor $monitor->{Id} $monitor->{Name}, startup time $now - $startup_time $startup_elapsed ControlId()) { my $control = $monitor->Control(); - if ($control and $control->CanReboot() and $control->open()) { + if ($control and $control->CanReboot() and $control->ping() and $control->open()) { $control->reboot(); } }