Reboot server or restart services from HA Docker

I am running HA docker and am able to monitor some services on my Linux server and alert me if they are offline. I would love to automatically restart them or even send a reboot command to the server from Home Assistant. Is that possible?

Not a community guide. Please read the category descriptions. Moved.

I use the ha_dockermon container:

Thanks. I’m hoping to restart daemons on the host server through HA/Docker. Is that possible?

It’s not possible with the ha_dockermon integration. Can you just use a command from the command line, and integrate that into HA with a command line switch?

I was not aware of that integration. I’ll give that a try. Thanks.