We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c95c45b commit 63098f8Copy full SHA for 63098f8
server/mods-available/monitor_core_module.inc.php
@@ -763,7 +763,8 @@ function monitorFail2ban(){
763
$type = 'log_fail2ban';
764
765
/* This monitoring is only available if fail2ban is installed */
766
- $location = shell_exec('which fail2ban-client');
+ $location = shell_exec('which fail2ban-client'); // Debian & Ubuntu
767
+ if($location == '') $location = shell_exec('which fail2ban'); // CentOS & Fedora
768
if($location != ''){
769
/* Get the data of the log */
770
$data = $this->_getLogData($type);
0 commit comments