Loading...

Monitor process and used ports of Kibana

:heavy_exclamation_mark: This post is older than a year. Consider some information might not be accurate anymore. :heavy_exclamation_mark:

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