Monitor process and used ports of Kibana

Monit has the capability to check for a process name. The process itself can also provided a service on a dedicated port, in this Kibana in Production, which uses SSL and expose its service on port 5601.

CHECK PROCESS kibana WITH MATCHING "/opt/kibana/bin/../node/bin/node\s"
  group elkstack
  if failed
      host monitoring
      port 5601
      type tcp
      protocol https
  then alert
    alert admin@cinhtau.net