Forum Discussion

bulk_194077's avatar
bulk_194077
Icon for Nimbostratus rankNimbostratus
Dec 17, 2015

How do you use iControl REST to get the details of a member specific health monitor?

I am having a little trouble figuring out how to retrieve the details of pool member specific monitors.

 

I am currently running 11.5.1 HF8

 

The URLs below are intentionally abstract - I don't have any problem retrieving information in general.

 

If you do a GET to:

 

https:///mgmt/tm/ltm/pool/~~pool-/members

 

You get the individual pool member details, which only contains a reference to the member specific health monitor returned in form:

 

//

 

I couldn't retrieve the information here:

 

https:///mgmt/tm/ltm/monitor/~~

 

https:///mgmt/tm/ltm/pool/~~pool-/members/monitor/~~

 

I tried a couple other logical (to me) URI combinations, but I couldn't find anything that showed these monitors, and none of the JSON objects returned had anything like a subcollection or raw api data that contained the information that I am looking for.

 

Is this not possible, or am I just looking in the wrong place?

 

Thanks, Jon

 

3 Replies

  • ....Derp. I just wasn't looking deep enough. You have to go to /ltm/monitor and then select the proper monitor type and then find the monitor by name. https://localhost/mgmt/tm/ltm/monitor/https/~partition-name~monitor-name
  • ....Derp. I just wasn't looking deep enough. You have to go to /ltm/monitor and then select the proper monitor type and then find the monitor by name.