mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Merge branch 'ent-7119-11478-Ticket-GUARDIA-SNMPBrowser-falla-a-la-hora-de-visualizar-datos' into 'develop'
Ent 7119 11478 ticket guardia snmp browser falla a la hora de visualizar datos See merge request artica/pandorafms!3890
This commit is contained in:
commit
8f5f9b09da
@ -346,8 +346,8 @@ class AgentWizard extends HTML
|
|||||||
|
|
||||||
// Capture the parameters.
|
// Capture the parameters.
|
||||||
$this->protocol = get_parameter('protocol');
|
$this->protocol = get_parameter('protocol');
|
||||||
|
$this->targetPort = get_parameter('targetPort', '161');
|
||||||
if ($this->protocol === 'snmp') {
|
if ($this->protocol === 'snmp') {
|
||||||
$this->targetPort = get_parameter('targetPort', '161');
|
|
||||||
$this->community = get_parameter('community', 'public');
|
$this->community = get_parameter('community', 'public');
|
||||||
$this->version = get_parameter('version', '1');
|
$this->version = get_parameter('version', '1');
|
||||||
|
|
||||||
|
@ -4869,6 +4869,7 @@ function ui_print_agent_autocomplete_input($parameters)
|
|||||||
$get_only_string_modules = true;
|
$get_only_string_modules = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$no_disabled_modules = true;
|
||||||
if (isset($parameters['no_disabled_modules'])) {
|
if (isset($parameters['no_disabled_modules'])) {
|
||||||
$no_disabled_modules = $parameters['no_disabled_modules'];
|
$no_disabled_modules = $parameters['no_disabled_modules'];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user