jearle

Comments

  • Thanks for the quick response! I apologize for the late reply. I tried this but as you can see in the screenshot below it never marks the child node as unreachable: depUri = swis.create('Orion.Dependencies', Name=name, ParentUri=parent['DetailsUrl'], ChildUri= child['DetailsUrl'], AutoManaged=False,…
  • So the dependency will not set the child as "unreachable" when the parent goes down if you create the dependency using this method? I am creating 4 dependencies for each of 1700 locations. So there is no way I can edit anything manually. is there a way to ensure that the child is "unreachable " when the parent is down when…
  • I actually was able to get it to work. But I am running into another issue now. Though the dependency is created the child is still showing down when the parent is down. depUri=swis.create('Orion.Dependencies', Name=name, ParentUri=str(parent['DetailsUrl']), ParentEntityType=str(parent['EntityType']),…
  • Hey Tdanner, I attempted this last night and was successful in creating the dependency I required. I am however attempting it now with the same script and the code is executing fine with no errors but nothing ends up being created. Perhaps there is something that you know of that may cause this. Thanks,
  • The dynamic option and using filters would be perfect if I was doing one node at a time. But I am checking groups for 1700 locations and need to automate a way to add in additional nodes as they are installed. From what I am seeing online I may need to use a verb for this. I am attempting to just do a swis.create on the…
  • I do know the group name in advance and the node does not affect it. I have gotten to a point where I have the container-id and the group URI but I am unsure what to do with it from there.
  • Thanks for the quick response I am new to SW so forgive me if my question is very basic. When you say use verbs can you give me an example? I will check out that link as well.
  • Hey guys thanks for all the responses I was able to find out how to get the group member information! Now I am just struggling to figure out how to add a node to an existing group using the Python SDK. Anyone know how I might go about that. I might make a separate discussion thread since my initial question has been…
  • Found it! This was very helpful thanks! Do you know the best way to add a node to an existing group? I am running a script that requires me to be able to add nodes to a group that already exists.
  • Figured it out. Tdanner has a great answer in the thread https://thwack.solarwinds.com/thread/117071#383766