Monitor if a process is running or stopped


I'm trying to do a seemingly simple task of monitoring whether a process is running or stopped on an Ubuntu host. For example I want to know if a Java and Python based app are running or down. I'm aware there are some Metricbeat modules that allow you to monitor Java process that require the Jolokia library, but all I want is just an "running", "stopped" type field to indicate if something is running or stopped.

Is there a way to do this with Metricbeat?

Yes with Metricbeat with the system module and process metricset

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.