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
10 Comments
knaak@lemmy.world · 4 pts · 3y
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.
KitchenNo2246@lemmy.world · 1 pts · 3y
Graylog can likely do this but would require configuration
Letus@feddit.de · 1 pts · 3y
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...
SuperFola@programming.dev · 1 pts · 3y
Thanks, I'll have a look
Wingy@lemmy.ml · 1 pts · 3y
Prometheus+Grafana maybe?
sudneo@lemmy.world · 1 pts · 3y
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.
richneptune@lemmy.fmhy.ml · 1 pts · 3y
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.
SuperFola@programming.dev · 1 pts · 3y
I can probably work with that, I will see if that fits my workflow, thanks!
knaak@lemmy.world · 1 pts · 3y
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.