Monitorování fail2ban

Daniel

Monitorování fail2ban
« kdy: 01. 03. 2014, 17:20:40 »
Zdravím, chtěl bych se vás zeptat, jestli se někomu podařilo rozjet monitoring fail2ban přes munin. Zkoušel jsem:

Kód: [Vybrat]
$ ln -s /usr/share/munin/plugins/fail2ban /etc/munin/plugins/
$ echo "[fail2ban*]
user root
" > /etc/munin/plugin-conf.d/fail2ban

ale zatím neúspěšně. Díky za rady.


nextsux

Re:Monitorování fail2ban
« Odpověď #1 kdy: 01. 03. 2014, 19:10:38 »
funguje mi bez problemu.

# munin-run fail2ban
proftpd_iptables.value 0
courierlogin_iptables.value 0
ssh_iptables.value 0

Daniel

Re:Monitorování fail2ban
« Odpověď #2 kdy: 02. 03. 2014, 12:41:07 »
Aha no mne to vypisuje:

Kód: [Vybrat]
Line is not well formed (/etc/munin/plugin-conf.d/netstat) at /usr/share/perl5/Munin/Node/Service.pm line 110
 at /etc/munin/plugin-conf.d/netstat line 2. Skipping the rest of the file at /usr/share/perl5/Munin/Node/Service.pm line 110
apache_w00tw00t.value 0
apache_e107ddos.value 0
apache_noscript.value 0
proftpd.value 0
apache_nohome.value 0
courierpop3.value 0
postfix.value 0
courierimap.value 0
ssh.value 0
apache.value 0
sasl.value 0
apache_badbots.value 0

ale v Muninu není nic, vůbec mi to fail2ban nemonitoruje.

Daniel

Re:Monitorování fail2ban
« Odpověď #3 kdy: 02. 03. 2014, 22:52:42 »
Už mi to frčí, měl jsem problém s fail2ban, ne s muninem.