added check to display log sources info box when log collector activated
This commit is contained in:
parent
909d7cba58
commit
4edef7099b
|
@ -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>";
|
||||
|
|
Loading…
Reference in New Issue