Comments
-
Because IPAM data is structured as a tree, the right way to query this will be different depending on what level your City attribute is at. You can have the City attribute on a subnet, or you can have one or more levels of supernets/groups between the group that holds the City attribute and the actual IP addresses. Could…
-
The output from DiscoverInterfacesOnNode should include the current operational and administrative status of each interface. You can use that to filter out Down interfaces from the set you pass to AddInterfacesOnNode.
-
This verb expects one argument, the job id. So you would call it from python like this: swis.invoke('Cirrus.NCM_NCMJobs', 'GetJob', 18)
-
You are correct that the granularity of ObservationTimestamp is minutes. The normal behavior of NTA is to coalesce flows to a 1 minute level before storage. If during a single minute the router reports two or more flows with the same 5-tuple (source IP, destination IP, source port, destination port, and protocol), NTA will…
-
Could you clarify what you mean by "the WMI credential was not added"? What did you observe and what did you expect?
-
I read through your script and it all looks fine to me. Ultimately, the problem you are seeing is that this: Remove-SwisObject $destination -Uri $interface.Uri; Is actually deleting all of the interfaces on its node. That's quite odd. I can't think of anything that would cause that, so I'll just ask a bunch of questions.…
-
No, there are no macros for referencing properties of the view. Only properties of the current object (node, interface, etc.) if any, and some macros for "global" data like the current date/time.
-
Acknowledged by will always be set to the user context associated with the acknowledge request. However, it is possible to override this user context at the request level. If you authenticate (the HTTP Authorization header) as an admin-level Orion user, you can add an HTTP header "X-SolarWinds-Impersonate" whose value is…
-
Here's an updated version of InformationService.pm that fixes this issue.
-
What does your call to Connect-Swis look like? And what error are you getting?
-
I don't see anything obviously wrong with your code. Next debugging steps: * look at the SWISv3 log and see if there is a useful error there (C:\ProgramData\SolarWinds\InformationService\v3.0\Orion.InformationService.log). * do the custom property update using an API testing tool like Postman or SoapUI and see if you can…
-
If you mean a subnet in IPAM, this is not currently supported through the API.
-
Are any details coming back with that 500 error? You could try looking in the Information Service log for more details as well: C:\ProgramData\SolarWinds\InformationService\v3.0\Orion.InformationService.log.
-
There's no way to do PIVOT in SWQL.
-
Get-SwisData returns a list of dynamic objects with properties taken from the columns of the query results. The regular powershell host seems to use the table formatting for these objects when you output them with "Write-Host", but PowerShell ISE does not. I don't know why. But you can explicitly request the table…
-
In this older version some verbs with complex arguments are not working over the REST API. They do work over PowerShell and SOAP. See this thread, for example: Re: 10.4.1 - use of Orion.Discovery verbs But jmiddleton is right - try NPM 12 if you can - it is way better.
-
SNMPv3 credential sets are associated with nodes via an entry in Orion.NodeSettings with SettingName='ROSNMPCredentialID' (for credentials used in read operations) and SettingName='RWSNMPCredentialID' (for credentials used in write operations). There are two ways to add an SNMPv3 node in the API: by creating an instance of…
-
An update after much time has passed - this API exists now and is documented at Credential Management · solarwinds/OrionSDK Wiki · GitHub
-
Here's some info on assigning UnDPs to a node: NPM Universal Device Pollers · solarwinds/OrionSDK Wiki · GitHub
-
Orion doesn't have a way to grant access to edit some custom properties but not others. Maybe you could make a custom tool (outside of Orion) that holds (as secret data) an Orion username and password with rights to edit custom properties. The tool would let users toggle your mute custom property, but nothing else. Then…
-
Can you be more specific about how your environment is set up and what tasks you want to automate? What SolarWinds product(s) and versions are you using?
-
Strange. I recommend you open a ticket with support for this.
-
That's strange. Could you post a screenshot of where it is showing v9 sp2?
-
Your query looks fine to me. I tried it out and it works for me as well. Next troubleshooting still will be to get debug logs for this. Since you are a SWQL Studio user, we can take a shortcut. On the Orion server, run Log Adjuster from the start menu. Scroll down until you see the "Information Service 3.0" entry in the…
-
The SDK package does not include MSXML itself. "Interop.MSXML2.dll" is just an auto-generated wrapper for accessing MSXML from .NET code. If Nessus is flagging MSXML, then it is either a false positive or a copy of MSXML that came from somewhere else. You make a good point about the SDK download link being somewhat buried.…
-
Start with the Windows Event Log and the IIS Management app. Does IIS Mgmt show the website as running? Is the application pool started? Look in the Application event log and see if there are any errors about IIS or ASP.NET.
-
Yes, this is possible. Here's a sample in Python: orionsdk-python/discover_one_node.py at master · solarwinds/orionsdk-python · GitHub
-
Programmatically creating alerts is not supported. Using a custom property as the source of the "To" address for an email action should work. Have you contacted support about that issue?
-
Those modules were included in Orion SDK 1.10 and earlier. These versions are still available from Orion SDK Information . These perl modules were based on the SOAP interface for SWIS, which is why they were dropped in Orion SDK 2.0 and later. The SOAP interface is still supported, but not recommended for new code.
-
More data - NCM 7.4 introduced a new API for config transfers. The existing one is still supported, but I recommend you take a look at the new one because I believe it will be easier for you to work with. Docs on github: NCM Config Transfer · solarwinds/OrionSDK Wiki · GitHub