diff --git a/src/monitor/src/monitor/HostMonitorManager.cc b/src/monitor/src/monitor/HostMonitorManager.cc index 38464414cf..b32325a677 100644 --- a/src/monitor/src/monitor/HostMonitorManager.cc +++ b/src/monitor/src/monitor/HostMonitorManager.cc @@ -152,8 +152,7 @@ void HostMonitorManager::update_host(int oid, const std::string &xml) { stop_host_monitor(host); } - else if ((old_state == Host::OFFLINE || old_state == Host::ERROR) - && !host->monitor_in_progress()) + else if (old_state == Host::OFFLINE && !host->monitor_in_progress()) { start_host_monitor(host); }