class FieldAgent implements IOFogModule {

    private void updateDiagnostics() {
        LoggingService.logInfo(MODULE_NAME, "Start update diagnostics");
        if (notProvisioned() || !isControllerConnected(false)) {
            return;
        }

        if (SystemUtils.IS_OS_WINDOWS) {
            return; // TODO implement
        }

        try {
            JsonObject result = orchestrator.request("strace", RequestType.GET, null, null);

            StraceDiagnosticManager.getInstance().updateMonitoringMicroservices(result);

        } catch (CertificateException | SSLHandshakeException e) {
            verificationFailed(e);
            LoggingService.logError(MODULE_NAME, "Unable to get diagnostics update due to broken certificate",
            		new AgentSystemException(e.getMessage(), e));
        } catch (Exception e) {
        	LoggingService.logError(MODULE_NAME, "Unable to get diagnostics update",
            		new AgentSystemException(e.getMessage(), e));
        }
        LoggingService.logInfo(MODULE_NAME, "Finished update diagnostics");
    }

    private  FieldAgent();

}