Commit 65bfb95d authored by Falko Timme's avatar Falko Timme
Browse files

No commit message

No commit message
parent fb3749fb
...@@ -763,8 +763,8 @@ class monitor_core_module { ...@@ -763,8 +763,8 @@ class monitor_core_module {
$type = 'log_fail2ban'; $type = 'log_fail2ban';
/* This monitoring is only available if fail2ban is installed */ /* This monitoring is only available if fail2ban is installed */
$location = system('which fail2ban-client', $retval); // Debian & Ubuntu $location = system('which fail2ban-client', $retval); // Debian, Ubuntu, Fedora
if($retval !== 0) $location = system('which fail2ban', $retval); // CentOS & Fedora if($retval !== 0) $location = system('which fail2ban', $retval); // CentOS
if($retval === 0){ if($retval === 0){
/* Get the data of the log */ /* Get the data of the log */
$data = $this->_getLogData($type); $data = $this->_getLogData($type);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment