Quantcast
Channel: THWACK: Popular Discussions - Orion SDK
Viewing all 3719 articles
Browse latest View live

Unable to unmanage application using orion API

$
0
0

Hi All, I am trying to unmanage an application using orion API. I took python script to unmanage a node as a reference and modified it to also support for application.

 

Script was able to execute with no errors and exceptions but application didnt get unamanaged. I am kind of stuck here as don't have any errors to check and logs to find the root cause.

 

Please help if anyone has faced this issue before.

 

import requests

from orionsdk import SwisClient

from datetime import datetime, timedelta

 

 

def main():

    hostname = 'localhost'

    username = 'test'

    password = 'dadasdd'

    print("i am running")

    swis = SwisClient(hostname, username, password)

    results = swis.query('SELECT ApplicationID, ApplicationTemplateID FROM Orion.APM.Application WHERE ApplicationID = @ApplicationID', ApplicationID='28')

    if results['results']:

        ApplicationID = results['results'][0]['ApplicationID']

        ApplicationTemplateID = results['results'][0]['ApplicationTemplateID']

        netObjectId = 'AA:{}'.format(ApplicationID)

        now = datetime.utcnow()

      

        tomorrow = now + timedelta(days=1)

        response = swis.invoke('Orion.APM.Application', 'Unmanage', netObjectId, now, tomorrow, False)

        print('Done...{} will be Remanage until {}'.format(ApplicationID, tomorrow))

        print('Response - {} '.format(response))

    else:

        print("Device doesn't Exist")

 

 

requests.packages.urllib3.disable_warnings()

 

 

if __name__ == '__main__':

    main()

 

 

 

 

 

 

 

 

 

 

 

Thanks in advance for checking.

 

Regards

Devraj S


Get-SwisData : An error occurred when verifying security for the message

$
0
0

Hi Folks

 

Further to my post back in October, I've experienced a recurrence of this issue.

 

Unfortunately this time it impacted our server build process albeit minimally.

 

Previously I had only seen the error while interrogating Orion DB using powershell locally, this time I was using SWQL Studio, developing a query to furnish an alert in SolarWinds.

 

After a couple of hours (first time working with SWQL and the Orion DB) the SWQL console popped up an error message, unfortunately I didn't get a screen grab of it but if someone can point me at a log to look at I'll see if I can retrieve it.

 

At the same time I saw errors from our server build process failing to enroll nodes in SolarWinds, on investigation I discovered it was this same issue

 

+ FullyQualifiedErrorId : Get-SolarWindsNode: An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail.
Get-SolarWindsNode is just our wrapper function which is calling Get-SwisData, I tested in powershell console and got the original 'An error occurred when verifying..." etc. message.
This is not an account issue, the server build process uses a service account and had been working for over a month (and continues to work now), SWQL Studio had been logged in using my AD account and had been working for a couple of hours prior to breaking.
I attempted Information Service restart on SolarWinds node but with no success. Also tried to find any specific log or event entries but again with no success
At no point was SolarWinds UI or the monitoring, alerting or add node functionality of it affected.
Next morning, problem had disappeared. All connections available again.
I really need to understand what's happening here, could be an underlying transport issue and nothing to do with Orion SDK but I need to prove it one way or the other.
Any help greatly appreciated.
Further info...
While SWIS powershell and SWQL studio were failing I could still run the SQL by way of simulating alerts in alert manager and correct Orion data was being returned
 

 

how to input 'y' or 'yes' with powershell script to NCM

$
0
0

Hello, Team

is anybody who can give me an idea how to input the 'yes' or 'y' command when waiting for the user input.

want to automate the Nexus 3048 ios upgrade process with powershell script with NCM.

 

Also, powershell script can apply for multiple devices at the same time for example upgrade 100 devices at the same time for 1 powershell script.

 

for example

Images will be upgraded according to following table:

Module             Image         Running-Version             New-Version  Upg-Required

------  ----------------  ----------------------  ----------------------  ------------

     1            system             6.0(2)U1(2)             6.0(2)U3(1)           yes

     1         kickstart             6.0(2)U1(2)             6.0(2)U3(1)           yes

     1              bios      v1.2.0(08/25/2011)      v1.2.0(08/25/2011)            no

     1         power-seq                    v4.4                    v4.4            no

 

 

Switch will be reloaded for disruptive upgrade.

Do you want to continue with the installation (y/n)?  [n] y   <--- here, how to input 'y' command with powershell script ??

 

