Nextcloud Instance

I have a Nextcloud instance installed on a NUC using Ubunto 18.04 (192.168.1.175). Works great.

I also have hassio installed in docker, Ubuntu 18.04 on another NUC (192.168.1.200).
The hassio instance I can monitor the shut down and restart with the following command.
How can I do the same for Nextcloud. Also I would like to be able to track on the Nextcloud NUC disk/memory/temp etc. Have not figured that out.

  - alias: Home Assistant Started
    trigger:
      platform: homeassistant
      event: start
    action:
      - service: notify.carlton
        data:
          title: "Home Assistant Started"
          message: "Home Assistant Has Restarted"

I have played around with the configuration but can not get it to work.
Any help would be greatly appreciated.
Carlton