diff --git a/pandora_console/extensions/realtime_graphs/realtime_graphs.js b/pandora_console/extensions/realtime_graphs/realtime_graphs.js index 8a8b686bb9..538a68f144 100644 --- a/pandora_console/extensions/realtime_graphs/realtime_graphs.js +++ b/pandora_console/extensions/realtime_graphs/realtime_graphs.js @@ -140,14 +140,19 @@ function snmpBrowserWindow () { opacity: 0.5, background: "black" }, - width: 780, - height: 430 + width: 920, + height: 500 }); } // Set the form OID to the value selected in the SNMP browser function setOID () { - $('#text-snmp_oid').val($('#snmp_selected_oid').text()); + + if($('#snmp_browser_version').val() == '3'){ + $('#text-snmp_oid').val($('#table1-0-1').text()); + } else { + $('#text-snmp_oid').val($('#snmp_selected_oid').text()); + } // Close the SNMP browser $('.ui-dialog-titlebar-close').trigger('click'); diff --git a/pandora_console/godmode/agentes/module_manager_editor_network.php b/pandora_console/godmode/agentes/module_manager_editor_network.php index b640243cfe..915d1b542a 100644 --- a/pandora_console/godmode/agentes/module_manager_editor_network.php +++ b/pandora_console/godmode/agentes/module_manager_editor_network.php @@ -414,14 +414,19 @@ function snmpBrowserWindow () { opacity: 0.5, background: "black" }, - width: 780, - height: 430 + width: 920, + height: 500 }); } // Set the form OID to the value selected in the SNMP browser function setOID () { - $('#text-snmp_oid').val($('#snmp_selected_oid').text()); + + if($('#snmp_browser_version').val() == '3'){ + $('#text-snmp_oid').val($('#table1-0-1').text()); + } else { + $('#text-snmp_oid').val($('#snmp_selected_oid').text()); + } // Close the SNMP browser $('.ui-dialog-titlebar-close').trigger('click');