Comments
-
You can just set the ConnectionProfile property to the ID. Like this: Set-SwisObject $swis -Uri 'swis://localhost/Orion/Cirrus.NodeProperties/NodeID=$NcmNodeId' -Properties @{ConnectionProfile=$NCMConnectionProfileId}
-
The system design is such that actions taken through the SDK should be audited in the same way as actions taken through the GUI. I'm investigating why this isn't working for custom property edits. It is working for other changes - i.e., when I delete a node through the API it gets audited correctly. I'll follow up with the…
-
When you install the Orion SDK, a sample VB.NET client application gets copied to C:\Program Files (x86)\SolarWinds\Orion SDK\Samples\VBClient.
-
What version of NPM (or other Orion product) are you running?
-
Let's check some versions - what versions of NPM, Python, swisclient.py, and Requests are you using?
-
I wrote a simple program using System.Net.Http.HttpClient and async/await to make 900 calls to /Query at the same time. They returned at a more or less steady rate starting about 1 second after launching and continuing until they had all returned. I expect that if I had used a slower query the total time would be longer.…
-
Please post more of your code. It sounds like you are either missing the pollers or have the wrong ones assigned. Also, consider switching to the discovery API. It looks more intimidating (and it kind of is), but it will get you out of the business of having to know which pollers to add. See Discovery · solarwinds/OrionSDK…
-
You have hit a bug. "External" is both a column name in the Nodes table and also a SQL Server keyword, so we have to quote it with [brackets] when referring to that column in queries. It looks like there is code on the Update code path that is not using brackets. I filed this bug internally. I don't see a workaround, so…
-
You can get interface IP address information in Orion.NodeIPAddresses, but not subnet mask. I don't think we have subnet mask information for interfaces outside of the AssetInventory section.
-
Sure. Here's a powershell script that runs the always-useful "show clock" and prints the results.
-
Let's address this in your other thread: Swql studio connection problem
-
This sounds like a case that would best be handled by SolarWinds support. Have you opened a case with them?
-
Did you install the Orion SDK? Connect-Swis comes from SwisSnapin.dll, which is not part of PowerOrion.
-
From PowerShell, you can do it like this: $swis = Connect-Swis $uri = "swis://./orion/Orion.Nodes/NodeID=1/Volumes/VolumeID=2" Remove-SwisObject $swis $uri To get the Uri for a volume, you can use a query: $uri = Get-SwisData $swis "SELECT Uri FROM Orion.Volumes WHERE criteria" If you'd like to use a language other than…
-
Can you give us some more context? Do some queries work but more complex ones give this timeout error? Or do you get this right away when you run SWQL Studio?
-
What are you trying to do? MIBs.cfg is a database format compiled from hundreds (maybe thousands by this point) of other vendors' MIBs.
-
No, the API does not provide a method to modify an existing discovery profile. In theory you could do it via SQL, but this is not documented or supported.
-
What tool are you using to run this check? Is this is SAM HTTPS Application Monitor? Does your service present a valid, trusted SSL Certificate?
-
Are you a netflow user?
-
What device template are you using? Is it the default template shipped with the product or a modified version?
-
Try changing the displayed columns in the Win32 Syslog Viewer. It's under File > Settings > Displayed Columns. Maybe that will prime the missing registry settings.
-
Syslog is a UDP protocol - you can't test it with a TCP client like telnet. Check the Windows Service Manager - is SolarWinds Syslog Service running?
-
I don't believe there is an API for importing application templates. I'll ping the SAM team to confirm.
-
I'm not sure which object's custom properties you are interested in. I modified your query to pull one custom property from each of the parent container, child container, and node. select parent_container_name, parent_containerid, p.parent_comments, child_container_name, child_container_id,…
-
It looks like something got garbled in the second URL. The "Info" is missing between "SolarWinds/" and "rmationService".
-
Number formatting is not SWQL's strong suit. I don't see any way to do what you want directly. You might be able to hack something together using the floor function to separate the whole and fractional parts of the number and recombine them as strings. It's better to handle formatting at the presentation layer. You didn't…
-
Did you use the custom pollers in previous versions? If not, you can probably upgrade successfully if you just use SQL Management Studio to delete the CustomPollers and CustomPollerAssignments tables and let the 9.0 Configuration Wizard recreate them. If you do have existing custom pollers that you need to preserve, I…
-
Python makes the command line arguments available in the "sys.argv" list. It will not magically populate a ${NodeID} variable in your script. See this page: 10.6. Handling command-line arguments
-
Try this: props = { property_name : property_value }connection.update(uri + '/CustomProperties', **props)
-
The official spelling of the ifName property is "IfName" (capital I). If you specify it that way, then this will work. This should not have been broken by the 10.2 upgrade, so I entered a bug about it (96186).