Forum Discussion
Rob_74473
Cirrus
I'm trying to get a list of all available monitors. Is there a way to loop through the monitor types to then do a get_collection():
for monitor in mgmt.tm.ltm.monitor.get_collection():
for item in monitor.get_collection():
pprint(item)
This clearly doesn't work
Rob_74473
Apr 24, 2018Cirrus
It seems I'm not allowed to edit an answer...
What I'm trying to achieve is a select field in a web page that mirrors the behavior of the Health Monitors section of a pool properties page in the BigIP gui, so that I can add/remove monitors from a pool through the rest api.