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

  • @knaak
    link
    English
    41 year ago

    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.

    • @sudneo
      link
      English
      11 year ago

      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.

  • @[email protected]
    link
    fedilink
    English
    1
    edit-2
    1 year ago

    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.

    • SuperFolaOP
      link
      fedilink
      English
      11 year ago

      I can probably work with that, I will see if that fits my workflow, thanks!

  • @knaak
    link
    English
    11 year ago

    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
    link
    English
    11 year ago

    Graylog can likely do this but would require configuration

  • @[email protected]
    link
    fedilink
    English
    11 year ago

    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…