Comments
-
Glad we got that cleared up. Do you remember what you read that made believe that the API was provided by the separate SDK and not natively? If I can correct it at the source that would be ideal.
-
Confirmed - there is no API for calling config templates.
-
When you say "I am seeing the following error in Status Description within SWQL Studio." Where exactly do you mean? I keep testing this (including with additional polling engines and with the request you posted in this thread), but I have not been able to reproduce this error.
-
No update. The internal number is NTA-1739 for reference.
-
There is currently no API for enabling cbQoS monitoring through Orion.
-
The sample is also available here: OrionSDK/CRUD.AddNode.ps1 at master · solarwinds/OrionSDK · GitHub
-
Thanks. That was fast! Yes, we will absolutely welcome other sample code contributions.
-
You should be able to resolve the KeyNotFoundException on the extra web server by copying the *.Schema files from your main Orion server (in C:\Program Files\Solarwinds\Orion) to the same directory on the extra web server.
-
FYI - this is fixed in NPM 12.2, currently in beta.
-
The Comments property is a 'text' field in the database (called 'Memo' by the Custom Property Editor). This allows for nearly unlimited size data (like 2GB), but it can't be compared, sorted, or grouped in SQL. The old non-AJAX tree works by fetching all of the nodes from the database and then grouping them. Since the…
-
I think you just need to add a NodeID condition to that action query. Like this (not tested): ${SQL: SELECT TOP 1 TAG FROM [dbo].[Traps] where colorcode=8388863 AND NodeID=${NodeID} order by datetime desc };
-
If I am following this correctly, you want to use this ${SQL: ...} macro in a trigger or reset action to include the most recent trap. You have created an "External" node for each channel, so this alert is associated with the channel's node. The channel node's caption is just the 6-letter bus code, which is also the tag…
-
I think this piece is a problem: and not exists ( select 1 from traps b where a.nodeid=b.nodeid and b.colorcode=8454016 and b.datetime>a.datetime) Because all of tkercher's traps are coming from the same source regardless of which radio they are about, this filter will "match up" any two red and green traps regardless of…
-
I saw this same stack trace come though as a support ticket, so I sent a suggestion through that channel. If that wasn't you, please do open a ticket so we can troubleshoot that way.
-
This isn't possible in Orion now, but we could consider it as a feature request.
-
You can't get hierarchical results from the REST API - it will always give you a list of simple objects with no nesting. I assume your state/county/location fields are stored as custom properties. You could do something like this: SELECT N.Caption, N.LastSync, N.Status, CONCAT(N.CustomProperties.Country, '/',…
-
Are these servers using the net-snmp (Linux) agent?
-
Here's one approach: https://github.com/solarwinds/orionsdk-python/blob/master/samples/add_node.py And here's another: https://github.com/solarwinds/orionsdk-python/blob/master/samples/discover_one_node.py
-
Don't use AddNode. Instead, add your node to Orion using the documented method (call Create on Orion.Nodes, then Create on Orion.Pollers to set up polling) then call Cirrus.Nodes.AddNodeToNCM.
-
satventures, SWIS does not support write operations (INSERT/UPDATE/DELETE) through the Query interface, but it does have a different interface for handling write operations. It has specific calls for Create, Update, and Delete plus a general purpose Invoke method for doing more complex operations that do not map to simple…
-
In NPM 11.5 nodes created via API calls should be audited correctly.
-
I asked the NCM dev team to answer this question. Hopefully you'll have an answer soon.
-
To control what interfaces are imported, you need to create a configuration object for the discovery plugin that handles interfaces by calling Orion.NPM.Interfaces.CreateInterfacesPluginConfiguration. Like this: interfacesPluginContext = { 'AutoImportStatus': ['Up'], # Also available: Down, Shutdown…
-
Here's the PowerShell sample for various application management tasks: https://github.com/solarwinds/OrionSDK/blob/master/Samples/PowerShell/SAM.Application.ps1#L111 And here's the relevant part for unmanaging an application given its ID: # # UNMANAGING APPLICATION # # Unmanaging created application. # Write-Host…
-
Direct "Delete" support for Orion.CustomPropertyValues has not been implemented, but you can achieve the same effect by calling ModifyCustomProperty. Like this: Invoke-SwisVerb $swis Orion.NodesCustomProperties ModifyCustomProperty @( "TestProp", # Name "my description here", # Description 4000, # Size @("a", "b") #…
-
Orion.Container.Members is a navigation property. In SWQL terms it is short-hand for a join to the Orion.ContainerMembers entity. So you could run a query like this: SELECT ContainerID, Name, Container.Members.DisplayName FROM Orion.Container And get some results. But I'm not sure that is really what you are looking for.…
-
I took a run at porting SwisPowerShell to PowerShell Core last year. I got it to compile and load on a Mac, but when I try to connect to SWIS it throws an exception - there is some part of the WCF authentication stack that wasn't implemented then. I should give it another try - .NET Core has been advancing rapidly,…
-
Your assessment of SOAP vs. REST support in SWIS is accurate. In general I would recommend using REST - it is just easier to work with. Re: creating entities. There is no complete documentation for what properties are required. For specific use cases I can either point you to existing documentation/samples or answer your…
-
I'm sorry about the loss of your custom settings. We have realized that this was the wrong way to implement this new feature. Starting with 8.5.1, upgrades from pre-8.5 will treat all existing interface bandwidth values as custom and not overwrite them. It's too late to save the custom settings for users who upgraded to…
-
If you are leaving the NOC screen on an auto-reloading page, it should never time out. Are you seeing timeouts?