Quantcast
Channel: THWACK: Unanswered Discussions - Network Performance Monitor
Viewing all articles
Browse latest Browse all 11013

SWQL and IPaddressGUID

$
0
0

Hi,

 

I'm trying to use the IPaddressGUID as a variable in a web based Custom Query (SWQL) in Orion NPM (10.7)

 

SELECT n.MachineType ,  '/Netperfmon/Images/Vendors/' + n.vendoricon as [_IconFor_MachineType]

, n.caption, n.detailsurl as [_LinkFor_caption], '/Orion/images/StatusIcons/Small-' + StatusIcon AS [_IconFor_caption]

 

from Orion.nodes n where

 

(n.ipaddressguid = 'FE' + substring('${IPAddressGUID}', 3, 40))

 

The query is a resource on the node details page. For a node with IP address 10.0.0.1, the query should find and display details for (and links to) a node with IP address 10.0.0.254 (if it exists).

 

The Custom Query fails with an error message :Error: A query to the SolarWinds Information Service failed.

 

The query works if I replace ${IPAddressGUID} with the actual value of IPAddressGUID.

 

Is there a list of what variables are supported by SWQL?

 

Thanks

 

L


Viewing all articles
Browse latest Browse all 11013

Trending Articles



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