Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
63098f82
Commit
63098f82
authored
Mar 05, 2009
by
Falko Timme
Browse files
- fail2ban monitor now supports CentOS and Fedora.
parent
c95c45ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/mods-available/monitor_core_module.inc.php
View file @
63098f82
...
...
@@ -763,7 +763,8 @@ class monitor_core_module {
$type
=
'log_fail2ban'
;
/* This monitoring is only available if fail2ban is installed */
$location
=
shell_exec
(
'which fail2ban-client'
);
$location
=
shell_exec
(
'which fail2ban-client'
);
// Debian & Ubuntu
if
(
$location
==
''
)
$location
=
shell_exec
(
'which fail2ban'
);
// CentOS & Fedora
if
(
$location
!=
''
){
/* Get the data of the log */
$data
=
$this
->
_getLogData
(
$type
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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