Ent 7119 11478 ticket guardia snmp browser falla a la hora de visualizar datos

This commit is contained in:
Daniel Maya 2021-03-11 11:18:13 +00:00 committed by Daniel Rodriguez
parent 74fb084ba5
commit c7b33c9c9c
2 changed files with 2 additions and 1 deletions

View File

@ -346,8 +346,8 @@ class AgentWizard extends HTML
// Capture the parameters.
$this->protocol = get_parameter('protocol');
$this->targetPort = get_parameter('targetPort', '161');
if ($this->protocol === 'snmp') {
$this->targetPort = get_parameter('targetPort', '161');
$this->community = get_parameter('community', 'public');
$this->version = get_parameter('version', '1');

View File

@ -4869,6 +4869,7 @@ function ui_print_agent_autocomplete_input($parameters)
$get_only_string_modules = true;
}
$no_disabled_modules = true;
if (isset($parameters['no_disabled_modules'])) {
$no_disabled_modules = $parameters['no_disabled_modules'];
}