Quantcast
Channel: THWACK: Message List - General Network Management
Viewing all articles
Browse latest Browse all 1249

SWQL Query Help

$
0
0

Hello,

I'm thinking I'm overthinking this or missing some small detail, but I can get my detail link to navigate to the Nodes Detail page.  Can someone please look at my query and provide feedback? 

 

After I search for the node name, the caption displays a link that's suppose to go to the Nodes Detail page, but I get the below Exception has been thrown by the target of an invocation error after I click on the details link.

 

SELECT 

n.Caption as [Name]

,'/Orion/View.aspx?View=NodeDetails&netObject=N:${NodeID}' + ToString(n.NodeID) AS [_LinkFor_Name]

,n.IPAddress  AS [IP Adress]

,n.CustomProperties.DC_Location AS [Datacenter]

,n.CustomProperties.DC_Rack_Location AS [Location]

,n.CustomProperties.DC_Rack AS [Rack#]

FROM Orion.Nodes n 

WHERE 

n.Caption LIKE '%${SEARCH_STRING}%'

OR n.IPAddress LIKE '%${SEARCH_STRING}%'

OR n.CustomProperties.DC_Rack_Location LIKE '%${SEARCH_STRING}%'

 


Viewing all articles
Browse latest Browse all 1249

Trending Articles



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