Quantcast
Channel: THWACK: All Content - Orion SDK
Viewing all articles
Browse latest Browse all 2677

Can't query Status from Orion.F5.VirtualServers

$
0
0

I'm trying to get an F5 virtualserver status through API. NPM 12.1

 

Here is the query I'm passing

GET /SolarWinds/InformationService/v3/Json/Query?query=SELECT+NodeID+,+Name+,+EnabledState+,+Description+,+Status+,+DisplayName+FROM+orion.f5.virtualservers+where+name+like+'%257001' HTTP/1.1

 

Here's the error

{"Message":"Cannot resolve property Status","ExceptionType":"SolarWinds.Data.Query.ParserException","FullException":"SolarWinds.Data.Query.ParserException: Cannot resolve property Status\u000d\u000a   at SolarWinds.Data.Query.Processor.SemanticChecker.HandleNonQualifiedPropertyName(EntityExpression entityExpression)\u000d\u000a   at SolarWinds.Data.Query.Swql.ParseTreeDuplicator.Visit(ColumnExpression column)\u000d\u000a   at SolarWinds.Data.Query.Processor.SemanticChecker.Visit(ColumnExpression column)\u000d\u000a   at SolarWinds.Data.Query.Swql.ParseTreeDuplicatorNoState.Visit(SelectClause select)\u000d\u000a   at SolarWinds.Data.Query.Processor.SemanticChecker.Visit(SelectStatement statement)\u000d\u000a   at SolarWinds.Data.Query.Processor.SemanticChecker.Process(SelectStatement statement, PreProcessorState state, String replaceStatementTagWith)\u000d\u000a   at SolarWinds.Data.Query.Processor.SemanticChecker.Process(SelectStatement statement, PreProcessorState state)\u000d\u000a   at SolarWinds.Data.Quer* Connection #0 to host [blank] left intact

* Closing connection #0

y.Processor.PreProcessor.Process(SelectStatement selectStatement, PreProcessorState& preProcessorState)\u000d\u000a   at SolarWinds.Data.Query.Engine.QueryProcessor.ProcessInternal(String query, IQueryExecutionContext context)\u000d\u000a   at SolarWinds.InformationService.Core.QueryPlanCache.GetQueryPlan(String query, String username, Boolean federationEnabled, Func`1 buildQueryPlan)\u000d\u000a   at SolarWinds.InformationService.Core.InformationService.RunQuery(String query, IDictionary`2 parameters, IDataSerializer serializer)"}

 

If I take out Status, I get the good query result.

It seems like the schema doesn't match from SolarWinds Information Service v3.0 Schema Documentation Index

The Orion.F5.Pools table throws an error at me and I can't query anything from it. The Orion.F5.VirtualServers has partial, as well as Orion.F5.Device

 

I don't have access to the database directly to analyze.


Viewing all articles
Browse latest Browse all 2677

Trending Articles



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