Comments
-
I don't think I have tested it with anything earlier than 2.7. Requests says it works with 2.6, so orionsdk-python probably does too. The code is pretty short. Try it out and I can help you work through any compatibility issues you run into.
-
There's no facility for adding custom buttons or links to the alert view in our web console, but you could develop a page in [your favorite web development platform] that would use our API to fetch the list of alerts and show the appropriate buttons there. You could add a link to this new page to the email notifications…
-
I recommend playing with swisclient in the Python repl (interactive mode). This way you can see the structure of the object returned from calling .query() and figure out how to extract the value you want into a python variable.
-
This issue is tracked as https://github.com/solarwinds/OrionSDK/issues/82 . It is fixed in NPM 12.2 (Orion Platform 2017.3). If you aren't in a position to upgrade the product to this release, you can work around the bug by changing your query like this: SELECT Status,ISNULL(LastSystemUpTimePollUtc,0) AS…
-
I don't think it will be possible to do a transformation that complex in SWQL or SQL.
-
It sounds like you are looking for the ISNULL function: ISNULL (Transact-SQL) | Microsoft Docs
-
For each credential you want to use in the discovery, you need another <SharedCredentialInfo> element. Like this: <Credentials> <SharedCredentialInfo> <CredentialID>6</CredentialID> <Order>1</Order> </SharedCredentialInfo> <SharedCredentialInfo> <CredentialID>3</CredentialID> <Order>2</Order> </SharedCredentialInfo>…
-
The technique described in this post might do what you want: Triggering discovery of SNMPV2 device through JSON API
-
Is this for the Serv-U FTP Server?
-
The API endpoint is separate from the Orion website. Even if your Orion website is port 443, you still need to use port 17778 for API requests.
-
Did you set the RediscoveryInterval property on the node? It should be a number in minutes. When you add the node through the website, it will set RediscoveryInterval to 30, but when you add it programmatically you need to set it yourself.
-
To add a "details" resource for a specific object to a summary view, you need to use the Custom Object Resource. This resource is a magic wrapper for other resources. First add a Custom Object Resource to your summary view. Then click its Edit button, pick "Groups" for "Choose object type", and then use the picker to…
-
There is not a way to obtain a list of volumes from an existing node. However, you can add a node using the discovery API. This will also add the volumes. You can then delete any added volumes that you don't want to monitor. See this post for details and an example script in Perl: Triggering discovery of SNMPV2 device…
-
The entities in the Metadata namespace have always been there. Their purpose is to describe the schema. They describe types, not instances. PerfStack uses various metadata queries to figure out what types are available and how they are related as well as what metrics exist on each.
-
Let's handle this in your GitHub issue: Can't access data · Issue #67 · solarwinds/OrionSDK · GitHub
-
1) Yes, you can filter on the string portion of the alert. I think the problem you had in your firefirefire test is that your hand-typed "SNMPv2-MIB:mbufs.1.2.0" did not match the OID that was actually in the trap. I don't have a Solaris box handy and a quick google did not turn up the man page for snmp_trapsend, so I'm…
-
What version of NPM/SAM?
-
If you just want to find nodes that have not responded in the last 30 days, you could use a query like this: SELECT NodeID, MAX(Availability) AS MaxAvailability FROM Orion.ResponseTime WHERE DateTime > ADDDAY(-30, GETUTCDATE()) GROUP BY NodeID HAVING MAX(Availability) = 0
-
I added some text to the bottom of https://github.com/solarwinds/OrionSDK/wiki/Discovery describing what that "result" value is. The NodeID for the newly imported node(s) are in the Orion.DiscoveryLogItems entity. When you have "IsAutoImport: true" in the discovery config, then you can take the ProfileID of the discovery…
-
If I understand correctly, you are reporting on the availability of each node in a group, not the availability of the group as a whole. If that is correct, then since your nodes are identified by custom properties, you don't need the groups at all. A query like this will give you last-30-days availability for nodes with a…
-
I'm not aware of any reference for these macros. I had to go look at the code for the VM Details view type to see what was available: not much. It looks like you just get NetObjectID and the Caption. I sent a message to the relevant dev team and will add an update here if they tell me something different.
-
No, we only have that sample in PowerShell - OrionSDK/NPM.DiscoverAndAddInterfacesOnNode.ps1 at master · solarwinds/OrionSDK · GitHub. But you can call the same verbs from Java just like any other verbs.
-
You can set properties on Cirrus.Nodes directly using the powershell Set-SwisObject cmdlet. Like this: set-swisobject (connect-swis -v2 -host latest-builds -username admin) swis://./Orion/Cirrus.Nodes/NodeID=F9DF743A-C156-4AA0-989B-82408C1F4D95 @{ExecProtocol='TELNET'; CommandProtocol='TELNET'; TransferProtocol='TELNET'}
-
Can you share more details about your setup? What SolarWinds products are you trying to connect to? What client software/language/runtime are you using?
-
Could you check the browser's location bar when it is in this state? See if the path looks like /Orion/Proxy.aspx?... That could cause this behavior. Proxy.aspx is part of the glue we're using to connect the old ASP and new ASP.NET parts of the website. We try to hide it, but sometimes it leaks out and causes problems like…
-
I don't know why you would install the Orion SDK on the SQL Server. Installing it on the Orion server is common, but certainly not required. The "-Trusted" option will authenticate with Orion using the Windows token of the user running PowerShell. This means that the Orion server must be in the same domain as you, or at…
-
Use HTTPS, not HTTP, on port 17778.
-
There is not, but I added your vote to the internal feature request (UDT-692).
-
"T.Traffic.InAveragebps" - in your query, you have used an explicit JOIN to bring in Orion.NPM.InterfaceTraffic with the alias "T". So you don't need to say "T.Traffic.InAveragebps". You can just say "T.InAveragebps". Or "I.Traffic.InAveragebps". Also - you are joining in InterfaceTraffic only on the NodeID. You should…
-
Currently the only way to update the list of values for a custom property is this ModifyCustomProperty call. And as you have observed, it replaces the list of values rather than append to it. So to add a new value without removing the old ones, you must first fetch the old list, add your new value to it, and then call…