Hello,
I am developing an application to create container and subcontainer at .Net/C#. There is no problem creating container (group) and subcontainer (subgroup) via SolarWinds web interface as you see attached file "correct_container_structure.jpg" and "correct_container_structure_SQL.jpg". But if I want to add/create container/subcontainer, there is weird situation as you see attached file "wrong_container_structure.jpg" and "wrong_container_structure_SQL.jpg".
I want to create just only one main container and two container related that one. That is container uri code block I used to create main and sub container.
Main: "filter:/Orion.Groups[(Name ='" + cont.name + "_LAN' OR Name ='" + cont.name + "_WAN')]";
Sub 1 : "filter:/Orion.Nodes[IP_Address='" + LanIP + "' AND ObjectSubType='ICMP']";
Sub 2 : "filter:/Orion.Nodes[IP_Address='" + LanIP + "' AND ObjectSubType='SNMP']";
If I understand corrcetly, the problem is Definition section at ContainerMemberDefinitions when using SWIS. Can you any suggest that what I do for obtaining "correct container structure"?
(PS: There is code sample I using on this application. : http://thwack.solarwinds.com/thread/54138 )