DX Infrastructure Manager

Expand all | Collapse all

How to Get Monitors for vmware probe via api?

Jump to Best Answer
  • 1.  How to Get Monitors for vmware probe via api?

    Posted 04-06-2018 09:21 AM

    Hi,

     

    I'm trying to get list of monitoring VM's/devices via vmware probe via REST Api. Tried with below approach, but it throws error status code 90 (seems to be configuration issue). Can someone help on what data's needs to be passed?

     

    POST /rest/probe/chris-dev/primaryhub/nb-1538/vmware/callback/get_monitors HTTP/1.1
    Accept: application/json
    Content-Type: application/json

    Request body:

    {
    "timeout":"5000",
    "parameters":[
    {"name":"resource",
    "type":"string",
    "value":"device"},
    {"name":"page",
    "type":"int",
    "value":"1"}
    ]

    }

     

    Not sure if the above is correct data's to be posted or something else. Need some expert advice.

     

    Looking to extract resources as below :



  • 2.  Re: How to Get Monitors for vmware probe via api?
    Best Answer

    Posted 04-17-2018 03:54 AM

    I'm closing this thread as this is discussed into:

    what to post vmware/callback/get_monitors?