redray
2009-03-08 ada1e6979c92651c13e8538881d2d756c7b54e6d
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);