Monitor multiple systemd services

Is it the intended usage to have a separate .sh file for every service you wish to monitor?

So you’ll have between 1 and ~20? .sh in /etc/mender-monitor/monitor.d/available?

Just making sure you’re not supposed to provide a list of systemd services somewhere instead.

Hi @chadrockey,

Yes, as far as I can see the standard strategy is to create an .sh file per unit to monitor, or alternatively, create a custom monitoring script which combines the logic into one.

Greetz,
Josef