mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +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;
|
private $moduleBlocks;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Extra arguments for SNMP call.
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
private $extraArguments = '';
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
@ -2959,6 +2966,12 @@ class AgentWizard extends HTML
|
|||||||
|
|
||||||
$snmpwalkCombined = [];
|
$snmpwalkCombined = [];
|
||||||
foreach ($snmpwalkNames as $index => $name) {
|
foreach ($snmpwalkNames as $index => $name) {
|
||||||
|
if (isset($name) !== true
|
||||||
|
|| isset($snmpwalkValues[$index]) !== true
|
||||||
|
) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
$snmpwalkCombined[$index] = [
|
$snmpwalkCombined[$index] = [
|
||||||
'name' => $name,
|
'name' => $name,
|
||||||
'value' => $snmpwalkValues[$index],
|
'value' => $snmpwalkValues[$index],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user