engineyard / ey-cookbooks-stable-v7

Other
6 stars 5 forks source link

Monit not providing logs of its operations #218

Open dvalfre opened 1 year ago

dvalfre commented 1 year ago

By default, monit on v7 is started without the verbose (-v) flag (as per https://github.com/engineyard/ey-cookbooks-stable-v7/blob/next-release/cookbooks/ey-monit/files/default/monit.service#L6). This prevents to obtain useful information on monit activities, particularly when it's related to Puma-Legacy and Unicorn (both of which are not managed by systemd yet).

We want to add the relevant flag on the line mentioned above. Alternatively, it can be set through an environmental variable named EY_MONIT_VERBOSE.