Comments
-
Two places to look: 1. The SWIS log: C:\ProgramData\SolarWinds\InformationService\v3.0\Orion.InformationService.log 2. More details from PowerShell: output "$($error[0] | format-list -force)" instead of just $($error[0])
-
Sorry, I have no idea! But maybe I passed your message to someone who would.
-
1. Try changing the script to run with an Orion username and password instead of the -Trusted switch. 2. Try connecting to SWISv3 instead of SWISv2 (just remove the "-v2" switch from the Connect-Swis line). 3. Look in the SWIS log to see if there are additional details. If you are connecting to SWISv2, that's…
-
The equivalent sample for WMI is here: https://github.com/solarwinds/OrionSDK/blob/master/Samples/PowerShell/CRUD.AddWMINode.ps1 But you may want to look at the discovery API instead - it covers most of the monitoring capabilities rather than the bare-bones setup that the Add Node approach gives you.…
-
It depends on which data you are looking for. Some of the entities that might interest you: * Orion.ResponseTime * Orion.CPULoad * Orion.NPM.InterfaceTraffic * Orion.NPM.InterfaceErrors If you have questions about what entities report certain historical statistics, just let us know what you are looking for and we can point…
-
For this use case, I think the simplest solution would be to just query the LastSync property until it changes. Like this: $hostname = "localhost"$username = "admin"$password = ""$swis = Connect-Swis -Hostname $hostname -UserName $username -Password $password$node = Get-SwisData $swis "SELECT TOP 1 NodeID, LastSync FROM…
-
To update the notes in an alert, you can use a PowerShell command like this: Add-PSSnapin SwisSnapin $swis = Connect-Swis $uri = 'swis://IAF-VM-UNI-07./Orion/Orion.AlertStatus/AlertDefID=BAD58621-C58A-46AB-A74D-6C3C202BBF3B,ActiveObject="5"' $newnote = "This is my new note text." Set-SwisObject $swis $uri @{Notes=$newnote}…
-
POST to https://your-server:17778/SolarWinds/InformationService/v3/Json/Invoke/Orion.UDT.Port/AdministrativeShutdownAdministrativeShutdown With this body: [ 123, [ 456 ] ] Where 123 is the NodeID of the switch and 456 is the PortID (from Orion.UDT.Port) of the port. You can list more than one port if you wish.
-
Looks like a bug, but it's not new to 9.0. This has been broken since at least 8.1. Did it ever work? In our defense, it does say "Filters are optional..." under the Filter Nodes textbox. I guess the website decided to opt out of respecting filters! :) I have entered this bug into the system.
-
That's not intentional. I'll look into it. What version are you using?
-
Richard, these are solid ideas. If you want to track them using the thwack "ideas" feature (and I think that's a good plan), please create them in their respective products: http://thwack.solarwinds.com/community/network-management_tht/user-device-tracker/user-device-tracker-feature-requests,…
-
You can query Metadata.Entity and Metadata.Property to find out about the supported entity types and their properties, including custom properties.
-
Sure: Alerts · solarwinds/OrionSDK Wiki · GitHub
-
There is currently no support for modifying these settings through the API.
-
Try this powershell script as a starting point: OrionSDK/CRUD.AddNode.ps1 at master · solarwinds/OrionSDK · GitHub
-
A collection of "PscxDynamicType0" objects is normal. Get-SwisData creates powershell objects at runtime with properties that match whatever columns get returned by the swis query. When you say that it "fails", what error are you seeing?
-
That kb article only applies to NPM 10.1 and earlier. More recent versions of NPM handle this automatically.
-
I would expect your first query to get the last downloaded config. I'm not sure what NCM_NodeProperties.LastTransferTime represents, so I reached out to the NCM dev team to clarify.
-
Yes, you can definitely make your own custom pollers in v9. There is no requirement that the MIB be in our database - just paste in your OID.
-
What happens if you tell SSMS to send the query results directly to a file instead of the grid view?
-
Let's start by gathering some info about your setup. * What product and version are you using? * What kind of account are you using (Orion, Active Directory, etc.)? * Can you share a snippet of your code that demonstrates the problem?
-
Set-SwisObject needs one or more Uris that specify which objects to update. There are two ways to supply Uri(s) to Set-SwisObject: 1. Using the "-Uri" option. 2. As pipeline input. This method allows you to send many Uris - Set-SwisObject is smart enough to send them all to Orion as a single batch, saving a significant…
-
I don't recognize PassivePoll. Is that a custom property in your environment? If so, you can find it at Nodes.CustomProperties.PassivePoll. The same thing applies to custom properties on Interfaces - they will be at (for example) Interfaces.CustomProperties.Assyst_Short_Code.
-
For VMware hosts, we report CPU utilization as the average of HOST-RESOURCES-MIB:hrProcessorLoad (1.3.6.1.2.1.25.3.3.1.2).
-
Here's a query that will return the SWIS data types that appear in the "I want to alert on" box: SELECT E.FullName, E.DisplayName FROM Metadata.Entity E WHERE E.Metadata.Name='alertingSource' AND E.Metadata.Value='true' To find the properties for a type, you can use this query: SELECT Name FROM Metadata.Property WHERE…
-
Almost all of the APIs from those versions will still work in current versions. There have been some product changes that show up in the API though - for example, the alerting system has changed completely. If you can give me more information about what APIs you use, I can give more specific guidance. If this API-level…
-
What language are you working in? PowerShell?
-
We have more than one developer working on the SDK, and the development teams for all of the products on the Orion platform contribute to the public API. We have been shipping the SDK for several years and update it for each platform release. Is there some feature you are particularly concerned about?
-
Extracting the query from the URL and adding some spacing, I get this: SELECT VirtualMachineID, DateTime, AvgCPULoad, AvgMemoryUsage, AvgIOPSTotalFROM Orion.VIM.VMStatisticsWHERE VirtualMachineID = 77 AND DateTime = (SELECT TOP 1 AddHour(-1, (SELECT GetUtcDate() as Date FROM Orion.Engines)) As NextPoll From Orion.Nodes)…
-
I don't know of any quick fix to speed up the map loading, but there is a way to keep it from slowing down the home page loading. If you edit \Inetpub\SolarWinds\NetPerfMon\Resources\7-1-NetworkMaps\22-NetworkMap.Resource and add this line: <!-- LoadAsynchronously=true --> Right after the <!-- Title=Network Map --> line,…