ha-dockermon icon indicating copy to clipboard operation
ha-dockermon copied to clipboard

Stats/logs Containers

Open thelittlefireman opened this issue 7 years ago • 3 comments
trafficstars

hi, could it be possible to get "stats" ands logs commands for a container ? With "stats" we could monitor container through Home Assistant to get alert when CPU/memory/Network is too high.

Thanks for your amazing API :) Thomas

thelittlefireman avatar May 01 '18 10:05 thelittlefireman

Ooh great idea! The stats I should be able to get, not sure about the logs.

philhawthorne avatar May 03 '18 04:05 philhawthorne

@philhawthorne ping me if you get this working, then I can update the custom_component accordingly :)

ludeeus avatar May 03 '18 08:05 ludeeus

the commando to pull the logs docker logs containername would that help to integrate the last 15 lines as output for example?

elRadix avatar Oct 14 '18 12:10 elRadix