Install is in progress, please wait.

Performing runtime checks.

[####################] 100% -- SUCCESS

Setting boot variables.

[####################] 100% -- SUCCESS

Performing configuration copy.

[####################] 100% -- SUCCESS

Finishing the upgrade, switch will reboot in 10 seconds.

as20a.w40216b.x460.krccw#

How to enable API in Solarwinds to integrate with other tools?

$
0
0

Hi,

 

We are trying to create a “Central Dashboard for Capacity” related reports for my customer so that whenever needed one can login to this Tool and generate a report.

 

To generate those reports in our Tool, our Tool needs to further integrated with Solarwinds to get the Capacity and Performance related data. And API (Web services) is the only protocol that our Tool support.

 

We need your help to understand whether Solarwinds support API so that we can explore further to get the Capacity and Performance related data from Solarwinds.

 

Also, how we can enable API Integration.

SWIS discover Interface Error

$
0
0

Hi,

We're getting an error when we discover interface with swis.

 

I got this error message, "Exception of type 'SolarWinds.ApiProxyFactory.TransientApiProxyException' was thrown."

 

 

Why got this message?

 

Platform version:

Orion Platform 2017.1, IPAM 4.3.2, NPM 12.1, VIM 7.0.0, NetPath 1.1.0, QoE 2.3, NTA 4.2.2

 

2017-05-23_12-27-58.png

How to enable API in Solarwinds to integrate with other tools?

$
0
0

Hi,

 

We are trying to create a “Central Dashboard for Capacity” related reports for my customer so that whenever needed one can login to this Tool and generate a report.

 

To generate those reports in our Tool, our Tool needs to further integrated with Solarwinds to get the Capacity and Performance related data. And API (Web services) is the only protocol that our Tool support.

 

We need your help to understand whether Solarwinds support API so that we can explore further to get the Capacity and Performance related data from Solarwinds.

 

Also, how we can enable API Integration.

Network Discovery returning Unknown

$
0
0

Hi, I am trying to modify the sample discovery powershell script in the Orion SDK package in hopes of automating our network discovery tasks. I am trying to feed the IP addresses from a .csv and the credentials from the Orion DB, but so far is getting Unknown results only. Hope someone can help and maybe you'll find something wrong in this portion of the code. Thanks so much in advance.

 

$credlist = Get-SwisData $swis "SELECT ID FROM Orion.Credential" | % {"<SharedCredentialInfo>

<CredentialID>$_</CredentialID>

<Order>$_</Order>

</SharedCredentialInfo>"}       

 

$ipcontainer = import-csv -Path "$($env:USERPROFILE)\ScanResults_20190124.csv" | Select-Object 'Address'| % {$_ -replace "@{Address=",""} | % {$_ -replace "}",""} | % {"<IPAddress>

<Address>$_</Address>

</IPAddress>"}

 

$InitialCorePluginXml = "<CorePluginConfigurationContext xmlns='http://schemas.solarwinds.com/2012/Orion/Core' xmlns:i='http://www.w3.org/2001/XMLSchema-instance'>

<BulkList>

        $ipcontainer

</BulkList>

<Credentials>

     $credlist

</Credentials>

<WmiRetriesCount>1</WmiRetriesCount>

<WmiRetryIntervalMiliseconds>1000</WmiRetryIntervalMiliseconds>

</CorePluginConfigurationContext>"

 

$CorePluginConfigurationContext = ([xml]$InitialCorePluginXml).DocumentElement

 

$CorePluginConfiguration = Invoke-SwisVerb $swis Orion.Discovery CreateCorePluginConfiguration @($CorePluginConfigurationContext)

 

$StartDiscoveryContext = ([xml]"

<StartDiscoveryContext xmlns='http://schemas.solarwinds.com/2012/Orion/Core' xmlns:i='http://www.w3.org/2001/XMLSchema-instance'>

<Name>Test Script Discovery $([DateTime]::Now)</Name>

<EngineId>$engineId</EngineId>

<JobTimeoutSeconds>3600</JobTimeoutSeconds>

<SearchTimeoutMiliseconds>2000</SearchTimeoutMiliseconds>

<SnmpTimeoutMiliseconds>2000</SnmpTimeoutMiliseconds>

<SnmpRetries>1</SnmpRetries>

<RepeatIntervalMiliseconds>1500</RepeatIntervalMiliseconds>

<SnmpPort>161</SnmpPort>

<HopCount>0</HopCount>

<PreferredSnmpVersion>SNMP2c</PreferredSnmpVersion>

<DisableIcmp>false</DisableIcmp>

<AllowDuplicateNodes>false</AllowDuplicateNodes>

<IsAutoImport>false</IsAutoImport>

<IsHidden>false</IsHidden>

<PluginConfigurations>

<PluginConfiguration>

<PluginConfigurationItem>$($CorePluginConfiguration.InnerXml)</PluginConfigurationItem>

</PluginConfiguration>

</PluginConfigurations>

</StartDiscoveryContext>

").DocumentElement

SWIS discover Interface Error

$
0
0

Hi,

We're getting an error when we discover interface with swis.

 

I got this error message, "Exception of type 'SolarWinds.ApiProxyFactory.TransientApiProxyException' was thrown."

 

 

Why got this message?

 

Platform version:

Orion Platform 2017.1, IPAM 4.3.2, NPM 12.1, VIM 7.0.0, NetPath 1.1.0, QoE 2.3, NTA 4.2.2

 

2017-05-23_12-27-58.png


Orion SDK 2.2 released

$
0
0

Orion SDK 2.2 has been released. The main feature in this release is smart autocomplete in SWQL Studio, but there are also various minor bugfixes and improvements.

 

You can download the installer from GitHub: Release v2.2.54 · solarwinds/OrionSDK · GitHub

You can also install it from Chocolatey (Chocolatey Gallery | SolarWinds Orion SDK 2.2.54 ) using "choco install orionsdk"

 

Documentation is on the GitHub wiki: Home · solarwinds/OrionSDK Wiki · GitHub

 

These tools are compatible with all of the same SolarWinds products that the previous release was, so you should have no fear of upgrading. On the other side, Orion SDK 2.1 and several previous releases are compatible with the latest 2017 SolarWinds products, so don't feel like you need to upgrade the Orion SDK just for compatibility.

 

As always, you can ask your Orion SDK questions in this forum. If you see a bug in the SDK tools, feel free to open an issue on the GitHub project: Issues · solarwinds/OrionSDK · GitHub.

Unmanage nodes with Powershell

$
0
0

I'm trying to unmanage agents with powershell using the sdk and the following thwack: SW PowerShell Bulk Unmanage API script

 

The script runs but I don't see the node unmanaged in the UI. Is there a way for me to check the node status in powershell to confirm if the script worked? I'm thinking the UI doesn't get updated frequently.

SWIS discover Interface Error

$
0
0

Hi,

We're getting an error when we discover interface with swis.

 

I got this error message, "Exception of type 'SolarWinds.ApiProxyFactory.TransientApiProxyException' was thrown."

 

 

Why got this message?

 

Platform version:

Orion Platform 2017.1, IPAM 4.3.2, NPM 12.1, VIM 7.0.0, NetPath 1.1.0, QoE 2.3, NTA 4.2.2

 

2017-05-23_12-27-58.png

UTC time to local time

$
0
0

Hi,

 

Is there any way to get local time of alerts where triggereddatetime stored in UTC time zone . Am using swis query to get data, how to get it in local time zone.

Am using python . Pls suggest

SWIS discover Interface Error

$
0
0

Hi,

We're getting an error when we discover interface with swis.

 

I got this error message, "Exception of type 'SolarWinds.ApiProxyFactory.TransientApiProxyException' was thrown."

 

 

Why got this message?

 

Platform version:

Orion Platform 2017.1, IPAM 4.3.2, NPM 12.1, VIM 7.0.0, NetPath 1.1.0, QoE 2.3, NTA 4.2.2

 

2017-05-23_12-27-58.png

NCM - DOWNLOAD THE LATEST CONFIG INFO FOR ALL DEVICES

$
0
0

Hello,

I would like to be able to find a way where i can download all the latest config file for all devices of the same type. Eg latest config file for all cisco devices.

I was hoping if i can pull all the information and provide one output separating each device by IP or node name. I wanted to be able to do a monthly or weekly audit for all the config information for these devices.

For each devices i want to get the Interface name, interface description, vlans, rate limit, switchport info that is in the config file for each IP address or node name in a tabular Format.

 

Is it possible the SDK can do this?

I'm new to NCM and also the ORION SDK.tdanner

 

Something like the example below

IP Address          interface name       interface description       rate limit          switchport

10.xx.xx.xx          gigabitethernet1     Internet Link                     510000          access vlan 704   

 

 



Powershell scripts to automatically unmanage\remanage a node using the Orion SDK

$
0
0

First, I'll share the script. Then, I'll explain why we need it and how it helps us in our environment.

To use the script you must have the Orion SDK installed on the monitored node.

 

Take the text below, paste in Powershell ISE and save it as a PS1.

------------------------------------ Start PS1 -----------------------------------------------------------------

 

# 2014-07-21 Node Unmanage script for SolarWinds SDK Powershell

# by Joe Dissmeyer | Thwack - @JoeDissmeyer | Twitter - @JoeDissmeyer | www.joedissmeyer.com

# This script will unmanage a single node in the Orion database. First, it finds the node number in the Orion database, then it will unmanage it for 99 years.

# This script assumes you are running it LOCALLY from an already managed node AND that the machine has the Orion SDK v1.9 installed on it.

# If the machine is not already managed in SolarWinds this script will fail without warning.

# Replace ORIONSERVERNAME with the appropriate values.

# ORIONSERVERNAME = Your Orion poller instance. (Ex. 'SOLARWINDS01.DOMAIN.LOCAL'). Single quotes are important.

 

# Load the SolarWinds Powershell snapin. Needed in order to execute the script. Requires the Orion SDK 1.9 installed on the machine this script is running from.

Add-PSSnapin SwisSnapin

 

 

# SolarWinds user name and password section. Create an Orion local account that only has node management rights. Enter the user name and password here.

$username = "SWnodemanagement"

$password = "MyP@44w0$d"

 

# This section allows the password to be embedded in this script. Without it the script will not work.

$secstr = New-Object -TypeName System.Security.SecureString

$password .ToCharArray() | ForEach-Object {$secstr.AppendChar($_)}

$cred = new-object -typename System.Management.Automation.PSCredential -argumentlist $username,$secstr

 

# The actual job

$ORIONSERVERNAME = 'SWServer1.domain.local'

$nodename = $env:COMPUTERNAME

 

$swis = Connect-Swis -Credential $cred -host $orionservername

$nodeid = Get-SwisData $swis "SELECT NodeID FROM Orion.Nodes WHERE SysName LIKE '$nodename%'"

$now =[DateTime ]:: Now

$later =$now.AddYears(99)

Invoke-SwisVerb $swis Orion.Nodes Unmanage @("N: $nodeid ", $now ,$later , "false")

 

------------------------------------ End PS1 -----------------------------------------------------------------

 

 

 

And now the Remanage script. Again, save as a .PS1 file.

------------------------------------ Start PS1 -----------------------------------------------------------------

 

# 2014-07-21 Node Remanage script for SolarWinds SDK Powershell

# by Joe Dissmeyer | Thwack - @JoeDissmeyer | Twitter - @JoeDissmeyer | www.joedissmeyer.com

# This script will remanage a single node in the Orion database.

# This script assumes you are running it LOCALLY from an already managed node AND that the machine has the Orion SDK v1.9 installed on it.

# If the machine is not already managed in SolarWinds this script will fail without warning.

# Replace ORIONSERVERNAME with the appropriate values.

# ORIONSERVERNAME = Your Orion poller instance. (Ex. 'SOLARWINDS01.DOMAIN.LOCAL'). Single quotes are important.

 

 

# Load the SolarWinds Powershell snapin. Needed in order to execute the script. Requires the Orion SDK 1.9 installed on the machine this script is running from.

Add-PSSnapin SwisSnapin

 

 

# SolarWinds user name and password section. Create an Orion local account that only has node management rights. Enter the user name and password here.

$username = "SWnodemanagement"

$password = "MyP@44w0%d"

 

 

# This section allows the password to be embedded in this script. Without it the script will not work.

$secstr = New-Object -TypeName System.Security.SecureString

$password .ToCharArray() | ForEach-Object {$secstr.AppendChar($_)}

$cred = new-object -typename System.Management.Automation.PSCredential -argumentlist $username,$secstr

 

 

# The actual job

$ORIONSERVERNAME = 'SWServer1.domain.local'

$nodename = $env:COMPUTERNAME

 

 

$swis = Connect-Swis -Credential $cred -host $orionservername

$nodeid = Get-SwisData $swis "SELECT NodeID FROM Orion.Nodes WHERE SysName LIKE '$nodename%'"

$now =[DateTime ]:: Now

$later =$now.AddYears(99)

Invoke-SwisVerb $swis Orion.Nodes Remanage @("N: $nodeid ", $now ,$later , "false")

 

------------------------------------ End PS1 -----------------------------------------------------------------

 

Explanation:

My company had a very unique need to monitor our enterprise Windows application that runs not only on standard desktop PCs, but also runs on mobile tablets connected to WiFi access points. These tablets run the standard Windows 7 Professional OS so it makes it easy to set up application monitoring in SolarWinds SAM for these machines. However, the problem comes at the end of the day when these tablets are turned off and placed in their charging docks for the night. As you can imagine, this creates an administrative nightmare (not to mention an email alert flood) in SolarWinds when this happens.

 

SolarWinds Orion NPM and SAM is designed to always keep an eye on a node or application that is entered in it's database. It is not designed to monitor an application or node only "part of the time" --- well, at least it isn't designed for this purpose out of the box. So instead, we have to create a workaround that will suit our needs. What we needed to do was figure out how to automatically "unmanage" these Windows tablet PCs in SolarWinds when they are shut down for the night, but also automatically "re-manage" them once they boot up. This is where the script comes into play.

 

The idea is to take the Unmanage script and apply it as a shut down script in Group Policy, then take the Remanage script and apply it as a boot up script in Group Policy.

Here is why this works for us:

The business is supposed to gracefully shut down the tablet by clicking Start > Shut down. If not, then an email alert triggers that informs us that the application is down on the machine.

If the tablet goes offline in the middle of the day for any reason, we will receive an email alert about that node.

When the machine is shut down properly, the node is automatically unmanaged in SolarWinds.

When the machine boots up and someone logs into the machine, the node is automatically remanaged in SolarWinds.

 

But here is an even better use for these scripts --- Scheduled Server Maintenance! How many times have we, server administrators, had to patch Windows Servers during scheduled maintenance hours? Normally you would have to go into SolarWinds and unmanage the node first BEFORE rebooting as not to trigger an email alert. Well with these scripts you wouldn't have to worry about that as much since this would be automatic.

 

Final notes:

Of course, this is just one way to go about auto-managing nodes in SolarWinds. There are some alternatives to doing this using the Orion SDK and Powershell which is to, instead, use the built-in .NET properties in Powershell 2.0 to access the Orion SQL database directly, find the node ID, and unmanage it in that manner. For those that are interested in how do to this without the Orion SDK, let me know and I'd be happy to elaborate.


Node and Interface Status possible field values

$
0
0

Hi,

 

I'd like to get a list of the possible Status field values for both the Node and Interface entities.

 

Does anyone have such a list or could assist on this please?

 

For example I have part of a SWQL query below which is excluding Nodes and Interfaces based on certain numbered status values and I'd like to understand exactly what is happening:

 

T1.Node.Status NOT IN ('11', '9', '12') AND T1.Status NOT IN ('9', '12')

 

Regards,

Andrew

Alerts Triggered (Year to Date) with counters

$
0
0

Hello, I found this alerts triggered report, however, when I run this; it's only showing last 30 days.  Is there a way to show year to date?

 

Thanks!

 

 

select ac.Name 

,ah.Message 

,'/Orion/NetPerfMon/ActiveAlertDetails.aspx?NetObject=AAT:'+ToString(AlertObjectID) as [_linkfor_Name] 

,EntityCaption as [Trigger Object] 

,EntityDetailsUrl as [_linkfor_Trigger Object] 

,case  

WHEN RelatedNodeCaption=EntityCaption THEN 'Self' 

When RelatedNodeCaption!=EntityCaption THEN RelatedNodeCaption 

End as [Parent Node] 

,RelatedNodeDetailsUrl as [_linkfor_Parent Node] 

,'/Orion/images/StatusIcons/Small-' + p.StatusIcon AS [_IconFor_Parent Node] 

,tostring(tolocal(ah.TimeStamp)) as [Trigger Time] 

,case when ack.timestamp is null then 'N/A' 

else tostring(minutediff(ah.TimeStamp,ack.timestamp)) 

end as [Minutes Until Acknowledged] 

,ack.Message as [Note] 

,case when reset.timestamp is null then 'N/A' 

else tostring(minutediff(ah.TimeStamp,reset.timestamp)) 

end as [Minutes Until Reset],

 

t1.SuppressFrom as [Mute From], t1.SuppressUntil as [Mute Until],

 

p.Status as [Status]

,'/Orion/NetPerfMon/NodeDetails.aspx?NetObject=' + ToString(p.nodeid) AS [_LinkFor_Status] 

,Case 

WHEN p.status = '0' THEN ('/Orion/images/StatusIcons/Critical.gif') 

WHEN p.status = '1' THEN ('/Orion/images/StatusIcons/up.gif') 

WHEN p.status = '2' THEN ('/Orion/images/StatusIcons/Down.gif') 

WHEN p.status = '9' THEN ('/Orion/images/StatusIcons/Unmanaged.gif') 

WHEN p.status = '6' THEN ('/Orion/images/StatusIcons/Unplugged.gif') 

End as [_IconFor_Status], 

 

p.StatusLED, p.ChildStatus, p.DetailsUrl, p.caption as [NodeName]

 

,'/Orion/NetPerfMon/NodeDetails.aspx?NetObject=' + ToString(p.nodeid) AS [_LinkFor_NodeName] 

,Case 

WHEN p.status = '0' THEN ('/Orion/images/StatusIcons/Critical.gif') 

WHEN p.status = '1' THEN ('/Orion/images/StatusIcons/up.gif') 

WHEN p.status = '2' THEN ('/Orion/images/StatusIcons/Down.gif') 

WHEN p.status = '9' THEN ('/Orion/images/StatusIcons/Unmanaged.gif') 

WHEN p.status = '6' THEN ('/Orion/images/StatusIcons/Unplugged.gif') 

End as [_IconFor_NodeName], 

 

p.ip_address

 

FROM Orion.AlertHistory ah 

left join Orion.AlertObjects ao on ao.alertobjectid=ah.alertobjectid 

left join Orion.AlertConfigurations ac on ac.alertid=ao.alertid 

left join Orion.Actions a on a.actionid=ah.actionid 

left join Orion.Nodes p on p.nodeid=RelatedNodeID

left join orion.NodesCustomProperties cp on p.NodeID = cp.NodeID

left join (select timestamp, AlertActiveID, AlertObjectID,message from orion.alerthistory ah where eventtype=2) ack on ack.alertactiveid=ah.AlertActiveID and ack.alertobjectid=ah.AlertObjectID 

left join (select timestamp, AlertActiveID, AlertObjectID from orion.alerthistory ah where eventtype=1) reset on reset.alertactiveid=ah.AlertActiveID and reset.alertobjectid=ah.AlertObjectID 

 

 

left join orion.AlertSuppression T1 on T1.EntityUri = p.Uri

 

 

WHERE  

(ao.AlertConfigurations.Name = 'Critical' ) and ah.eventtype=0  and cp.asset_type = 'server'

 

 

 

order by ah.timestamp desc 

Orion SDK 2.2 released

$
0
0

Orion SDK 2.2 has been released. The main feature in this release is smart autocomplete in SWQL Studio, but there are also various minor bugfixes and improvements.

 

You can download the installer from GitHub: Release v2.2.54 · solarwinds/OrionSDK · GitHub

You can also install it from Chocolatey (Chocolatey Gallery | SolarWinds Orion SDK 2.2.54 ) using "choco install orionsdk"

 

Documentation is on the GitHub wiki: Home · solarwinds/OrionSDK Wiki · GitHub

 

These tools are compatible with all of the same SolarWinds products that the previous release was, so you should have no fear of upgrading. On the other side, Orion SDK 2.1 and several previous releases are compatible with the latest 2017 SolarWinds products, so don't feel like you need to upgrade the Orion SDK just for compatibility.

 

As always, you can ask your Orion SDK questions in this forum. If you see a bug in the SDK tools, feel free to open an issue on the GitHub project: Issues · solarwinds/OrionSDK · GitHub.

Node and Interface Status possible field values

$
0
0

Hi,

 

I'd like to get a list of the possible Status field values for both the Node and Interface entities.

 

Does anyone have such a list or could assist on this please?

 

For example I have part of a SWQL query below which is excluding Nodes and Interfaces based on certain numbered status values and I'd like to understand exactly what is happening:

 

T1.Node.Status NOT IN ('11', '9', '12') AND T1.Status NOT IN ('9', '12')

 

Regards,

Andrew

Alert acknowledge API

$
0
0

Hi,

How to acknowledge solarwinds alerts through API.

Viewing all 3719 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>