Comments
-
To set custom properties, don't create an instance of Orion.GroupCustomProperties. This instance was automatically created when the group was created. To set the group's custom properties, you need to get the Uri of this instance and update it. Here's a quick and dirty example: from orionsdk import SwisClientswis =…
-
The map data is not exposed through the API in a useful form. Do you have your nodes grouped in other way, such as by Orion Groups or labelled with location custom properties?
-
Try IPAM.IPNodeAttr.
-
Good catch! The new node tree correctly handles blank values (that is, the empty string), but loses track of NULL values. The standard properties (Contact, Vendor, etc.) default to blank, but custom properties you add default to NULL - leading to the problem you are seeing. I have attached a fixed version of…
-
Are the clocks in sync?
-
If the serial number/uuid is available from the devices through SNMP, you can set up a Universal Device Poller to capture it. Then it will be available from the REST API via queries over the Orion.NPM.CustomPollerStatusOnNodeScalar entity. If not, then you can create an custom property in Orion fill in the serial numbers…
-
You may want to look at the option of using the Discovery API, which will add the node "with all the toppings", and then adjust from there. See Triggering discovery of SNMPV2 device through JSON API for an example.
-
The Orion website makes a bunch of assumptions about properties being filled in. Many of them don't seem like they would matter, but for best results you need to provide values for all of the properties listed in "Orion SDK.pdf" under the "Adding a node for monitoring" section.
-
Are you seeing this in SWQL Studio, Reporting, or somewhere else?
-
What versions of EOC and SAM are you working with? You wrote, "I am not receiving the same out put in EOC that I am getting through SAM" - what is different?
-
The url for GetAlertSuppressionState would be this: https://server:17778/SolarWinds/InformationService/v3/Json/Invoke/Orion.AlertSuppression/GetAlertSuppressionState The POST body for all /Invoke/ calls is a json array containing the argument values. GetAlertSuppressionState expects one argument: an array of URIs. So we…
-
Unfortunately I that exception message doesn't tell me exactly what went wrong. The log file (C:\ProgramData\Solarwinds\InformationService\v2.0\Orion.InformationService.log) probably would. Looking at your code, I can make a guess about the issue: you have added several extra fields to the AlertInfo class and removed the…
-
The Report Builder makes some transformations to a query to deal with paging and contextual filters that might be applied to a report. It looks like these transformations are getting confused by your subqueries in the SELECT clause. Fortunately it is straightforward to rewrite your query to use joins instead of subqueries.…
-
This this only affecting AD accounts? Do Orion accounts still work?
-
You're right - I just tried this and got the same result. I will enter it as a bug and see what we need to do to get it working again.
-
There's no place to specifically configure that, but if you're a Firefox user you could install the Stylish extension. The node tree uses the CSS class Tree, so you could have a rule like ".Tree { font-size: 75% }" to make the Node Tree text 3/4 of the size it would otherwise be.
-
There is no ADO connector for this API. Have you looked at the docs? Home · solarwinds/OrionSDK Wiki · GitHub
-
That's strange. So it's showing zero bps in the map tooltip but it's showing a non-zero bps in other places for the same interface?
-
An API for adding these credential sets was added in the most recent release, NPM 12.2. See https://github.com/solarwinds/OrionSDK/wiki/Credential-Management for details.
-
Certainly. You can query the Cirrus.ConfigArchive entity: http://solarwinds.github.io/OrionSDK/schema/Cirrus.ConfigArchive.html
-
You can cause a node to be polled like this: Invoke-SwisVerb $swis Orion.Nodes PollNow @("N:123")
-
Could there be a firewall interfering?
-
Please see this thread: How to create array of arguments for Unmanage/Remanage? (C#)
-
The python client uses the json endpoint for SWIS, so verb arguments need to be encoded as json. The python SwisClient wrapper takes care of this for you, so you can just pass regular python lists and dicts. No ugly XML. I just put a sample of creating a group from python on GitHub:…
-
You can list the profiles by querying Orion.DiscoveryProfiles. Use SWQL Studio for experimenting with queries. Removing discovery profiles is not currently supported through the API. There are various other verbs. You can get a plain list of them all using a query like "SELECT EntityName, Name FROM Metadata.Verb". I…
-
This is a bug. It was fixed after Orion Platform 2017.1 (NPM 12.1) was released, but you can expect the fix in the next release. It's CORE-4521 if you need to check on the status.
-
Sorry for the late reply. I tried out your script on a device here and it worked for me, including importing the interfaces, so it doesn't look like a problem with the script itself. To find out more, please run it again and then look in the discovery log for error details: C:\ProgramData\SolarWinds\Discovery…
-
Here are another couple of articles that might be useful: Create an SLA report showing average SLA availability during business hours - SolarWinds Worldwide, LLC. Help and Suppor… Understanding the Custom SLA Report SWQL query - SolarWinds Worldwide, LLC. Help and Support
-
DefinitionId is the same as AlertDefId, and ActiveObject is the same as ObjectId. (Yes, it is dumb that these values have one name when they are properties of Orion.AlertStatus and a different name when sending them to AddNote or Acknowledge.)
-
First, you probably want "GETUTCDATE()" not "GETDATE()" in the WHERE clause - SWIS operates in UTC even when the underlying database tables use local time. My hunch is that account limitations are getting involved and making this query more complicated. Can you try this query with an account that has no limitations?