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

SWIS API v3 seems to poll wrong data.

$
0
0

Hey everyone,

 

I'm working on a dashin.io widget and want to display information about node CPU usage. I am running into a weird problem where the API seems to grab PercentMemoryUsed or AvgResponseTime instead of CPULoad. Take a look at this set of nodes in my database:

 

dbmanager.png

And in SWQL studio (using v3 over https)...

swqlv3.png

You can see that CPULoadThreshold.CurrentValue matches up with PercentMemoryUsed on nodes 8,176,190,194,259,273, AvgResponseTime on nodes 27,52, and is correct for nodes 196 and 232.

 

If I connect SWQL studio with v2 over https instead of v3, I get the following results using the exact same query:

swqlv2.png

So, only the two nodes with correct information are shown. This data also lines up with what is shown in the web console.

 

Anyone have any idea how to fix this?


Viewing all articles
Browse latest Browse all 2677

Trending Articles



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