]> arthur.barton.de Git - netdata.git/commitdiff
add fail2ban to python README
authorIlya <ilyamaschenko@gmail.com>
Fri, 6 Jan 2017 08:28:29 +0000 (17:28 +0900)
committerIlya <ilyamaschenko@gmail.com>
Fri, 6 Jan 2017 08:28:29 +0000 (17:28 +0900)
python.d/README.md

index b4b34333ba5f33864205fbf2eaed27b118a219c8..1c44383c24f742895d5dd1fe3782be58eafa1ff2 100644 (file)
@@ -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