From 5588688346177fee6354b9e1a79323cfe813ffe1 Mon Sep 17 00:00:00 2001 From: Ilya Date: Fri, 6 Jan 2017 17:28:29 +0900 Subject: [PATCH] add fail2ban to python README --- python.d/README.md | 32 ++++++++++++++++++++++++++++---- 1 file changed, 28 insertions(+), 4 deletions(-) diff --git a/python.d/README.md b/python.d/README.md index b4b34333..1c44383c 100644 --- a/python.d/README.md +++ b/python.d/README.md @@ -235,6 +235,30 @@ Configuration is not needed. --- +# fail2ban + +Module monitor fail2ban log file to show all bans for all active jails + +**Requirements:** + * fail2ban.log file MUST BE readable by netdata (A good idea is to add **create 0640 root netdata** to fail2ban conf at logrotate.d) + +It produces one chart with multiple lines (one line per jail) + +### configuration + +Sample: + +```yaml +local: + log_path: '/var/log/fail2ban.log' + conf_path: '/etc/fail2ban/jail.local' + exclude: 'dropbear apache' +``` +If no configuration is given, module will attempt to read log file at `/var/log/fail2ban.log` and conf file at `/etc/fail2ban/jail.local`. +If conf file is not found default jail is `ssh`. + +--- + # freeradius Uses the `radclient` command to provide freeradius statistics. It is not recommended to run it every second. @@ -594,19 +618,19 @@ Module monitor openvpn-status log file. **Requirements:** -1. If you are running multiple OpenVPN instances out of the same directory, MAKE SURE TO EDIT DIRECTIVES which create output files + * If you are running multiple OpenVPN instances out of the same directory, MAKE SURE TO EDIT DIRECTIVES which create output files so that multiple instances do not overwrite each other's output files. -2. Make sure NETDATA USER CAN READ openvpn-status.log + * Make sure NETDATA USER CAN READ openvpn-status.log -3. Update_every interval MUST MATCH interval on which OpenVPN writes operational status to log file. + * Update_every interval MUST MATCH interval on which OpenVPN writes operational status to log file. It produces: **Users** OpenVPN active users * users - **Traffic** OpenVPN overall bandwidth usage in kilobit/s +**Traffic** OpenVPN overall bandwidth usage in kilobit/s * in * out -- 2.39.2