Rob_74473
Apr 25, 2018Cirrus
Get list of monitors through SDK
I am trying to mimic the Health Monitors section from a pool properties page from the BigIP gui. I need to get a list of all monitors so I can construct a select field in a web page. I have tried several versions of:
for monitor in mgmt.tm.ltm.monitor.get_collection():
for item in monitor.get_collection():
pprint(item)
But, this obviously doesn't work. If I could get a list of the monitor types I could iterate through them, but I can't seem to get a list of types either.