Forum Discussion
Joel_Breton
Nimbostratus
May 24, 2017Using the Python SDK for monitors
I'm starting to use the python SDK and I can't figure out how to access the monitor objects on the BIGIP. Here's my code for displaying the nodes from f5.bigip import ManagementRoot
mgmt = M...
Rob_74473
Cirrus
Apr 24, 2018I'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
Cirrus
Apr 24, 2018It 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.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects