added check to display log sources info box when log collector activated

This commit is contained in:
alejandro-campos 2020-07-15 09:25:39 +02:00
parent 909d7cba58
commit 4edef7099b
1 changed files with 6 additions and 2 deletions

View File

@ -1576,8 +1576,12 @@ switch ($tab) {
include 'estado_monitores.php';
echo "<a name='alerts'></a>";
include 'alerts_status.php';
echo "<a name='log_sources'></a>";
include 'log_sources_status.php';
if ($config['log_collector']) {
echo "<a name='log_sources'></a>";
include 'log_sources_status.php';
}
// Check permissions to read events
if (check_acl($config['id_user'], 0, 'ER')) {
echo "<a name='events'></a>";