Prior to v1.0.0.0 I’d used Monit to ensure both crowdsec and the bouncer were running.
An example from monitrc:
check process crowdsec with pidfile /var/run/crowdsec.pid
Seems monit can no longer determine if crowdsec and cs-firewall-bouncer are running by looking for the .pid file.
Any ideas on how to use monit to monitor crowdsec?
Hi,
It seems that there’s no more pid file /var/run (or /run depending on your installation), we’ll look into this. In the meantime, monit has the ability to monitor process that hasn’t any pidfile: please have a look at the procmatch option of monit.
/var/run
/run
monit procmatch crowdsec monit procmatch cs-firewall-bouncer
Right. Of course. Thank you! Rarely work with monit … mostly a set it up and it’s fine.