Comments
-
This type of authentication is not available through the HTTPS/JSON interface, only the "net.tcp" interface. This net.tcp interface is what SwisPowerShell and the other Orion services use to talk to SWIS. If this is important to your use case, I recommend you start from the SwisPowerShell code and adapt from there.…
-
Did you run "Add-PSSnapin SwisSnapin" in that PowerShell session?
-
Reproduce the problem and then check two logs: C:\ProgramData\SolarWinds\InformationService\v3.0\Orion.InformationService.log C:\ProgramData\SolarWinds\Logs\Orion\NPM.BusinessLayer.log Let's see if there are any clues in there. One of them should have a stack trace, at least.
-
Currently your options are: 1. Configure an alert action that runs a script to notify you through your other system. 2. Write a tool that periodically queries Orion.AlertStatus to get the currently-active alerts and trigger notifications in your other system when the set changes.
-
Try using the Custom Property Editor to add a new dummy custom property, then remove it. Sometimes that "resets" the report schema files and causes the existing custom properties to show up again.
-
Do the normal unmanage/remanage commands in the website work correctly for you? I made a fresh install of NPM 10.2 and SDK 1.3 to test this scenario and the Unmanage/Remanage verbs worked correctly for me. When you call Remanage, how long does the Status stay at 0 (Unknown)? It is normal for the node status to be 0 for a…
-
Not sure why that is showing up as "System.Binary". In .net terms it is a byte array. That field corresponds to a SQL Server "timestamp" column. It is essentially a last-modified time for that record, though it is not based on calendar/clock time - it's more like a counter that SQL Server automatically increments when a…
-
When you run "Get-SwisData" with no arguments, PowerShell asks you for a value for the required "SwisConnection" parameter. You typed "Connect-Swis -Hostname ..." at the prompt. The problem is that this is not a prompt for a PowerShell command - it is a prompt for a string that PowerShell will use for this parameter. It…
-
Try starting from the sample script: https://github.com/solarwinds/orionsdk-python/blob/master/samples/add_node.py
-
That code worked for me in Python 3, but it looks like I broke compatibility with Python 2. I just pushed an update to SwisClient that works for me in Python 2 - please try it and let me know if it works for you. https://raw.githubusercontent.com/solarwinds/OrionSDK/master/Samples/Python/SwisClient.py
-
You are running into the difference in supported features between SWISv2 and SWISv3. At this time NCM/Cirrus data and verbs are only available through SWISv2. SWQL Studio can connect to either SWISv2 or SWISv3 according to what you choose in the "Server Type" dropdown in the connection dialog. Your Perl script must be…
-
Add a "Content-Type: application/json" header to your request.
-
That is a very dense question! It sounds like you are considering writing a tool that will: 1. Accept as input from the user a ticketing system case number 2. Call the ITSM system with that ticketing system case number to get some values about the device referenced by the case 3. Call Orion to apply the values from the…
-
It seems that there is no way to set the AcknowledgedNote property - not through the UI and not through the API. I'll update the docs at Alerts · solarwinds/OrionSDK Wiki · GitHub to reflect that.
-
Did you add the pollers (Orion.Pollers entries) for the node? If you got the node info from Orion.DiscoveredNodes, then you can look at Orion.DiscoveredPollers to see what pollers to add.
-
This sounds potentially similar to a known bug, but I don't have enough details to know for sure that it is the same thing. Could you provide a minimal script that triggers the error + the specific error that you are getting?
-
2. The CRUD operations are available through the SOAP interface. I have attached an updated version of the "JavaClient" sample in the SDK that does the following operations: * Add a node using the recipe in the SDK doc. * Set a custom property on this new node. * Delete the "Guest" account. I will probably use this code as…
-
Thanks for trying it out! Let me address your questions in separate replies. First, it is possible to use SWIS over HTTPS with a proper certificate authority-issued certificate, but you are correct that upgrades will mess up your configuration and require a redo. I will raise this issue with the product manager so he can…
-
The CredentialIDs for nodes are kept in the Orion.NodeSettings entity, which has a key/value structure. The SettingName for WMI credential sets is "WMICredential" and the SettingNames for SNMPv3 credential sets are "ROSNMPCredentialID" (used for read options like polling) and "RWSNMPCredentialID" (used for read/write…
-
There are many ways to get Orion agents onto new servers: Deploy agents to nodes It sounds like the Deploy with a Gold Master Image option is what you are looking for.
-
You just need some parenthesis in the WHERE clause. If EngineID 2 is supposed to handle 10.22.0.0/16 and 10.210.0.0/16, then you want a WHERE clause like this: WHERE (ip_address LIKE '10.22.%' OR ip_address LIKE '10.210.%') AND EngineId <> '2'
-
This was fixed in Orion Platform 2018.4/NPM 12.4. When you set a non-default SNMP port in the discovery configuration, it will be respected.
-
Snapins are the extension mechanism that was provided in PowerShell 1.0. SwisPowerShell was written to that system and various documents and samples use "Add-PSSnapin" to load it. Later versions of PowerShell added the Module extension system that has various advantages. Modules: * can declare dependencies on other modules…
-
Yes, you need to compile the jar yourself. It's there in the same Java sample.
-
Please see the docs for this API: https://github.com/solarwinds/OrionSDK/wiki/Agents#deploy And sample code in PowerShell: https://github.com/solarwinds/OrionSDK/blob/master/Samples/PowerShell/DeployAgentViaVerb.ps1
-
You should be able to use a SWQL query like this: SELECT ComputerName, SourceName, Messagefrom Orion.APM.WindowsEventwhere ComputerName IN ('[list of all our domain controllers]')and message like '%locked out%' And SWQL Studio is installed with the Orion SDK, which you can download from…
-
Service Unavailable could mean that the IIS website or Application Pool is stopped. The line from the log points to the Application Pool. The Windows event log might have more information about why. In my experience, the most common cause for Orion's application pool to be stopped is if the application pool identity (you…
-
To run SWIS queries from PowerShell, install the Orion SDK and run these commands: Add-PSSnapin SwisSnapin $swis = Connect-Swis -hostname YourOrionServer -Username YourOrionUsername -Password YourOrionPassword Get-SwisData $swis "SELECT n.Nodes.Caption, n.EndOfSupport, n.EndOfSales, n.EndOfSoftware, n.EosLink FROM…
-
We do have a credential management API now. It is documented at Credential Management · solarwinds/OrionSDK Wiki · GitHub .
-
At this time Orion does not have an API for managing stored credentials.