Quantcast
Channel: THWACK: Popular Discussions - Orion SDK
Viewing all articles
Browse latest Browse all 3719

Create container / subcontainer via SWIS

$
0
0

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 )


Viewing all articles
Browse latest Browse all 3719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>