server/mods-available/monitor_core_module.inc.php | ●●●●● 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);