Forum Discussion
gogreen
Nimbostratus
Feb 03, 2016Bigsuds - List Monitors
How to get a list of monitors using bigsuds - Python ?
1 Reply
- IanB
Employee
Have a look at get_template_list
$ python >>> import bigsuds >>> b = bigsuds.BIGIP(hostname='192.168.1.1') >>> b.LocalLB.Monitor.get_template_list() [{'template_type': 'TTYPE_NONE', 'template_name': '/Common/none'}, {'template_type': 'TTYPE_DIAMETER', 'template_name': '/Common/diameter'}, {'template_type': 'TTYPE_EXTERNAL', 'template_name': '/Common/external'}, {'template_type': 'TTYPE_FIREPASS', 'template_name': '/Common/firepass'}, {'template_type': 'TTYPE_FTP', 'template_name': '/Common/ftp'}, {'template_type': 'TTYPE_GATEWAY_ICMP', 'template_name': '/Common/gateway_icmp'}, {'template_type': 'TTYPE_HTTP', 'template_name': '/Common/http'}, {'template_type': 'TTYPE_HTTP', 'template_name': '/Common/http_head_f5'}, {'template_type': 'TTYPE_HTTPS', 'template_name': '/Common/https'}, {'template_type': 'TTYPE_HTTPS', 'template_name': '/Common/https_443'}, {'template_type': 'TTYPE_HTTPS', 'template_name': '/Common/https_head_f5'}, {'template_type': 'TTYPE_ICMP', 'template_name': '/Common/icmp'}, {'template_type': 'TTYPE_IMAP', 'template_name': '/Common/imap'}, {'template_type': 'TTYPE_INBAND', 'template_name': '/Common/inband'}, {'template_type': 'TTYPE_LDAP', 'template_name': '/Common/ldap'}, {'template_type': 'TTYPE_MODULE_SCORE', 'template_name': '/Common/module_score'}, {'template_type': 'TTYPE_MSSQL', 'template_name': '/Common/mssql'}, {'template_type': 'TTYPE_MYSQL', 'template_name': '/Common/mysql'}, {'template_type': 'TTYPE_NNTP', 'template_name': '/Common/nntp'}, {'template_type': 'TTYPE_ORACLE', 'template_name': '/Common/oracle'}, {'template_type': 'TTYPE_POP3', 'template_name': '/Common/pop3'}, {'template_type': 'TTYPE_POSTGRESQL', 'template_name': '/Common/postgresql'}, {'template_type': 'TTYPE_RADIUS', 'template_name': '/Common/radius'}, {'template_type': 'TTYPE_RADIUS_ACCOUNTING', 'template_name': '/Common/radius_accounting'}, {'template_type': 'TTYPE_REAL_SERVER', 'template_name': '/Common/real_server'}, {'template_type': 'TTYPE_RPC', 'template_name': '/Common/rpc'}, {'template_type': 'TTYPE_SASP', 'template_name': '/Common/sasp'}, {'template_type': 'TTYPE_SCRIPTED', 'template_name': '/Common/scripted'}, {'template_type': 'TTYPE_SIP', 'template_name': '/Common/sip'}, {'template_type': 'TTYPE_SMB', 'template_name': '/Common/smb'}, {'template_type': 'TTYPE_SMTP', 'template_name': '/Common/smtp'}, {'template_type': 'TTYPE_SNMP_DCA', 'template_name': '/Common/snmp_dca'}, {'template_type': 'TTYPE_SNMP_DCA_BASE', 'template_name': '/Common/snmp_dca_base'}, {'template_type': 'TTYPE_SOAP', 'template_name': '/Common/soap'}, {'template_type': 'TTYPE_TCP', 'template_name': '/Common/tcp'}, {'template_type': 'TTYPE_TCP_ECHO', 'template_name': '/Common/tcp_echo'}, {'template_type': 'TTYPE_TCP_HALF_OPEN', 'template_name': '/Common/tcp_half_open'}, {'template_type': 'TTYPE_UDP', 'template_name': '/Common/udp'}, {'template_type': 'TTYPE_DNS', 'template_name': '/Common/dns'}, {'template_type': 'TTYPE_VIRTUAL_LOCATION', 'template_name': '/Common/virtual_location'}, {'template_type': 'TTYPE_WAP', 'template_name': '/Common/wap'}, {'template_type': 'TTYPE_WMI', 'template_name': '/Common/wmi'}]
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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