diff --git a/pandora_console/operation/snmpconsole/snmp_view.php b/pandora_console/operation/snmpconsole/snmp_view.php index aa9211fbe3..4c092c177f 100755 --- a/pandora_console/operation/snmpconsole/snmp_view.php +++ b/pandora_console/operation/snmpconsole/snmp_view.php @@ -272,7 +272,8 @@ else if ($trap_type != -1){ $whereSubquery .= ' AND type = ' . $trap_type; } -if ($group_by) { +// Disable this feature (time will decide if temporarily) in Oracle cause the group by is very confictive +if ($group_by && $config['dbtype'] != 'oracle') { $where_without_group = $whereSubquery; $whereSubquery .= ' GROUP BY source,oid'; } @@ -333,12 +334,15 @@ $table->data[4][1] = ''.__('Trap type').'' . ui_print_help_tip( $trap_types = array(-1 => __('None'), 0 => __('Cold start (0)'), 1 => __('Warm start (1)'), 2 => __('Link down (2)'), 3 => __('Link up (3)'), 4 => __('Authentication failure (4)'), 5 => __('Other')); $table->data[4][2] = html_print_select ($trap_types, 'trap_type', $trap_type, 'this.form.submit();', '', '', true, false, false); -$table->data[3][3] = ''.__('Group by Enterprise String/IP').''; -$table->data[3][4] = __('Yes') . ' '. - html_print_radio_button ('group_by', 1, '', $group_by, true) . - ' '; -$table->data[3][4] .= __('No') . ' ' . - html_print_radio_button ('group_by', 0, '', $group_by, true); +// Disable this feature (time will decide if temporarily) in Oracle cause the group by is very confictive +if ($config['dbtype'] != 'oracle') { + $table->data[3][3] = ''.__('Group by Enterprise String/IP').''; + $table->data[3][4] = __('Yes') . ' '. + html_print_radio_button ('group_by', 1, '', $group_by, true) . + ' '; + $table->data[3][4] .= __('No') . ' ' . + html_print_radio_button ('group_by', 0, '', $group_by, true); +} $filter = '