Fix for unexistent OIDs values or names in dynamic wizard 6980
This commit is contained in:
parent
43040801c4
commit
3dc699e8fd
|
@ -260,6 +260,13 @@ class AgentWizard extends HTML
|
|||
*/
|
||||
private $moduleBlocks;
|
||||
|
||||
/**
|
||||
* Extra arguments for SNMP call.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
private $extraArguments = '';
|
||||
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
|
@ -2959,6 +2966,12 @@ class AgentWizard extends HTML
|
|||
|
||||
$snmpwalkCombined = [];
|
||||
foreach ($snmpwalkNames as $index => $name) {
|
||||
if (isset($name) !== true
|
||||
|| isset($snmpwalkValues[$index]) !== true
|
||||
) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$snmpwalkCombined[$index] = [
|
||||
'name' => $name,
|
||||
'value' => $snmpwalkValues[$index],
|
||||
|
|
Loading…
Reference in New Issue