While switching my server to an ARM based instance, I took the time to migrate from fail2ban to CrowdSec.
I still use Munin as a basic metric system, because it satisfies my personal requirements and there is no need to setup a more complex Ecosystem like Prometheus/Grafana on my private server.
While Munin offers a fail2ban plugin, there was none for CrowdSec. So I created a basic plugin for the munin-contrib repo on GitHub.
The plugin collects the metrics in order to show the active Decisions, Acquisitions and Scenarios (CrowdSec terms). Data is collected using cscli with json output.
Preview
![](https://d0m.me/wp-content/uploads/2024/07/croudsecurity_3.png)
![](https://d0m.me/wp-content/uploads/2024/07/crowdsec_1.png)
![](https://d0m.me/wp-content/uploads/2024/07/crowdsec_2.png)