Skip to content

MLE Baseline Failed

MLE Baseline Failed in MLE Issues.

2 min read Updated SS RS

MLE Baseline Failed#

MLE Baseline observations & solution:

1. Observed an error in baseline logs.

2. Check the Load Metric data in consul keys.

3. Correct the status values to NULL in the mle_status table.

4. Run the baseline for 1 month.

5. The SIGKILL error was displayed due to insufficient memory.

6. Increase the memory in the mle.nomad file.

7. Change the parameters in start_worker.sh under Appsone_Service/analytics-workstation/bin .

8. Post-changes, restart MLE service, and the baseline will be completed successfully.

MLE Service is not starting#

MLE service is not starting; it stuck in the pending state with no log generation.

To rectify the issue, follow as below:

1. Execute the following command:

consul kv put service/mle/analyticsws/cors_domains
https://<keycloakip>:<keycloakport>

For Example:

consul kv put service/mle/analyticsws/cors_domains
https://192.0.2.124:8443

2. Clear the cache and restart the MLE service.

MLE UI Unavailable on Cloud Instances#

The MLE UI was unable to display on cloud instances.

To rectify the issue, follow the below steps:

1. Resolve the issue by modifying the below file:

conf.json.tpl

2. The modification of the file is as below:

Default :

discovery-url: https://{{key "service/keycloak/ip"}}:{{key
"service/keycloak/port/https"}}/auth/realms/master
revocation-url: https://{{key "service/keycloak/ip"}}:{{key
"service/keycloak/port/https"}}/auth/realms/master/protocol/openid-
connect/logout
match-claims:
aud: appsone-sso
iss: https://{{key "service/keycloak/ip"}}:{{key
"service/keycloak/port/https"}}/auth/realms/master

Modified :

discovery-url: https://{{key "service/mle/ip"}}:{{key
"service/keycloak/port/https"}}/auth/realms/master
revocation-url: https://{{key "service/mle/ip"}}:{{key
"service/keycloak/port/https"}}/auth/realms/master/protocol/openid-
connect/logout
match-claims:
aud: appsone-sso
iss: https://{{key "service/mle/ip"}}:{{key
"service/keycloak/port/https"}}/auth/realms/master

Unable to Trigger AD Baseline#

Example DR. When triggering the AD baseline from the MLE API page, a 500 response code is received.

MLE API page — AD baseline 500 response

Symptoms :

1. In the Advance-analytics-ds logs, an invalid token for Keycloak is shown.

2. Extra space is seen between the HAProxy server hostname and the :9998 port in the Advance-Analytics-ds core logs.

Solution :

1. The Advance-Analytics-ds service retrieves its details from the conf.properties file, located inside the Docker container and mounted outside in the Nomad file.

2. Copy the conf.properties from inside the container and replace the existing file outside the container.

3. Restart the Advance-Analytics-ds service.

4. Perform telnet to the HAProxy hostname on port 9998 from the box where MLE and Advance-Analytics-ds running.

5. If unable to connect from the Advance-Analytics-ds container, follow the below steps:

a. Add the HAProxy hostname and IP to the Advance-Analytics-ds Nomad file and

b. Restart the service.

6. After these changes, you should be able to trigger the baseline from the MLE API page.

MLE Alert Configuration Issue#

Stop Disk I/O category KPI alerts for all services and applications under the Example configuration.

Solution :

1. Update the value of DISK IO READ in the following file:

<A1home>/Appsone_Service/analytics-
workstation/model_config/threshold_filter.csv

Change the value from 1,0 to 0,0 .

2. Restart the MLE service to apply the changes:

systemctl restart mle-service

Note: This change applies globally to all services and applications.