Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
65bfb95d
Commit
65bfb95d
authored
Mar 06, 2009
by
Falko Timme
Browse files
No commit message
No commit message
parent
fb3749fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/mods-available/monitor_core_module.inc.php
View file @
65bfb95d
...
...
@@ -763,8 +763,8 @@ class monitor_core_module {
$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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment