Fórum Root.cz
Hlavní témata => Server => Téma založeno: Daniel 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:
$ 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.
-
funguje mi bez problemu.
# munin-run fail2ban
proftpd_iptables.value 0
courierlogin_iptables.value 0
ssh_iptables.value 0
-
Aha no mne to vypisuje:
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.
-
Už mi to frčí, měl jsem problém s fail2ban, ne s muninem.