My mysql docker container and pet clinic client both are showing unhealthy

Course: Course 3 -1 -3-3 APM
Version: And which particular version?
Question: My java client was collecting data after setup, now its not and the 2 docker containers being unhealthy is a problem also. For APM 3-1 to 3-3 , all my changes to files are attached.



![3-4-2024 8-15-56 PM|584x500]


Hi @ericatwood ,

can you please share what's the content of the config.js in petclinic-client?

Also, what do docker logs petclinic-client returns?

Best,
Andre

There's something wrong with petclinic-client.

Can you please send the result of running docker logs petclinic-client in your host machine?

Best,
Andre

I am not sure what directory those logs are in

You don't need to access any directory, but only run the following command on your host machhine:

docker logs petclinic-client

Anyway, I can also replace your machine, so you can restart labs. If you want me to replace your machine please send me a DM with your e-mail address.

Best,
Andre

I ran docker logs, is there anything in particular we are looking for. Or it probably be quicker to go through the labs again.

img_0d650d70-e4c4-4d6c-b070-82567b140898.png

Sorry, Reply to the email below.

Perhaps it will be quicker to go through the labs again.

I just replaced your machine.

Please let us know if you still have any issues.

Best,
Andre

Could you please reset my heartbeat.yml in lab 1.2

I'm sorry, but I don't have access to your lab environment, unless you send me your Public IP through DM.

Anyway, you can download heartbeat again and extract it to get a brand new file.

Best,
Andre

How would I import that file into the training lab

You need that to implement the tasks related to Uptime and Alerting.

Best,
Andre

What was the exact permissions on the hearbeat.yml file originally

You can use chmod 640 heartbeat.yml to restore original permissions.

Best,
Andre

I already did it thanks

I've been working on labs 2.1-2.3 for a few hours now and no matter what I can't seem to get any logs coming through the elastic agent even after installing the nginx. Just trying to see what would cause that.