Good Morning,
I would like to do is use the SDK to add multiple down nodes to NPM and keep them in monitoring until they come back up but I have having an issue adding multiple IP address. How can i ammend my script to add multiple IP addresses? Can you confirm if I need to add any more pollers so when they come up the would function as normal.
$swis = Connect-Swis
$newNodeProps = @{ EntityType="Orion.Nodes";
IPAddress="10.132.100.1", "10.123.0.2","10.345.2.6"
IPAddressGUID="";
Caption="";
DynamicIP=$False;
EngineID=1;
Status=2;
UnManaged=$False;
Allow64BitCounters=$False;
SysObjectID="";
MachineType="";
VendorIcon="";
ObjectSubType="SNMP";
SNMPVersion=2;
Community="public"}
POLLERS
I.StatisticsTraffic.SNMP.Universal
N.IPAddress.SNMP.Generic
N.Status.SNMP.Native"
N.ResponseTime.SNMP.Native
N.Memory.SNMP.CiscoGen3
N.Cpu.SNMP.CiscoGen3
N.Uptime.SNMP.Generic