Hi all,
I’m looking for a dashboard or widget for homepage to be able to monitor quickly my fail2ban jails.
Does it even exist? How do you people monitor your jails? I don’t want to go through the hassle of setting up a mail server and send report daily/weekly
I wrote some scripts to extract logs and write them to PostgreSQL, then I have scripts that download hostnames, geographic info, and then I run an nmap to look back at them. Finally superset dashboard against the postgres database.
It’s a bit overkill but I wanted a project to improve my Python skills.
Prometheus+Grafana maybe?
This would probably my go-to. I use node-exporter on every server anyway. It’s enough to write a script that will query the info you want via bash, and dump a text file inside the node-exporter watched directory.
Apologies: Answered too quickly and missed out the homepage requirement. I’ll leave my answer up anyhow.
Webmin has a fail2ban status page, it’s also pretty useful for creating/maintaining your existing jails.
I can probably work with that, I will see if that fits my workflow, thanks!
I wrote some scripts to extract logs and write them to PostgreSQL, then I have scripts that download hostnames, geographic info, and then I run an nmap to look back at them. Finally superset dashboard against the postgres database.
It’s a bit overkill but I wanted a project to improve my Python skills.
Graylog can likely do this but would require configuration
I don’t use the tool you mentioned above. but I can recommend graylog for this. For emails just use the Mailserver form proton or Google. Setting one up is a loot of work and even then gets probably banned by all major ones…
Thanks, I’ll have a look