mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
fix errors metaconsole, report group settings
This commit is contained in:
parent
7fe7b5f639
commit
ff37a43035
@ -156,6 +156,9 @@ $agent_max_value = true;
|
|||||||
$agent_min_value = true;
|
$agent_min_value = true;
|
||||||
$uncompressed_module = true;
|
$uncompressed_module = true;
|
||||||
|
|
||||||
|
$nothing = __('Local metaconsole');
|
||||||
|
$nothing_value = 0;
|
||||||
|
|
||||||
$graph_render = (empty($config['type_mode_graph']) === true) ? 0 : $config['type_mode_graph'];
|
$graph_render = (empty($config['type_mode_graph']) === true) ? 0 : $config['type_mode_graph'];
|
||||||
|
|
||||||
switch ($action) {
|
switch ($action) {
|
||||||
@ -726,6 +729,8 @@ switch ($action) {
|
|||||||
case 'group_configuration':
|
case 'group_configuration':
|
||||||
$group = $item['id_group'];
|
$group = $item['id_group'];
|
||||||
$recursion = $item['recursion'];
|
$recursion = $item['recursion'];
|
||||||
|
$nothing = '';
|
||||||
|
$nothing_value = 0;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'netflow_area':
|
case 'netflow_area':
|
||||||
@ -934,8 +939,8 @@ $class = 'databox filters';
|
|||||||
'combo_server',
|
'combo_server',
|
||||||
$server_name,
|
$server_name,
|
||||||
'',
|
'',
|
||||||
__('Local metaconsole'),
|
$nothing,
|
||||||
0
|
$nothing_value
|
||||||
);
|
);
|
||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
@ -5647,6 +5652,7 @@ function chooseType() {
|
|||||||
$("#row_group").show();
|
$("#row_group").show();
|
||||||
$("#row_servers").show();
|
$("#row_servers").show();
|
||||||
$("#row_historical_db_check").hide();
|
$("#row_historical_db_check").hide();
|
||||||
|
$("#combo_server option[value='0']").remove();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'netflow_area':
|
case 'netflow_area':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user