Comments
-
Your answer is here: NPM Universal Device Pollers · solarwinds/OrionSDK Wiki · GitHub
-
The other way to unmanage a node is to set the relevant properties on it. In PowerShell, you can do this using Set-SwisObject. This still works with one object at a time, but I would still expect it to be faster. This cmdlet requires the Uri for the object you want to update and the list of properties you want to set.…
-
Looks like a bug. I've added it to our bug tracking system.
-
This does not sound like an Orion SDK issue. Have you considered opening a case with SolarWinds Support?
-
This is not something the API supports today.
-
All of the higher-level tasks in the API are just different inputs to the same basic operations (query, invoke, create, update, delete). I recommend you look at the PowerShell examples and then make equivalent calls to those basic operations from C#.
-
Just get the latest SDK (SolarWinds Knowledge Base :: Downloading the SolarWinds Orion SDK). There's a sample VB.net program that shows how to query for and acknowledge alerts.
-
Yes, the alert will still show up in the AlertStatus table while it is triggered. After the alert resets it is removed from this table.
-
Before going to scripting, have you tried setting this up using the reporting interface?
-
The IPAM dev team confirmed this bug. No workaround beyond what you already discovered.
-
Copy SolarWinds.Logging.dll from your Orion install directory (C:\Program Files (x86)\SolarWinds\Orion) on the orion server into the directory with SwisPowerShell.dll. I'll get this updated in the SDK installer.
-
Could you be more specific about what you are trying to do?
-
The standard poller (NetPerfMonService - handles node up/down status, response time, interface statistics, etc.) remains single threaded, though (as always) it handles many outstanding SNMP requests simultaneously. The UnDP is a separate service that runs under the control of the SolarWinds Job Scheduler/Job Engine. This…
-
1. There is not currently an API for controlling the assignment of AppInsight applications. 2. See this sample for how to set custom property values: https://github.com/solarwinds/OrionSDK/blob/master/Samples/PowerShell/CRUD.SettingCustomProperty.ps1. You can't do it in the same operation as adding the node - add the node…
-
In the database the traps table has timestamps in the local time zone of the Orion server that received the trap. SWIS operates in UTC, so the SWQL query equivalent to your SQL query would be: SELECT COUNT(TrapID) AS MYCOUNT FROM Orion.Traps WHERE DateTime > AddMinute(-10, GetUtcDate()) Do you get closer results with that…
-
It's a bug. You can work around it by getting the Uri for an interface and appending "/CustomProperties" to it.
-
Try this: curl -k -v -u "myuser:password" -d '["10.248.1.10","Used"]' -H "Content-Type: application/json" https://mysolarwinds:17778/SolarWinds/InformationService/v3/Json/Invoke/IPAM.SubnetManagement/ChangeIPStatus
-
The parameters for CreateReport are: name, description, limitationCategory, title, subtitle, definition, isFavorite, username. The values you are passing don't really line up with those. See this older post for how these parameters line up with the properties of Orion.Report: Re: Import/Export Reports
-
I believe you got pointers to the discovery API in another thread. That should cover, but let me know if it doesn't.
-
To answer that question by querying for subnets, you would have to loop through and check each enclosing subnet (all the way out to /0, I guess!). But if you query for addresses, you could just check any address within the subnet you are trying to test. If it exists (doesn't matter whether it is available, reserved, etc. -…
-
No, we don't have hide the edit controls for a custom property in the website. However, you could make an alert for nodes with muted=true and duration=null. This would notify you if the situation arises.
-
Orion.AlertStatus has two keys: AlertDefID and ActiveObject. So the Uri for one of these things looks like this: swis://systemid/Orion/Orion.AlertStatus/AlertDefID=22697448-B11B-44A5-9045-36572F0A6843,ActiveObject="16"
-
No, the API does not yet support setting custom property values on IP addresses or groups/subnets/supernets.
-
"DayDiff(GetUtcDate(), N.UnmanageUntil)" does not tell you the difference between the UnmanageFrom and the UnmanageUntil times. It tells you how much unmanage time is left. Today is day 173 of the year and August 1 is day 213. That difference plus the fraction of the day rounded up would be 41 days.
-
swis.query(swql) returns an dictionary with a 'results' key. This value associated with the 'results' key property holds a list of dictionaries: the rows returned by your query. Each row is represented as a dictionary with a value for each property that was selected in your query. I'm not sure what you mean by a "better"…
-
Use "curl -v" to get more details about what happened between when the connection was opened and when it was forced closed.
-
Job management is not covered by the IPAM API.
-
The return value of CreateCorePluginConfiguration is a big XML blob. You should not convert it to json. Just use it as a string and ignore the fact that it is XML. Python is quite different from PHP, but here's a Python example of calling this API: orionsdk-python/discover_one_node.py at master · solarwinds/orionsdk-python…
-
It's not immediately obvious what could be causing that, so let's look at the log. Run the script to trigger the error, then open C:\ProgramData\SolarWinds\InformationService\v3.0\Orion.InformationService.log, jump to the end, and see what it reveals.
-
Sometimes this can happen if the SOLARWINDS_WEBSITE local user account doesn't have permission to read the background image file for the map. Generally this file will be in C:\Program Files\SolarWinds\Maps. I'd check the permissions on that directory and see what you find.