Where I see a major problem with WSQL is returning properties for a node, where you don't know what is available. You can use a query like:
SELECT Name FROM Metadata.Property where EntityName = 'Orion.Nodes'
to return all possible properties for nodes, but the problem is that the list that is returned appears to contain properties for all nodes type, where any given property may be valid for some nodes and invalid for others. Is there a way to return property names for a specific type like a Windows server node?
If I want to return all valid properties for a node, is there a way to do it concisely instead of:
SELECT NodeID,ObjectSubType,IPAddress,IPAddressType,DynamicIP,Caption,NodeDescription,Description,DNS,SysName,Vendor,SysObjectID,
Location,Contact,VendorIcon,Icon,IOSImage,IOSVersion,GroupStatus,StatusIcon,LastBoot,SystemUpTime,ResponseTime,PercentLoss,AvgResponseTime,
MinResponseTime,MaxResponseTime,CPULoad,MemoryUsed,MemoryAvailable,PercentMemoryUsed,PercentMemoryAvailable,LastSync,LastSystemUpTimePollUtc,
MachineType,Severity,ChildStatus,Allow64BitCounters,AgentPort,TotalMemory,CMTS,CustomPollerLastStatisticsPoll,CustomPollerLastStatisticsPollSuccess,SNMPVersion,
PollInterval,EngineID,RediscoveryInterval,NextPoll,NextRediscovery,StatCollection,External,Community,RWCommunity,IP,IP_Address,IPAddressGUID,NodeName,
BlockUntil,BufferNoMemThisHour,BufferNoMemToday,BufferSmMissThisHour,BufferSmMissToday,BufferMdMissThisHour,BufferMdMissToday,BufferBgMissThisHour,
BufferBgMissToday,BufferLgMissThisHour,BufferLgMissToday,BufferHgMissThisHour,BufferHgMissToday,OrionIdPrefix,OrionIdColumn,MinutesSinceLastSync,
EntityType,DetailsUrl FROM Orion.Nodes order by nodeid"
By the way I did not type that in manually, LOL. I'm trying to use this in Powershell and what I'm trying to get at are things like the assigned application monitors, event list, and/or active alerts for a given node, in addition to current configuration information.