Code Monkey home page Code Monkey logo

Comments (3)

TechPerplexed avatar TechPerplexed commented on May 14, 2024

No worries, do you have a link or more information on how to enable/configure this plugin in docker?

from gooby.

deedeefink avatar deedeefink commented on May 14, 2024

Fail2ban should work out of the box when Netdata is installed given that when you install Netdata you also install the plugins. The only condition is that the Fail2ban log/config files are readable by Netdata (Documentation). By default Netdata look for log/config file at:

log_path: '/var/log/fail2ban.log'
conf_path: '/etc/fail2ban/jail.local'

Judging on my own Gooby v2 installation var/log/fail2ban.log is in place whilst there seems to be two other critical problems:

  1. Fail2ban plugin is not installed. According to this Plugin configuration plugins are installed at /usr/libexec/netdata/[plugin type]/[plugin module] In the case of Fail2ban the full path would be: /usr/libexec/netdata/python.d/fail2ban.chart.py

  2. /etc/fail2ban/jail.local is not present (jail.local overrides jail.conf). This could indicate that after Fail2ban installation a jail.local were not created with the following command: sudo cp /etc/fail2ban/jail.conf /etc/fail2ban/jail.local

I have no experience to manage the above / install Netdata in a Docker environment. On a different server I installed everything without Gooby (Sorry ;-) and here I used the following command to install Netdata: bash <(curl -Ss https://my-netdata.io/kickstart-static64.sh) It's sort of "install everything" to ensure that I would get all the plugins and modules installed.

That's about what I can contribute.

from gooby.

TechPerplexed avatar TechPerplexed commented on May 14, 2024

Ok, I'm afraid I will have to put this request on the backburner for now... I can't find any useful documentation to get this to work with Docker. Definitely wanting to revisit this when a solution is easier :)

from gooby.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.