<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>sql — THWACK</title>
        <link>https://thwack.solarwinds.com/</link>
        <pubDate>Fri, 23 Oct 2026 02:02:43 +0000</pubDate>
        <language>en</language>
            <description>sql — THWACK</description>
    <atom:link href="https://thwack.solarwinds.com/discussions/tagged/sql/feed.rss" rel="self" type="application/rss+xml"/>
    <item>
        <title>SQL Query Via AJAX within a Custom HTML Widget</title>
        <link>https://thwack.solarwinds.com/discussion/104039/sql-query-via-ajax-within-a-custom-html-widget</link>
        <pubDate>Tue, 04 Feb 2025 03:55:57 +0000</pubDate>
        <category>Network Performance Monitor (NPM)</category>
        <dc:creator>willNZ</dc:creator>
        <guid isPermaLink="false">104039@/discussions</guid>
        <description><![CDATA[<p>Hi all, come into a problem regarding custom HTML scripts. Currently in our environment we use the custom html widget to take in geographical data along with microwave link data to draw a geographically correct network map for internal use however due to a few hiccups of how devices and SolarWinds stores and presents information, we have had to implement a custom SQL table to rectify these issues (and improve performance). However, in swapping to a SQL table have run into the issue&nbsp;where we were previously successfully using AJAX to gather data within JavaScript via the following method:&nbsp;doesn&#39;t work for SQL as the path /Orion/Services/Information.asmx/QueryWithParameters rejects SQL queries.&nbsp;</p><p></p><pre spellcheck="false" tabindex="0">$.ajax({
    type: 'POST',
    url: '/Orion/Services/Information.asmx/QueryWithParameters',
    data: "SWQL QUERY",
    contentType: "application/json; charset=utf-8",
    dataType: "json"
})</pre>&nbsp;<p>I know this functionality is possible as table widgets can use SQL queries, I sought to find the answer within those and saw they use the path of&nbsp; &#39;/orion/rendercontrol.aspx&#39; however while it is possible to use this to return SQL query data, it presents it as a massive long list all formatted within a HTML table itself, so all the data would then need to be extracted out of the string all contained by &lt;td&gt; and &lt;tr&gt; elements, which sounds like a logistical nightmare and is simply unnecessarily expensive computationally.</p><p><br />Would anyone have any pointers as to if there is a path that can be used to return SQL queries via AJAX or other methods within JavaScript?&nbsp;</p><p>Writing at the end of the day, so please as questions if need be.</p><p>PS. The custom table exists within our Solarwinds Database at [SolarwindsOrion].[dbo].[customtablename]<br />PSS. The query we are looking to use is:</p><p></p><pre spellcheck="false" tabindex="0">SELECT * FROM [SolarWindsOrion].[dbo].[customtablename]</pre>]]>
        </description>
    </item>
    <item>
        <title>High Write Latency in SQL server D drive in my AWS EC2 Instance.</title>
        <link>https://thwack.solarwinds.com/discussion/105368/high-write-latency-in-sql-server-d-drive-in-my-aws-ec2-instance</link>
        <pubDate>Sun, 07 Sep 2025 16:37:02 +0000</pubDate>
        <category>SolarWinds Observability Self-Hosted</category>
        <dc:creator>rajasekar</dc:creator>
        <guid isPermaLink="false">105368@/discussions</guid>
        <description><![CDATA[<p>Due to the high latency application is getting slow raised Case with TAC but no use unable to find the cause. We have r5ad SQL server with Io2 disk. Anyone faced this issue ?</p>]]>
        </description>
    </item>
    <item>
        <title>Dashboard with SQL Command</title>
        <link>https://thwack.solarwinds.com/discussion/152407/dashboard-with-sql-command</link>
        <pubDate>Mon, 15 Jun 2026 02:28:14 +0000</pubDate>
        <category>The SolarWinds Platform</category>
        <dc:creator>hs08</dc:creator>
        <guid isPermaLink="false">152407@/discussions</guid>
        <description><![CDATA[<p>I have many custom dashboard using SQL command. In 2026 i rebuild the orion and the database and old database (2025) was archived.</p><p>Now i have requirement to make custom dashboard where this dahboard already created in last year.</p><p>When we create custom dashboard with SQL, is the SQL command will stored in the table? If yes then i can attach the old database and query to see what sql command i used to create that dashboard.</p>]]>
        </description>
    </item>
    <item>
        <title>Compliance Report getting Error or not getting Cached.</title>
        <link>https://thwack.solarwinds.com/discussion/102337/compliance-report-getting-error-or-not-getting-cached</link>
        <pubDate>Fri, 21 Jun 2024 01:32:07 +0000</pubDate>
        <category>Network Performance Monitor (NPM)</category>
        <dc:creator>NetDev_sol</dc:creator>
        <guid isPermaLink="false">102337@/discussions</guid>
        <description><![CDATA[<h1><a id="Compliance_Report_getting_Error_or_not_getting_Cached" name="Compliance_Report_getting_Error_or_not_getting_Cached"></a>Compliance Report getting Error or not getting Cached.</h1><h4><a id="Make_a_note_of_Cache_Status_at_DB_Level" name="Make_a_note_of_Cache_Status_at_DB_Level"></a><em>1. Make a note of Cache Status at DB Level:</em></h4><p><span><strong>CacheStatus: notCached = 0, Waiting = 1, Caching = 2, Cached = 3, Error = 4, Queued = 5</strong></span></p><h4><a id="On_DB_run_below_Query_to_check_the_Status" name="On_DB_run_below_Query_to_check_the_Status"></a><em>2. On DB run below Query to check the Status:</em></h4><p><strong><span>SELECT * FROM [dbo].[NCM_PolicyReports]</span></strong></p><p>you can check the Status of Cache under Status Column.</p><p><em><span>If the status is other than 3 the compliance Report is not getting cached.</span></em></p><p><strong>Change the status to 0, which will run the caching from start once services restarts.</strong></p><p><strong><em>3. <span>Run&nbsp;below Query to DB</span></em></strong><br /><br /><strong><span>Truncate NCM_policycache</span></strong><br /><span><strong>Truncate NCM_PolicyCacheResults</strong></span><br /><span></span><em><br /></em></p><p>Restart the NCM Caching or services.</p>]]>
        </description>
    </item>
    <item>
        <title>Capacity Report for Servers</title>
        <link>https://thwack.solarwinds.com/discussion/105492/capacity-report-for-servers</link>
        <pubDate>Mon, 06 Oct 2025 15:48:14 +0000</pubDate>
        <category>SolarWinds Observability Self-Hosted</category>
        <dc:creator>WinterSoldier</dc:creator>
        <guid isPermaLink="false">105492@/discussions</guid>
        <description><![CDATA[<p>I am working on a report to get the&nbsp;Avg and Peak CPU load, Memory for my monitored servers. The requirement is that I want to see the following information:</p><p></p><p>Hostname (Managed Node), IP Address, MachineType, Vendor, Site (Custom Property), Avg CPU Load (In Percentage),&nbsp;Peak<span>&nbsp;CPU Load (In Percentage),&nbsp;&nbsp;Avg&nbsp;Memory (In Percentage), Peak Memory (In Percentage), Timestamp</span></p><p><span>,Host (From the virtualization table)</span></p><p><span>,Cluster&nbsp;(From the virtualization table).</span></p><p><span></span></p><p><span>I tried getting the columns from hostname until timestamp through my web based report but if I want to also get the details of the Vm that is associated with hosts &amp; cluster it requires SQL or SWQL. Can anyone help here?</span></p><p><span></span></p><p><span>One more filter to add here is, I am looking for the historical data for Last 7 days and last 30 days.</span></p><p><span></span></p><p><span>Thanks in advance.</span></p>]]>
        </description>
    </item>
    <item>
        <title>[dbo].[Settings] ([CurrentValue]) Index is missing 2025.2.1 and sql try to fetch its showing error in SQL Index missing.</title>
        <link>https://thwack.solarwinds.com/discussion/105372/dbo-settings-currentvalue-index-is-missing-2025-2-1-and-sql-try-to-fetch-its-showing-error-in-sql-index-missing</link>
        <pubDate>Mon, 08 Sep 2025 12:36:43 +0000</pubDate>
        <category>SolarWinds Observability Self-Hosted</category>
        <dc:creator>rajasekar</dc:creator>
        <guid isPermaLink="false">105372@/discussions</guid>
        <description><![CDATA[<p>[dbo].[Settings] ([CurrentValue]) Index is missing 2025.2.1 and sql try to fetch its showing error in SQL Index missing. Anyone know about this issue or its known issue in version 2025.2.1</p>]]>
        </description>
    </item>
    <item>
        <title>Need Interface IP Address details in Downtime Report</title>
        <link>https://thwack.solarwinds.com/discussion/105188/need-interface-ip-address-details-in-downtime-report</link>
        <pubDate>Tue, 05 Aug 2025 07:08:12 +0000</pubDate>
        <category>SolarWinds Observability Self-Hosted</category>
        <dc:creator>tt_2</dc:creator>
        <guid isPermaLink="false">105188@/discussions</guid>
        <description><![CDATA[<p>Hi,</p><p>I am creating one report for &#39;Interface Downtime Report&#39; in SolarWinds Orion NPM, which consist of when it went down, when it came up, total duration of downtime, interface name and respective node name. In this, I achieved to get the desire results by creating SQL query from ChatGpt. but unable to get the desire IP Address of that respective Interface.</p><p>Below is my SQL query for the same:</p><p>INTERFACE DOWNTIME REPORT:</p><p>SELECT <br /> E1.EventTime AS [Down_Time],<br /> E2.EventTime AS [Up_Time],<br /> CONVERT(varchar(8), DATEADD(SECOND, DATEDIFF(SECOND, E1.EventTime, E2.EventTime), 0), 108) AS [Downtime],<br /> I.FullName AS [Interface_Name],<br /> ND.SysName AS [Node_Name]<br />FROM Events E1<br />CROSS APPLY (<br /> SELECT TOP 1 E2.EventTime<br /> FROM Events E2<br /> WHERE <br /> E2.NetObjectID = E1.NetObjectID<br /> AND E2.EventType = 11 -- Interface Up<br /> AND E2.EventTime &gt; E1.EventTime<br /> ORDER BY E2.EventTime ASC<br />) AS E2(EventTime)<br />JOIN Interfaces I <br /> ON E1.NetObjectID = I.InterfaceID<br />JOIN NodesData ND <br /> ON I.NodeID = ND.NodeID<br />WHERE <br /> E1.NetObjectType = &#39;I&#39;<br /> AND E1.EventType = 10 -- Interface Down<br />ORDER BY E1.EventTime;</p><p><br /><img src="https://us.v-cdn.net/6038570/uploads/communityserver-discussions-components-files/232/pastedimage1754377649850v1.png" alt="" /></p><p></p><p>Can I get the additional column to get the IP Address of that respective Interface which got reported in the above query?</p><p>Thank you in Advance!</p><p>Regards,</p><p>Tushar Tawde</p>]]>
        </description>
    </item>
    <item>
        <title>How to find devices on SolarWinds where CPU, Memory and Interfaces are not added</title>
        <link>https://thwack.solarwinds.com/discussion/105341/how-to-find-devices-on-solarwinds-where-cpu-memory-and-interfaces-are-not-added</link>
        <pubDate>Tue, 02 Sep 2025 08:30:09 +0000</pubDate>
        <category>Network Performance Monitor (NPM)</category>
        <dc:creator>surnaihai899</dc:creator>
        <guid isPermaLink="false">105341@/discussions</guid>
        <description><![CDATA[<p>Hello All</p><p>Is there a way we can pull a list of devices on SolarWinds where CPU, Memory and Interfaces are not added?</p><p></p><p>Devices discovered with SNMP but resources are not added. Can we do it through a SWQL/SQL query?</p>]]>
        </description>
    </item>
    <item>
        <title>HowTo: use /Invoke/Orion.Reporting/ExecuteSQL in python</title>
        <link>https://thwack.solarwinds.com/discussion/105302/howto-use-invoke-orion-reporting-executesql-in-python</link>
        <pubDate>Mon, 25 Aug 2025 21:46:36 +0000</pubDate>
        <category>SolarWinds SDK</category>
        <dc:creator>spru2</dc:creator>
        <guid isPermaLink="false">105302@/discussions</guid>
        <description><![CDATA[<p>It took me some time to work out how to use ExecuteSQL from the orionsdk python module.</p><p>To save someone else the pain - here are some examples on how to use it properly.in python.</p><p></p><p></p><p></p><pre spellcheck="false" tabindex="0">from pprint import pprint

# disables warnings about invalid certificates if you
# have a self signed certificate
import urllib3
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)

from orionsdk import SwisClient

server = "server"
username = "you"
password = "you_are_awesome"


swis = SwisClient(server, username, password)


sqlquery = """
    SELECT Id ,
      EntityType,
      Name,
      DisplayName , 
      DefaultThresholdOperator ,
      RecalculationNeeded, 
      ThresholdOrder, 
      Unit
    FROM SolarWindsOrion.dbo.ThresholdsNames
    where ID = 91 or Name = 'Nodes.Stats.CpuLoad'
    """


parameters = None
maxrows = 0  # no limit

results = swis.invoke("Orion.Reporting","ExecuteSQL",sqlquery, parameters, maxrows, False )
pprint(results)</pre><p>Which will output:<br /><br /></p><p></p><pre spellcheck="false" tabindex="0">[
{'DefaultThresholdOperator': 1,
  'DisplayName': 'CPU Load',
  'EntityType': 'Orion.Nodes',
  'Id': 82,
  'Name': 'Nodes.Stats.CpuLoad',
  'RecalculationNeeded': False,
  'ThresholdOrder': 0,
  'Unit': '%'},
 {'DefaultThresholdOperator': 1,
  'DisplayName': 'Received Interface Errors and Discards',
  'EntityType': 'Orion.NPM.Interfaces',
  'Id': 91,
  'Name': 'NPM.Interfaces.Stats.InErrorsDiscards',
  'RecalculationNeeded': False,
  'ThresholdOrder': 0,
  'Unit': '/hour'}
  ]</pre><p></p><p>If you want to parameterize a SQL query, the query should have a MS SQL named parameter&nbsp; like @middlename&nbsp; &nbsp;and then you will feed it a dictionary that looks like { &quot;middlename&quot;: &quot;timothy&quot; }</p><p></p><p>The same example above with properly escaped sql parameters:</p><p></p><p></p><pre spellcheck="false" tabindex="0">from pprint import pprint

# disables warnings about invalid certificates if you
# have a self signed certificate
import urllib3
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)

from orionsdk import SwisClient

server = "server"
username = "you"
password = "you_are_awesome"


swis = SwisClient(server, username, password)


sqlquery = """
    SELECT Id ,
      EntityType,
      Name,
      DisplayName , 
      DefaultThresholdOperator ,
      RecalculationNeeded, 
      ThresholdOrder, 
      Unit
    FROM SolarWindsOrion.dbo.ThresholdsNames
    WHERE ID = @firstid or Name = @alertname
    """


parameters = {
    "firstid": 91,
    "alertname": "Nodes.Stats.CpuLoad"
}
maxrows = 0  # no limit

results = swis.invoke("Orion.Reporting","ExecuteSQL",sqlquery, parameters, maxrows, False )
pprint(results)</pre>]]>
        </description>
    </item>
    <item>
        <title>SWQL to SQL</title>
        <link>https://thwack.solarwinds.com/discussion/105266/swql-to-sql</link>
        <pubDate>Mon, 18 Aug 2025 16:27:56 +0000</pubDate>
        <category>SolarWinds Observability Self-Hosted</category>
        <dc:creator>gadbekr</dc:creator>
        <guid isPermaLink="false">105266@/discussions</guid>
        <description><![CDATA[<p>Is there any SQL wizards out there that can convert the below script from SWQL to SQL.&nbsp; I have found the timestamps in SWQL are in UTC and there for makes the report look like the uptime is a time in the future in CST terms.&nbsp; That raises questions from management and instead of trying to explain the UTC and CST difference, If I can somehow convert this to SQL (Which I am not familiar with) then I can just create the report&nbsp;with the accurate CST timestamps, and viola....everyone is happy.</p><p></p><p>SELECT<br /> T.[Node name]<br /> ,T.[Start of Downtime]<br /> ,T.[End of Downtime]<br /> ,T.[Duration]<br />FROM (</p><p>SELECT<br /> N.Caption AS [Node Name],<br /> E.EventTime AS [Start of Downtime],<br /> (SELECT TOP 1 <br /> EventTime<br /> FROM Orion.Events AS EndEvent<br /> WHERE <br /> EndEvent.NetworkNode = E.NetworkNode<br /> AND EndEvent.EventTime &gt; E.EventTime<br /> AND EndEvent.EventType = 5) AS [End of Downtime]<br /> ,MINUTEDIFF(E.EventTime,<br /> (SELECT TOP 1 <br /> EventTime<br /> FROM Orion.Events AS EndEvent<br /> WHERE <br /> EndEvent.NetworkNode = E.NetworkNode<br /> AND EndEvent.EventTime &gt; E.EventTime<br /> AND EndEvent.EventType = 5)<br /> ) AS [Duration]<br /> FROM Orion.Events AS E<br /> INNER JOIN Orion.Nodes AS N ON E.NetworkNode = N.NodeID<br /> WHERE<br /> E.EventType = 1 <br /> AND E.EventTime&gt;ADDDAY(-7,GETDATE())<br /> AND N.Caption LIKE &#39;%imbox%&#39;<br /> ORDER BY <br /> E.EventTime DESC<br />) AS T<br />WHERE<br /> T.[Duration]&gt;60</p>]]>
        </description>
    </item>
    <item>
        <title>A question about &quot;network packet size&quot; to all DBA experts in the crowd</title>
        <link>https://thwack.solarwinds.com/discussion/105229/a-question-about-network-packet-size-to-all-dba-experts-in-the-crowd</link>
        <pubDate>Mon, 11 Aug 2025 08:43:03 +0000</pubDate>
        <category>SolarWinds Observability Self-Hosted</category>
        <dc:creator>LevB</dc:creator>
        <guid isPermaLink="false">105229@/discussions</guid>
        <description><![CDATA[<p>How can significantly increasing network packet size in the connection string have a positive impact on web performance when the MTU across the network is the default 1500?</p><p>When deploying SolarWinds HCO for an enterprise client we stumbled upon sporadic slowness of the web GUI with no obvious pattern.<br />After heaps of troubleshooting with a DBA and network expert, adding more pollers, additional web servers behind a load balancer, leaving only the bare minimum on the MPE,<br />the only solution that had a consistent results is setting the packet size in the application connection string to a large number (32,768).</p><p>Now we are trying to figure out why that works as we feel like this is a band-aid solution that does not address the source of the problem.</p><p>All guesses and speculations are welcomed, I&#39;d love to hear your thoughts!</p>]]>
        </description>
    </item>
    <item>
        <title>Migrated SQL back end to SQL 2022/Server 2022 -SQL filestream is enabled</title>
        <link>https://thwack.solarwinds.com/discussion/103254/migrated-sql-back-end-to-sql-2022-server-2022-sql-filestream-is-enabled</link>
        <pubDate>Wed, 09 Oct 2024 20:58:58 +0000</pubDate>
        <category>Network Performance Monitor (NPM)</category>
        <dc:creator>martian_monster</dc:creator>
        <guid isPermaLink="false">103254@/discussions</guid>
        <description><![CDATA[<p>Greetings -</p><p>We just migrated our SQL back end and was just made aware that SQL filestream is still enabled for the database.&nbsp; I tried doing some searching on this issue and kept finding dead links.&nbsp; This came up because our backup product was complaining about SQL filestream.&nbsp; I tried looking for any documentation on this put keep coming up with dead links.&nbsp;</p><p>Does anyone have any ideas?</p>]]>
        </description>
    </item>
    <item>
        <title>Modern Dashboards - add the ability to query via SQL</title>
        <link>https://thwack.solarwinds.com/discussion/127734/modern-dashboards-add-the-ability-to-query-via-sql</link>
        <pubDate>Thu, 25 Apr 2024 14:57:48 +0000</pubDate>
        <category>The SolarWinds Platform Feature Requests</category>
        <dc:creator>jjroncag</dc:creator>
        <guid isPermaLink="false">127734@/discussions</guid>
        <description><![CDATA[<p>Currently when creating a custom widget on a modern dashboard the only option in the data model section is for a custom SWQL query.</p><p>I would like to add the option to select either custom SWQL or custom SQL.&nbsp; This will allow more flexibility on the modern dashboards.</p><p></p><p>If it is not possible to add it to the existing widgets, then add separate widgets that use&nbsp;custom SQL.</p>]]>
        </description>
    </item>
    <item>
        <title>Need help with a SWQL query</title>
        <link>https://thwack.solarwinds.com/discussion/105112/need-help-with-a-swql-query</link>
        <pubDate>Wed, 23 Jul 2025 04:46:00 +0000</pubDate>
        <category>Network Performance Monitor (NPM)</category>
        <dc:creator>surnaihai899</dc:creator>
        <guid isPermaLink="false">105112@/discussions</guid>
        <description><![CDATA[<p>I wrote this query to get the MWs created on SolarWinds. I wanted to check if we could add a column which shows the date and time the MW was created in UTC<br /><br /></p><p>SELECT TOP 1000 EntityUri, Caption, IPAddress, tostring(SuppressFrom) as [Suppression From],<br />case when SuppressUntil is null or SuppressUntil = &#39;9999-01-01 00:00:00&#39; then &#39;Not set&#39;<br />else tostring(SuppressUntil ) end AS [Suppression To]</p><p>,case when SuppressUntil is null or SuppressUntil = &#39;9999-01-01 00:00:00&#39; then &#39;Unlimited Time Period&#39;<br />else tostring(daydiff(getutcdate(), asu.SuppressUntil)) end as [Days Left],<br />NCP.MWTaskNumber</p><p><br />FROM Orion.AlertSuppression asu<br />join orion.nodes N on asu.entityuri=N.uri<br />LEFT JOIN Orion.NodesCustomProperties NCP on N.NodeID = NCP.NodeID</p>]]>
        </description>
    </item>
    <item>
        <title>Integrating Custom Properties into ServiceNow</title>
        <link>https://thwack.solarwinds.com/discussion/105085/integrating-custom-properties-into-servicenow</link>
        <pubDate>Thu, 17 Jul 2025 10:36:04 +0000</pubDate>
        <category>SolarWinds SDK</category>
        <dc:creator>SW_United</dc:creator>
        <guid isPermaLink="false">105085@/discussions</guid>
        <description><![CDATA[<p>So&nbsp;we already have a Service Graph Connector that integrates with SolarWinds and this is working.</p><p>I&#39;ve&nbsp;tried to add the Custom Properties to the mix and the code comes back as success, but the field doesn&#39;t show after the Test, this is the code within ServiceNow;</p><p></p><pre spellcheck="false" tabindex="0">(function execute(inputs, outputs) {
  var limit = inputs.Limit;
  
  var npmInstalled = new sn_solarwinds_inte.SolarWindsUtil().getNpmInstalled(inputs.connectionAlias);
  var samInstalled = new sn_solarwinds_inte.SolarWindsUtil().getSamInstalled(inputs.connectionAlias);
  var comment = "--hardware sam:" + samInstalled + " npm:" + npmInstalled + "\r\n";
  
  var emptyFieldQuery = "'' AS ";
  
  var connectionSelect = "'" + inputs.connectionAlias.sys_id + "' AS ConnectionId, ";
  
  var nodesSelect = "Nodes.InstanceSiteId, Nodes.NodeID, Nodes.IPAddress, Nodes.IPAddressType, Nodes.DynamicIP, Nodes.Caption, Nodes.Category, Nodes.NodeDescription, Nodes.Description, Nodes.DNS, Nodes.SysName, Nodes.Vendor, Nodes.IOSImage, Nodes.IOSVersion, Nodes.CPUCount, Nodes.MachineType, Nodes.IsServer, Nodes.TotalMemory, Nodes.CMTS, Nodes.IP, Nodes.IP_Address, Nodes.LastSync";
  
  var nodesCustomPropertiesSelect = "nodesCustomProperties.Environment";
  
  var hardwareHealthSelect = ((samInstalled == "true" || npmInstalled == "true") ? "HardwareHealth.Manufacturer, HardwareHealth.Model, HardwareHealth.ServiceTag" : (emptyFieldQuery + "Manufacturer, " + emptyFieldQuery + "Model, " + emptyFieldQuery + "ServiceTag"));
  
  var serverInformationSelect = (samInstalled == "true" ? "ServerInformation.HostName" : (emptyFieldQuery + "HostName")) + ", " + (samInstalled == "true" ? "ServerInformation.SystemName" : (emptyFieldQuery + "SystemName")) + ", " + (samInstalled == "true" ? "ServerInformation.Domain" : (emptyFieldQuery + "Domain")) + ", " + (samInstalled == "true" ? "ServerInformation.DNSName" : (emptyFieldQuery + "DNSName")) + ", " + (samInstalled == "true" ? "ServerInformation.DomainRole" : (emptyFieldQuery + "DomainRole")) + ", " + (samInstalled == "true" ? "ServerInformation.AssetType" : (emptyFieldQuery + "AssetType")) + ", " + (samInstalled == "true" ? "ServerInformation.OperatingSystem" : (emptyFieldQuery + "OperatingSystem")) + ", " + (samInstalled == "true" ? "ServerInformation.OSVersion" : (emptyFieldQuery + "OSVersion")) + ", " + (samInstalled == "true" ? "ServerInformation.OSArchitecture" : (emptyFieldQuery + "OSArchitecture")) + ", " + (samInstalled == "true" ? "ServerInformation.ServicePack" : (emptyFieldQuery + "ServicePack")) + ", " + (samInstalled == "true" ? "ServerInformation.OSLanguage" : (emptyFieldQuery + "OSLanguage")) + ", " + (samInstalled == "true" ? "ServerInformation.HardwareSerialNumber" : (emptyFieldQuery + "HardwareSerialNumber")) + ", " + (samInstalled == "true" ? "ServerInformation.ProductNumber" : (emptyFieldQuery + "ProductNumber")) + ", " + (samInstalled == "true" ? "ServerInformation.Manufacturer AS ServerInformationManufacturer" : (emptyFieldQuery + "ServerInformationManufacturer")) + ", " + (samInstalled == "true" ? "ServerInformation.Model AS ServerInformationModel" : (emptyFieldQuery + "ServerInformationModel")) + ", " + (samInstalled == "true" ? "ServerInformation.LastLoggedInUser" : (emptyFieldQuery + "LastLoggedInUser")) + ", " + (samInstalled == "true" ? "ServerInformation.Contact" : (emptyFieldQuery + "Contact")) + ", " + (samInstalled == "true" ? "ServerInformation.ProcessorCount" : (emptyFieldQuery + "ProcessorCount")) + ", " + (samInstalled == "true" ? "ServerInformation.TotalMemoryB" : (emptyFieldQuery + "TotalMemoryB")) + ", " + (samInstalled == "true" ? "ServerInformation.VirtualMemoryB" : (emptyFieldQuery + "VirtualMemoryB")) + ", " + (samInstalled == "true" ? "ServerInformation.PartOfDomain" : (emptyFieldQuery + "PartOfDomain")) + ", " + (samInstalled == "true" ? "ServerInformation.DeviceType" : (emptyFieldQuery + "DeviceType"));
  
  outputs.body = JSON.stringify({"query": comment + "SELECT " + connectionSelect + nodesSelect + ", " + nodesCustomPropertiesSelect + ", " + hardwareHealthSelect + ", " + serverInformationSelect + " FROM Orion.Nodes AS Nodes " + ((samInstalled == "true" || npmInstalled == "true") ? "LEFT OUTER JOIN Orion.HardwareHealth.HardwareInfo AS HardwareHealth ON Nodes.InstanceSiteId = HardwareHealth.InstanceSiteId AND Nodes.NodeId = HardwareHealth.NodeId " : "")  + ((samInstalled == "true" || npmInstalled == "true") ? " LEFT OUTER JOIN Orion.NodesCustomProperties AS nodesCustomProperties ON Nodes.NodeId = nodescustomProperties.NodeId" : "") +  (samInstalled == "true" ? "LEFT OUTER JOIN Orion.AssetInventory.ServerInformation AS ServerInformation ON Nodes.NodeId = ServerInformation.NodeId AND Nodes.InstanceSiteId = ServerInformation.InstanceSiteId" : "") + " ORDER BY InstanceSiteId, NodeID WITH ROWS " + inputs.Offset  + " TO " + limit});
  
})(inputs, outputs);</pre><p>Any help would be greatly appreciated, I&#39;ve been&nbsp;going round and round trying to figure this out for over 3 weeks now&nbsp;<img src="https://us.v-cdn.net/6038570/uploads/system/emoji/1f61e.svg" height="16px" width="16px" alt="image" /></p>]]>
        </description>
    </item>
    <item>
        <title>SAM Node Count S(W)QL Query</title>
        <link>https://thwack.solarwinds.com/discussion/105098/sam-node-count-s-w-ql-query</link>
        <pubDate>Fri, 18 Jul 2025 13:35:42 +0000</pubDate>
        <category>SolarWinds SDK</category>
        <dc:creator>CameronMG</dc:creator>
        <guid isPermaLink="false">105098@/discussions</guid>
        <description><![CDATA[<p><span>Hi everyone,&nbsp;</span></p><p><span>Appologies if this is the wrong place to ask, however I&#39;m looking for a bit of advice/help with the above topic.</span></p><p><span>Essentially, we have four pollers which we&#39;re trying to balance out. What we have found that is one of our pollers has a significantly higher component count, even though the node count against the four pollers are fairly evenly balanced!</span></p><p><span>I did reach out to support to see if they could provide me with a SWQL query to get the number of components each node within SAM has, but they advised that they couldnt and deferred me to Thwack.</span></p><p><span>Does anyone have a query or able to help me build a query in order to achieve this.</span></p><p><span>Cheers!</span></p>]]>
        </description>
    </item>
    <item>
        <title>Hello guys, I don&#39;t have a solid background in telecommunication networks. But I&#39;m working on a project that requires analyzing the backup data from SolarWinds Orion to find the moment different nodes were disconnected from the network. The data re</title>
        <link>https://thwack.solarwinds.com/discussion/105035/hello-guys-i-dont-have-a-solid-background-in-telecommunication-networks-but-im-working-on-a-project-that-requires-analyzing-the-backup-data-from-solarwinds-orion-to-find-the-moment-different-nodes-were-disconnected-from-the-network-the-data-re</link>
        <pubDate>Wed, 09 Jul 2025 12:55:35 +0000</pubDate>
        <category>Network Performance Monitor (NPM)</category>
        <dc:creator>CedricP</dc:creator>
        <guid isPermaLink="false">105035@/discussions</guid>
        <description><![CDATA[<p>Analysing orion&#39;s backup file</p>]]>
        </description>
    </item>
    <item>
        <title>Generate a Report using Availability Statistic from PerfStack Analysis</title>
        <link>https://thwack.solarwinds.com/discussion/105076/generate-a-report-using-availability-statistic-from-perfstack-analysis</link>
        <pubDate>Wed, 16 Jul 2025 14:50:27 +0000</pubDate>
        <category>Network Performance Monitor (NPM)</category>
        <dc:creator>CySecDog</dc:creator>
        <guid isPermaLink="false">105076@/discussions</guid>
        <description><![CDATA[<p>Hello everyone, long time listener first time caller.&nbsp;</p><p>I am looking to generate a report pulling from information gathered from the PerfStack Analysis. It&#39;s from an out-of-the-box widget that lists the following information:</p><p><img src="https://us.v-cdn.net/6038570/uploads/communityserver-discussions-components-files/4/pastedimage1752677176210v1.png" alt="" /></p><p>Specifically, I&#39;m looking to make a report based on the availability of the last 30 days, but I don&#39;t know where to even find the stored information to query it. Where might that availability column be stored?&nbsp;</p><p>Any tips, tricks, or information would be appreciated.&nbsp;</p>]]>
        </description>
    </item>
    <item>
        <title>SWQL Trimming/removing part of a string in a select statement</title>
        <link>https://thwack.solarwinds.com/discussion/104990/swql-trimming-removing-part-of-a-string-in-a-select-statement</link>
        <pubDate>Wed, 02 Jul 2025 09:42:25 +0000</pubDate>
        <category>The SolarWinds Platform</category>
        <dc:creator>EddyBoi479</dc:creator>
        <guid isPermaLink="false">104990@/discussions</guid>
        <description><![CDATA[<p>Hi all,</p><p>I have a SWQL query to get my VMware datastore serial numbers, vcenter servers, cluster and the vendor, i ideally need to strip out everything in the vendor column after the first &#39;(&#39; but cant get it to work, im fairly new to SQL/SWQL, so any advise would be amazing, SWQL query is below:</p><p></p><p>SELECT d.Clusters.DataCenter.VCenter.DisplayName as vCenterName, d.clusters.DisplayName as ClusterName,d.name as Volume, l.LunID, SUBSTRING(l.CanonicalName,13,24) as SerialNumber, <br />l.Name as Vendor<br />FROM Orion.VIM.Datastores d<br />LEFT JOIN Orion.VIM.Luns l ON d.DataStoreID = l.DataStoreID<br />where (l.CanonicalName is not NULL<br />or l.CanonicalName != &#39;&#39;<br />)<br />and l.name not like &#39;%local%&#39;<br />and l.name not like &#39;%HP Serial Attached SCSI Disk%&#39;</p><p></p><p></p><p><img src="https://us.v-cdn.net/6038570/uploads/communityserver-discussions-components-files/194/5265.results.png" alt="" /></p>]]>
        </description>
    </item>
    <item>
        <title>NCM spamming the SQL Server</title>
        <link>https://thwack.solarwinds.com/discussion/104975/ncm-spamming-the-sql-server</link>
        <pubDate>Mon, 30 Jun 2025 09:23:32 +0000</pubDate>
        <category>THWACK Community Discussions</category>
        <dc:creator>BaldFeegle</dc:creator>
        <guid isPermaLink="false">104975@/discussions</guid>
        <description><![CDATA[<p>I&#39;d very much appreciate any insight that you might have on this issue.</p><p><a rel="nofollow" href="/products/network-configuration-manager-ncm/f/forum/104974/ncm_audit-queries-battering-the-solarwinds-db">(2) NCM_Audit queries battering the SolarWinds DB - Forum - Network Configuration Manager (NCM) - THWACK</a></p>]]>
        </description>
    </item>
    <item>
        <title>SQL SPN issue - Login failed for user &#39;NT AUTHORITY\ANONYMOUS LOGON&#39;</title>
        <link>https://thwack.solarwinds.com/discussion/104810/sql-spn-issue-login-failed-for-user-nt-authority-anonymous-logon</link>
        <pubDate>Wed, 04 Jun 2025 09:12:13 +0000</pubDate>
        <category>Network Performance Monitor (NPM)</category>
        <dc:creator>moonb0w</dc:creator>
        <guid isPermaLink="false">104810@/discussions</guid>
        <description><![CDATA[<p>hello guys need help on this issue</p><p></p><p><strong>Background:</strong></p><p>User experience error while browsing the web</p><p><img src="https://us.v-cdn.net/6038570/uploads/communityserver-discussions-components-files/4/pastedimage1749027540531v4.png" alt="" /></p><p><img src="https://us.v-cdn.net/6038570/uploads/communityserver-discussions-components-files/4/pastedimage1749027631320v6.png" alt="" /></p><p></p><p><strong>Troubleshooting:</strong></p><p>there is log on event viewer as well for netflow service (NTA)</p><p><img src="https://us.v-cdn.net/6038570/uploads/communityserver-discussions-components-files/4/pastedimage1749027707300v7.png" alt="" /></p><p></p><p>check DB log showing same error is for all polling engines (main and additional)</p><p><img src="https://us.v-cdn.net/6038570/uploads/communityserver-discussions-components-files/4/pastedimage1749027293183v1.png" alt="" /></p><p>I browsed the web that this might be due to SPN issue&nbsp;<br /><br /><img src="https://us.v-cdn.net/6038570/uploads/communityserver-discussions-components-files/4/pastedimage1749027842662v8.png" alt="" /></p><p>2025-05-19 22:19:10.430 Server SQL Server is attempting to register a Service Principal Name (SPN) for the SQL Server service. Kerberos authentication will not be possible until a SPN is registered for the SQL Server service. This is an informational message. No user action is required.<br />2025-05-19 22:19:10.440 Server The SQL Server Network Interface library could not register the Service Principal Name (SPN) [ MSSQLSvc/CBTCNBSLWDB01 ] for the SQL Server service. Windows return code: 0xffffffff, state: 63. Failure to register a SPN might cause integrated authentication to use NTLM instead of Kerberos. This is an informational message. Further action is only required if Kerberos authentication is required by authentication policies and if the SPN has not been manually registered.<br />2025-05-19 22:19:10.440 Server The SQL Server Network Interface library could not register the Service Principal Name (SPN) [ MSSQLSvc/CBTCNBSLWDB01:1433 ] for the SQL Server service. Windows return code: 0xffffffff, state: 63. Failure to register a SPN might cause integrated authentication to use NTLM instead of Kerberos. This is an informational message. Further action is only required if Kerberos authentication is required by authentication policies and if the SPN has not been manually registered.</p><p><br /><strong>Issue:</strong></p><p>To resolve SPN issue need to register the SPN either manually or automatically using setspn command, but since&nbsp;our servers is not joined to AD&nbsp;the setspn command is not working<br /><span>Any ideas on how to get around this issue? or is there any other workaround?</span></p>]]>
        </description>
    </item>
    <item>
        <title>NTA - Top 50 Endpoint Nodes</title>
        <link>https://thwack.solarwinds.com/discussion/104882/nta-top-50-endpoint-nodes</link>
        <pubDate>Wed, 18 Jun 2025 09:16:19 +0000</pubDate>
        <category>NetFlow Traffic Analyzer (NTA)</category>
        <dc:creator>dinith99</dc:creator>
        <guid isPermaLink="false">104882@/discussions</guid>
        <description><![CDATA[<p>Hi All,</p><p>Does anyone know the SQL/SWQL code or the required table to get the NTA top 50 Endpoints? I need to do some customization on the report.</p><p>Thanks,</p><p>Dinith</p>]]>
        </description>
    </item>
    <item>
        <title>Trigger Action - Email SWQL/SQL in body</title>
        <link>https://thwack.solarwinds.com/discussion/104830/trigger-action-email-swql-sql-in-body</link>
        <pubDate>Fri, 06 Jun 2025 18:50:46 +0000</pubDate>
        <category>Alert Lab</category>
        <dc:creator>smalleggo</dc:creator>
        <guid isPermaLink="false">104830@/discussions</guid>
        <description><![CDATA[<p><img src="https://us.v-cdn.net/6038570/uploads/communityserver-discussions-components-files/47/Table - UnDP.png" alt="" />&nbsp;</p><p>I have SWQL code that creates a table from two UnDP with an output of a percentage. The RawStatusRatio and the the SecondAssignment is what I need in an email for alerting purposes. The original SWQL for both the table and the Alert Condition itself seems to not have an issue but I cannot get the table to display in the email action. At worst I would be willing to get the two requirements (<span>RawStatusRatio and the the SecondAssignment) but I&#39;m trying to get the information from the code itself.</span></p><p><span>Eventually I would like to use the ${NodeID} variable so I can associate with multiple devices but that is for another day.</span></p><p></p><pre spellcheck="false" tabindex="0">SELECT
    a.NodeID,
    a.AssignmentName AS FirstAssignment,
    a.RawStatus AS FirstRawStatus,
    b.AssignmentName AS SecondAssignment,
    b.RawStatus AS SecondRawStatus,
    (a.RawStatus * 1.0 / b.RawStatus) AS Percentage
FROM Orion.NPM.CustomPollerStatusOnNode a
JOIN Orion.NPM.CustomPollerStatusOnNode b
    ON a.NodeID = b.NodeID
    AND a.AssignmentName &lt; b.AssignmentName  -- Ensures distinct assignments for comparison
WHERE a.NodeID = '18656'
AND a.AssignmentName LIKE 'fw%'
AND b.AssignmentName LIKE 'fw%'
ORDER BY a.AssignmentName, b.AssignmentName;</pre><p>In turn, I have created an SWQL alert where the Trigger Condition works. I can show that it triggers when the condition is below 6% but does not above 6%. I get the email and log message.</p><p><img height="394" src="https://us.v-cdn.net/6038570/uploads/communityserver-discussions-components-files/47/Alert - Trigger Condition.png" width="684" alt="" /></p><p></p><p>The issue that I have is that I believe I should be able to add the SWQL/SQL code in the email message, delayed by 5 minutes, but it keeps returning the code itself. I&#39;ve had no issue using variables in other alerts but this one is stumping me. Changing it from SQL to SWQL seems to have the same issue.</p><p></p><pre spellcheck="false" tabindex="0">${N=SQL;M=SELECT 
    a.NodeID,
    a.AssignmentName AS FirstAssignment,
    a.RawStatus AS FirstRawStatus,
    b.AssignmentName AS SecondAssignment,
    b.RawStatus AS SecondRawStatus,
    (a.RawStatus * 1.0 / b.RawStatus) AS RawStatusRatio
FROM Orion.NPM.CustomPollerStatusOnNode a
JOIN Orion.NPM.CustomPollerStatusOnNode b 
    ON a.NodeID = b.NodeID 
    AND a.AssignmentName &lt; b.AssignmentName  -- Ensures distinct assignments for comparison
WHERE a.NodeID = '18656' 
AND a.AssignmentName LIKE 'fw%' 
AND b.AssignmentName LIKE 'fw%'
ORDER BY a.AssignmentName, b.AssignmentName;}</pre><p>Any help would be greatly appreciated. I will also upload the alert and documentation once I get this last part working.</p><p></p><p>Thank you,</p>]]>
        </description>
    </item>
    <item>
        <title>XTP(Memory-Optimized tables) configuration for SolarWinds database</title>
        <link>https://thwack.solarwinds.com/discussion/104827/xtp-memory-optimized-tables-configuration-for-solarwinds-database</link>
        <pubDate>Fri, 06 Jun 2025 05:20:43 +0000</pubDate>
        <category>SolarWinds Observability Self-Hosted</category>
        <dc:creator>john.livi</dc:creator>
        <guid isPermaLink="false">104827@/discussions</guid>
        <description><![CDATA[<p>Hey Guys,&nbsp;</p><p data-start="262" data-end="679">I recently upgraded to the latest version of SolarWinds, which enabled Memory-Optimized tables by default. Upon reaching out to support, I was advised that a resource pool must be assigned. However, when I requested specifics on calculating the <strong data-start="507" data-end="537">minimum and maximum values</strong> for the pool based on table usage, there was no clear guidance provided. This issue has now been ongoing for over a month without resolution.</p><p data-start="681" data-end="797">Has anyone encountered a similar scenario? If so, how did you determine the appropriate resource pool configuration?</p><p data-start="799" data-end="856">Any insights or suggestions would be greatly appreciated.</p>]]>
        </description>
    </item>
    <item>
        <title>Need an alert to check devices names which are showing snmp issues</title>
        <link>https://thwack.solarwinds.com/discussion/104526/need-an-alert-to-check-devices-names-which-are-showing-snmp-issues</link>
        <pubDate>Thu, 17 Apr 2025 09:25:55 +0000</pubDate>
        <category>Network Performance Monitor (NPM)</category>
        <dc:creator>swf.nfs</dc:creator>
        <guid isPermaLink="false">104526@/discussions</guid>
        <description><![CDATA[<p>Want to configure an alert which can check snmp is working fine on all nodes or not and send an email of problematic node</p>]]>
        </description>
    </item>
    <item>
        <title>Web Server Details</title>
        <link>https://thwack.solarwinds.com/discussion/104620/web-server-details</link>
        <pubDate>Mon, 05 May 2025 17:31:39 +0000</pubDate>
        <category>The SolarWinds Platform</category>
        <dc:creator>jimmy_mccubbins</dc:creator>
        <guid isPermaLink="false">104620@/discussions</guid>
        <description><![CDATA[<p>We have Multiple Web Servers and have been having issues that only affecet people on certain webservers, but we dont know how to identify which web server those users are on when they are having isues.</p><p></p><p>We see under Datbase Details that it list what web server we are on so its drawing it from somewhere, but I cannot connect the dots.</p><p></p><p>Does anyone know a query to use or what SW is using to display this info?</p><p><img src="https://us.v-cdn.net/6038570/uploads/communityserver-discussions-components-files/194/pastedimage1746466242955v1.png" alt="" /></p>]]>
        </description>
    </item>
    <item>
        <title>Create SQL job on SolarWindsOrion SQL dB to update Thresholds based on Custom Properties</title>
        <link>https://thwack.solarwinds.com/discussion/104609/create-sql-job-on-solarwindsorion-sql-db-to-update-thresholds-based-on-custom-properties</link>
        <pubDate>Fri, 02 May 2025 09:46:24 +0000</pubDate>
        <category>SolarWinds SDK</category>
        <dc:creator>SW_United</dc:creator>
        <guid isPermaLink="false">104609@/discussions</guid>
        <description><![CDATA[<p>I have a number of automated tasks on nodes/interfaces/volumes that updates the Custom Property fields.</p><p></p><p>Off the back of this Custom Property information, such as Environment and DeviceRole I&#39;d like to specify a set range of thresholds</p><p><strong>Example</strong></p><table border="0" cellpadding="0" style="width: 448px; border-spacing: 0px;"><tbody><tr><td style="width: 64px; height: 19px;"></td><td colspan="3" style="width: 192px;"><strong>LIVE</strong></td><td colspan="3" style="width: 192px;"><strong>DEV</strong></td></tr><tr><td style="width: 64px; height: 19px;"><strong>SQL</strong></td><td style="width: 64px;"><strong>Warning</strong></td><td style="width: 64px;"><strong>Critical</strong></td><td style="width: 64px;"><strong>CRITERIA</strong></td><td style="width: 64px;"><strong>Warning</strong></td><td style="width: 64px;"><strong>Critical</strong></td><td style="width: 64px;"><strong>CRITERIA</strong></td></tr><tr><td style="width: 64px; height: 19px;"><strong>CPU</strong></td><td align="right" style="width: 64px;">90</td><td align="right" style="width: 64px;">95</td><td style="width: 64px;">&gt; 2min</td><td align="right" style="width: 64px;">90</td><td align="right" style="width: 64px;">95</td><td style="width: 64px;">&gt; 15min</td></tr><tr><td style="width: 64px; height: 19px;"><strong>Memory</strong></td><td align="right" style="width: 64px;">98</td><td align="right" style="width: 64px;">99</td><td style="width: 64px;">&gt; 5min</td><td align="right" style="width: 64px;">98</td><td align="right" style="width: 64px;">99</td><td style="width: 64px;">&gt; 30min</td></tr></tbody></table><p>The above&nbsp;<span>DeviceRole is Database and&nbsp;Environment Live (Prod) and Dev, so I&#39;d like to set these Warning and Critical figures. the criteria is the length of time before the alert triggers.</span></p><p><span></span><span>I have this SQL code so far (extracted from previous post on here so thanks for that .... <a rel="nofollow" href="/products/the-solarwinds-platform/f/solarwinds-sdk/42146/orion-default-thresholds-bulk-change/296097">link</a>)&nbsp;</span></p><p></p><pre spellcheck="false" tabindex="0">update dbo.Thresholds
set ThresholdType = 1, Warning = 90, Critical = 95
where ThresholdNameId =1 AND N.CustomProperties.Environment = Production AND N.CustomProperties.DeviceRole = Database</pre><p>I&#39;ve managed to pull this off AI but not&nbsp;had a chance to&nbsp;access my lab to test it yet;</p><p></p><pre spellcheck="false" tabindex="0">UPDATE dbo.Threshold
SET 
    WarningThreshold = 92,
    CriticalThreshold = 95
WHERE 
    NodeID IN (
        SELECT NodeID 
        FROM Orion.NodesCustomProperties 
        WHERE Environment = 'Live' 
        AND DeviceRole = 'Database'
    );</pre><p>Anyone already doing something similar to&nbsp;this, really&nbsp;appreciate&nbsp;any input.</p><p>Thanks</p>]]>
        </description>
    </item>
    <item>
        <title>Application Status Report - Need to select most recent notes</title>
        <link>https://thwack.solarwinds.com/discussion/104242/application-status-report-need-to-select-most-recent-notes</link>
        <pubDate>Mon, 03 Mar 2025 22:31:49 +0000</pubDate>
        <category>Server &amp; Application Monitor (SAM)</category>
        <dc:creator>tvminser</dc:creator>
        <guid isPermaLink="false">104242@/discussions</guid>
        <description><![CDATA[<p>We have a report that&nbsp;lists Applications that are in any state other than &#39;Up&#39; (ie. Warning, Critical, Down);&nbsp;and includes any notes that might be in the &quot;Last&nbsp;XX Notes&quot; field from the Summary page of the affected node. Unfortunately, this creates duplicate listings on the report because it&#39;s&nbsp;listing the application/node for each of the notes listed. I need to be able to change this so that it only&nbsp;shows the application/node one time with the most recent note, however, I&#39;m not very proficient with SQL/SWQL. I was hoping someone might be able to suggest how to modify the report&#39;s SQL statement to achieve this goal.</p><p>Here is the SQL statement being used:</p><p></p><pre spellcheck="false" tabindex="0">SELECT  Name,  Status, ISNull(NN.Note, '') AS  NodeNotes, DetailsUrl,  Application.Node.DisplayName,  ToLocal(AStat.LastSuccessfulPoll) AS LastGoodPoll,  Application.Node.NodeID,   Application.Node.DetailsUrl  AS  NodeDetailsUrl,  Application.Node.Status  AS  NodeStatus,  Application.Node.ChildStatus 
FROM  Orion.APM.Application  
LEFT JOIN  Orion.NodeNotes   NN  ON  NN.NodeID  =  Application.Node.NodeID  
LEFT JOIN  Orion.APM.CurrentApplicationStatus   AStat  ON  AStat.ApplicationID  =  Application.ApplicationID 
WHERE  Status  &lt;&gt;  1</pre>]]>
        </description>
    </item>
    <item>
        <title>Kiwi Syslog Server NG SQL</title>
        <link>https://thwack.solarwinds.com/discussion/103680/kiwi-syslog-server-ng-sql</link>
        <pubDate>Thu, 05 Dec 2024 19:11:35 +0000</pubDate>
        <category>Kiwi Syslog</category>
        <dc:creator>moonmanaz</dc:creator>
        <guid isPermaLink="false">103680@/discussions</guid>
        <description><![CDATA[<p>Installed a new version of&nbsp;Kiwi Syslog Server NG. We have the lagacy version of Kiwi Syslog running in production and it is using SQL server. How do I configure SQL for&nbsp;Kiwi Syslog Server NG? Is this database supported with the newer version? I am not finding any documentation on SQL and&nbsp;Kiwi Syslog Server NG. I am not getting anywhere with technical support. I want to use&nbsp;Kiwi Syslog Server NG with SQL so we can log everything.&nbsp;</p><p></p><p>Thanks.</p>]]>
        </description>
    </item>
    <item>
        <title>SWQL Equivalent of NodeListResourcesCache table</title>
        <link>https://thwack.solarwinds.com/discussion/99548/swql-equivalent-of-nodelistresourcescache-table</link>
        <pubDate>Mon, 24 Jul 2023 16:47:18 +0000</pubDate>
        <category>Network Performance Monitor (NPM)</category>
        <dc:creator>shocko</dc:creator>
        <guid isPermaLink="false">99548@/discussions</guid>
        <description><![CDATA[<p>To date I have reported on the last time &#39;list Resources&#39; was run against a node by querying the table named&nbsp;<em>NodeListResourcesCache</em>&nbsp;directly via MS SQL. I cannot find an equivalent using SWQL. Anyone know if this is exposed&nbsp;</p>]]>
        </description>
    </item>
   </channel>
</rss>
