Create subnet using REST API
Hi,Does anyone know how to create a SUBNET using the REST API Best Regards,Kevin Downey
View ArticleList of Network pools
Hi, Can anyone explain how to return a list of network pools using the REST API? Best Regards,Kevin Downey
View ArticleUnmanage via Code
I am trying to unmanage nodes when I create them and here is my code, but they do not go unmanaged, What am I missing? try {...
View Articlehow to input 'y' or 'yes' with powershell script to NCM
Hello, Teamis anybody who can give me an idea how to input the 'yes' or 'y' command when waiting for the user input.want to automate the Nexus 3048 ios upgrade process with powershell script with NCM....
View ArticlePowershell scripts to automatically unmanage\remanage a node using the Orion SDK
First, I'll share the script. Then, I'll explain why we need it and how it helps us in our environment.To use the script you must have the Orion SDK installed on the monitored node. Take the text...
View ArticleSWIS or JSON/REST API to bulk IMPORT xml web reports?
NPM 11.5.2, NCM 7.4 and SDK 1.10 I have managed to take an xml export of a web based report and using perl, read the file (as one line) and using regex to replace existing nodeID's, interfaceIDs in...
View ArticleDLL and API issues after NPM 12.0.1
First, let me say I've inherited this solution from someone that has left the company... We generally grab a copy of SolarWinds.InformationService.Contract2.dll from the server after upgrade and...
View ArticleHow do I use AddNodesToNCM VIA REST API
I have only been using solarwinds for a short time and I am not a great programmer, but I have successfully added new nodes into solarwinds, I'm feeling pretty confident about adding pollers and...
View ArticleOrion SDK with PowerShell - manage/unmanage multiple nodes
I've been able to script unmanaging and managing nodes in powershell. However, for 400+ nodes, this ends up taking quite a while. Via script, it takes about 7 minutes to unmanage the nodes and over 10...
View ArticlePython - Newly added Node doesn't have/get "Customeproperties"
I can add a node with Python and that works fine, but when I try to update the Custom properties, swis.update(uri + "/CustomProperties", NodeID=nodeid) It's not working, Also when I read Custom...
View ArticleError with REST/JSON while trying to unmanage node
I've been trying to work out a POSH script that can unmanage a node. I've successfully created one that can change a custom property here and i'm using that as my base. I can unmanage the node via the...
View ArticleReference for SWQL Studio versus SWQL Custom Query Resource?
Hello all,I was wondering if anyone has created a thread that documents all the pitfalls when trying to use the SWQL Custom Query Resource as compared to SWQL Studio? I have seen several good threads...
View Article"Proper" way to export/import Alert Configurations via SDK?
Hello, I've been trying the new feature of exporting and importing alerts via the SDK in Powershell, with partial success. For example, the following bit works great:#Export Alert with ID =...
View ArticleRead interfaces on a node?
Greetings! I'm having some issues using swis's READ method to enumerate the interfaces on an Orion node. If I pass an InterfaceID in the URI, it will correctly return one interface, but if I do not...
View ArticleFind Nodes have been down for x amount of days (30)
Hey, I'm looking for nodes that have been abandoned in our environment. Could some one point me in the right direction for a reliable source to pull this data from. Under Orion.Nodes is...
View ArticleInvoke SDK to insert/import OrionMap file
HI hope someone can help i am in a little pickle, i am trying to import/insert a Orion map with Powerhsell i have the below: Add-PSSnapin swissnapin #connect to poller with username used to log on to...
View ArticleUsing RemoveDependencies Verb
Hi all, I'm trying to use the RemoveDependencies verb from the Orion.Dependencies entity. It's asking for an array of integers (System.Int32[]) and I tried doing the following: Passing the array of...
View ArticleAdditional C# Examples???
Are there, or does anyone have some additional C# examples using the C# SWISClient off the SDK Github website? I'd love to see examples for each of the CRUD operations specific to Nodes (NPM). How...
View ArticleWMI Discovery Volumes Problem
Hi folks, I am implementing an integration with our CMDB. Trying to discover new server nodes added on CMDB. Nightly the my perl script is connecting to CMDB and Solarwinds DB, finding differences, if...
View ArticleMark an interface as "Display interface as unplugged rather than down"
Hi all. I have a requirement to mark an access port as "Display interface as unplugged rather than down" using an alert. This is the logic. A port on a access switch goes down because the user turned...
View Article