mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
fixed minor error fullscale in report interfaces metaconsole
This commit is contained in:
parent
b92ec56140
commit
cac55053e3
@ -2736,7 +2736,7 @@ function reporting_network_interfaces_report($report, $content, $type = 'dinamic
|
|||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
$network_interfaces_by_agents = agents_get_network_interfaces(false, $filter);
|
$network_interfaces_by_agents = agents_get_network_interfaces(false, $filter);
|
||||||
$return = agents_get_network_interfaces_array($network_interfaces_by_agents, $return, $type, $content, $report);
|
$return = agents_get_network_interfaces_array($network_interfaces_by_agents, $return, $type, $content, $report, $fullscale);
|
||||||
metaconsole_restore_db();
|
metaconsole_restore_db();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -2744,13 +2744,13 @@ function reporting_network_interfaces_report($report, $content, $type = 'dinamic
|
|||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
$network_interfaces_by_agents = agents_get_network_interfaces(false, $filter);
|
$network_interfaces_by_agents = agents_get_network_interfaces(false, $filter);
|
||||||
$return = agents_get_network_interfaces_array($network_interfaces_by_agents, $return, $type, $content, $report);
|
$return = agents_get_network_interfaces_array($network_interfaces_by_agents, $return, $type, $content, $report, $fullscale);
|
||||||
}
|
}
|
||||||
|
|
||||||
return reporting_check_structure_content($return);
|
return reporting_check_structure_content($return);
|
||||||
}
|
}
|
||||||
|
|
||||||
function agents_get_network_interfaces_array($network_interfaces_by_agents, $return, $type, $content, $report){
|
function agents_get_network_interfaces_array($network_interfaces_by_agents, $return, $type, $content, $report, $fullscale){
|
||||||
if (empty($network_interfaces_by_agents)) {
|
if (empty($network_interfaces_by_agents)) {
|
||||||
$return['failed'] =
|
$return['failed'] =
|
||||||
__('The group has no agents or none of the agents has any network interface');
|
__('The group has no agents or none of the agents has any network interface');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user