ftimme
2009-03-05 65bfb95d9f379ef1bc21fb6cb193bccc1c1b125f

1 files modified
4 ■■■■ changed files
server/mods-available/monitor_core_module.inc.php 4 ●●●● patch | view | raw | blame | history
server/mods-available/monitor_core_module.inc.php
@@ -763,8 +763,8 @@
        $type = 'log_fail2ban';
        /* This monitoring is only available if fail2ban is installed */
        $location = system('which fail2ban-client', $retval); // Debian & Ubuntu
        if($retval !== 0) $location = system('which fail2ban', $retval); // CentOS & Fedora
        $location = system('which fail2ban-client', $retval); // Debian, Ubuntu, Fedora
        if($retval !== 0) $location = system('which fail2ban', $retval); // CentOS
        if($retval === 0){
            /*  Get the data of the log */
            $data = $this->_getLogData($type);