mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
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…
x
Reference in New Issue
Block a user