Comments
-
Yes. I did a little digging, and it looks like the DiffFlag gets updated when a comparison is performed.
-
As of the 2020.2 release there are PollNow, EnablePollingForNodes, and DisablePollingForNodes verbs on Orion.AssetInventory.Polling: http://solarwinds.github.io/OrionSDK/2020.2/schema/Orion.AssetInventory.Polling.html
-
It is possible to update Orion.APM.ComponentSetting. Below is a Powershell script that changes the value of a setting with the key __Disabled from true to false. I wouldn't recommend running this in a production environment! But this does give an example of how you would go about making an update to the table. In your…
-
> Are there any workarounds for this bug? I don't believe a workaround is possible via the API. You could manually change to AES256 via the website, but that isn't a very automation-friendly answer. For many SWIS entities, there is a matching database table you can update, but credentials are stored differently for…
-
Note: This has also been reported in GitHub at https://github.com/solarwinds/OrionSDK/issues/223.
-
Yes, you can use the SDK with PowerShell Jobs. This is not a very useful example, but here's an example: if ( (Get-PSSnapin -Name SwisSnapin -ErrorAction SilentlyContinue) -eq $null ) { Add-PsSnapin SwisSnapin } # Connect to SWIS. $OrionServer = 'localhost' $Username = 'admin' $Password = '' $swis = Connect-Swis -Hostname…
-
This issue is not completely resolved yet, but it is actively being worked. Related issue NCM-5227 has been updated earlier this month.
-
Rewrite this... NOT (cms.Description = '%critical%' or cms.Description = '%high%') ... as this: NOT (cms.Description LIKE '%critical%' or cms.Description LIKE '%high%') The '%' wildcards aren't active unless you are using the LIKE keyword.
-
I ran that command on my Orion server. Here is the portion of the response for port 17778: IP:port : 0.0.0.0:17778 Certificate Hash : <Value> Application ID : <Value> Certificate Store Name : (null) Verify Client Certificate Revocation : Enabled Verify Revocation Using Cached Client Certificate Only : Enabled Usage Check :…
-
To provide context on this question, see also https://thwack.solarwinds.com/t5/Discussions/Issues-with-the-SWIS-API/m-p/587341.
-
I'd follow the troubleshooting recommendations from this thread: https://thwack.solarwinds.com/t5/Discussions/Connection-to-REST-port-getting-reset/m-p/75708 * See if a firewall is interfering with the communication. * Check the SWIS logs at C:\ProgramData\SolarWinds\InformationService\v3.0\Orion.InformationService.log for…
-
Do you have an IBM DataPower Gateway in your environment? It looks like the error might be originating from there.
-
Do I have to change the XML tags? <d3p1:Op>regex</d3p1:Op> --> <Op>regex</Op> Those d3p1 prefixes are XML Namespaces. I don't think you'll need to keep those. And Do I have to change the Value for regax back '(^eth)|(^ens)|(^eno)'? The regular expression looks like it has been encoded with URL encoding rules (HTML URL…
-
It had to be half hour windows? ;-) This isn't very pretty, but here is one way to do it: SELECT i.FullName, DATETRUNC('Day', it.DateTime) AS Date, HOUR(it.DateTime) AS Hour, CASE WHEN MINUTE(it.DateTime) >= 30 THEN 30 ELSE 0 END AS HalfHour, AVG(it.InAveragebps) AS InAveragebps, MIN(it.InMinbps) AS InMinbps,…
-
Sorry, I should have specified that C:\ProgramData\SolarWinds\Logs\Orion\ is the folder you would want to check on the Orion server, not the client machine where you're running your script. You're looking for information about what happens when the Orion server tries to handle your request.
-
If you take a look at the original post in this thread, you'll see a script the re-manages the node. The key line from that script is this, which uses the Remanage verb on Orion.Nodes: Invoke-SwisVerb $swis Orion.Nodes Remanage @("N: $nodeid ", $now ,$later , "false") There is some relevant documentation here:…
-
Yes, this feature is now documented on the Orion SDK GitHub wiki pages. It does require SAM 6.8 or later. Example snippets of Powershell scripts are provided. https://github.com/solarwinds/OrionSDK/wiki/SAM-Application-Monitoring-Templates#how-to-change-the-settings-of-a-component-monitors
-
I find it strange that this line... printf("exit prop update %s...\n", $Node->{NodeName} ); ... doesn't show the node name in the debug output, but the node name does show up in an earlier debug statement from this: printf( "NodeID is %s NodeUri is %s NodeName is %s....\n", $Node->{NodeID}, $Node->{Uri}, $Node->{NodeName}…
-
I believe that what you're looking for can be found in Cirrus.ConfigArchive. SELECT TOP 1000 ConfigID, NodeID, AttemptedDownloadTime, DownloadTime, ModifiedTime, Config FROM Cirrus.ConfigArchive ORDER BY NodeID, ModifiedTime DESC This won't give you an analysis of exactly what the differences from the previous version are,…
-
Take a look at this sample from orionsdk-python. This might be what you need. https://github.com/solarwinds/orionsdk-python/blob/master/samples/unmanage_node.py
-
CORE-12986 has gone through initial prioritization, but development hasn't started yet (at least from what I can see). I updated the issue with a link to your most recent comment about your situation.
-
You are reading that correctly. The rights required to use the API need to be adjusted so they match the rights required to perform the equivalent action from the website. The website is working as intended. The API is not.
-
Dealing with XML is messy, and dealing with this particular XML is worse than usual because "ID" is a keyword and appears both as an attribute and an element name. But here is how you could extract the ID and name from the connection profiles: Import-Module SwisPowerShell # Connect to SWIS. $hostname = "myserver" $username…
-
The bug number is now SAM-7966 instead of 348041.
-
I believe that you'll need to use IpRanges instead of IpRange in your code. See the following thread for a Python-based example that uses IP ranges: Create Discovery Job based on IP ranges for large networks
-
The id querystring parameter on links to StatusIcon.ashx specifies a status ID. It is a default status that will be overriden if StatusIcon.ashx is able to retrieve the status for the specified entity.
-
See the documentation for the Connect-Swis cmdlet here: PowerShell · solarwinds/OrionSDK Wiki · GitHub You can use Trusted if you want to use your current credentials. Otherwise, you'll want to use Credential. For more details on how to do that, read this: Get-Credential
-
Take a look at this thread that shows unmanaging a node via curl: how to remanage node via curl/rest api? Can you supply the curl command that you're trying now (minus any sensitive details)?
-
I'm afraid that CORE-10460 is still not resolved at this time.
-
@dbae, are you using Python, like the original poster? I am able to run the following script without errors against a default local installation of Orion with just the NPM module installed. If I change the verb name from "EnableHardwareHealth" to some random text, I see the error that you posted. Can you provide any…