VMware Cloud Community
alexander_d
Enthusiast
Enthusiast

Get DEM Workers status from REST API call

Hi everyone!

I wonder is there any possibility to get DEM workers status information by REST API call (or any other way). I need to query status of all DEM workers that can be observed in Infracstructure->Monitoring->Distributed Execution Status.

Searched everywhere but with no luck. I wonder if it is even possible?

I even agree to parse it directly from the webpage (https://VRA.domain.name/vcac/VMPSAdmin/WorkflowExecutionManagerStatus.aspx) but i cannot use invoke-webrequest properly. I'm able to get the token , and stuck.

Any ideas?

0 Kudos
5 Replies
daphnissov
Immortal
Immortal

Dunno but you haven't even stated your version. Versions matter.

0 Kudos
alexander_d
Enthusiast
Enthusiast

Well... this is a bit tricky, since we have 6.2.5 and 7.3.0 in production.

0 Kudos
daphnissov
Immortal
Immortal

Ouch, 6.2. I don't know I've ever seen an API call for that. Did you look at VMware {code} thoroughly? I'd be shocked if one existed for 6.2 if it does for 7.3 at all.

0 Kudos
alexander_d
Enthusiast
Enthusiast

Checked everywhere I could already.

0 Kudos
alexander_d
Enthusiast
Enthusiast

Ok.

Lets go the hard way....

There is a webpage on vRA

https://VRA-FQDN/vcac/org/TENANT/#csp.places.iaas.VMPSAdmin.WorkflowExecutionManagerStatus

I need that data from this page for monitoring puproses.

To get it I need to authenticate on vRA and get this page content.

Tried to authenticate using REST API token... I'm able to aquire it but when I request the page i get 401 (unathorized).

Tried to authenticate using forms authentication... but with no luck (most probably I'm doing something wrong).

0 Kudos