diff --git a/src/v2i-hub/RSUHealthMonitorPlugin/src/RSUHealthMonitorPlugin.cpp b/src/v2i-hub/RSUHealthMonitorPlugin/src/RSUHealthMonitorPlugin.cpp index 68b848d84..64ba11355 100755 --- a/src/v2i-hub/RSUHealthMonitorPlugin/src/RSUHealthMonitorPlugin.cpp +++ b/src/v2i-hub/RSUHealthMonitorPlugin/src/RSUHealthMonitorPlugin.cpp @@ -117,8 +117,8 @@ namespace RSUHealthMonitor snmp_response_obj responseVal; auto success = _snmpClientPtr->process_snmp_request(config.oid, request_type::GET, responseVal); if (!success && config.required) - PLOG(logERROR) << "SNMP session stopped as the required field: " << config.field << " failed!"; - break; + PLOG(logERROR) << "SNMP session stopped as the required field: " << config.field << " failed! Return empty RSU status!"; + return Json::nullValue; if (success && responseVal.type == snmp_response_obj::response_type::INTEGER) {