Using below Perl code against our standalone NCM setup, I can create new node and attach "SNMP" pollers to it. I can see, through querying SWQL, that the software (NCM 7.2.1) populate node data in Orion.Nodes (vendor, vendor icon, systemoid, location..) but only when it due for next discovery (30mins), I dont see the software discover it at first place after added. Also when drilling into node detail page, all the information under Node details are suppressed. Checking the Orion.DiscoveredPoller and DiscoverNodes, I could not see my new node in either of them, Am i missing anything?
***** extracted code ****
my $AddedNode = $swis->Create('Orion.Nodes',
{
IPAddress=> $ip,
IPAddressGUID=>ip2guid($ip),
EntityType=>'Orion.Nodes',
Caption=>$node_name,
DynamicIP=>$False,
EngineID=>$True,
Status=>$True,
UnManaged=>$False,
Allow64BitCounters=>$True,
External=>$False,
ObjectSubType=>"SNMP",
Community=>"xxxxxxxx",
SNMPVersion=>2,
Comments=>"added by script",
});
$swis->Create("Orion.Pollers", {
'PollerType'=>$poller,
'NetObject'=>"N:$node",
'NetObjectType'=>'N',
'NetObjectID'=>$node
});