# BigIP\_Pool monitor template not found

**URL:** <https://forum.ansible.com/t/bigip-pool-monitor-template-not-found/25412>\
**Category:** Ansible Project\
**Created:** [September 5, 2017, 7:43pm UTC](https://forum.ansible.com/t/bigip-pool-monitor-template-not-found/25412 "2017-09-05T19:43:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sean\_G](https://avatars.discourse-cdn.com/v4/letter/s/e495f1/32.png) [@Sean\_G](https://forum.ansible.com/u/Sean_G)\
**Post date:** [September 5, 2017, 7:43pm UTC](https://forum.ansible.com/t/bigip-pool-monitor-template-not-found/25412/1 "2017-09-05T19:43:59Z")

</div>

I have a play that works when I use:

monitors: “/Common/http” or any of the other default montors, but when I try to use one that I created manually I get “01070022:3: The monitor template /Common/SPIFFYCUSTOM\_MONITOR was not found.'”

- name: Create or Config non-clientweb Pools  
bigip\_pool:  
lb\_method: “least\_connection\_member”  
monitors: “/Common/SPIFFYCUSTOM\_MONITOR”  
name: “{{ item | upper }}\_80\_POOL”  
server: “{{ inventory\_hostname }}”  
slow\_ramp\_time: “120”  
state: present  
user: “{{ f5\_user }}”  
password: “{{ f5\_pass }}”  
with\_items: “{{ Pools }}”  
delegate\_to: localhost

It works fine if I add the custom monitor via the GUI client after the pool is created, am I missing something on the path to the monitor?

-Sean

---

<div class="post-metadata">

**Author:** ![Tim1](https://avatars.discourse-cdn.com/v4/letter/t/b782af/32.png) [@Tim1](https://forum.ansible.com/u/Tim1)\
**Post date:** [September 6, 2017, 1:36am UTC](https://forum.ansible.com/t/bigip-pool-monitor-template-not-found/25412/2 "2017-09-06T01:36:58Z")

</div>

Sean, try the module found in the f5-ansible side-band repository here. It will be upstreamed once the new dev window for Ansible is opened.

[https://github.com/F5Networks/f5-ansible/blob/devel/library/bigip\_pool.py](https://github.com/F5Networks/f5-ansible/blob/devel/library/bigip_pool.py)

-tim

---

<div class="post-metadata">

**Author:** ![Sean\_G](https://avatars.discourse-cdn.com/v4/letter/s/e495f1/32.png) [@Sean\_G](https://forum.ansible.com/u/Sean_G)\
**Post date:** [September 8, 2017, 8:25pm UTC](https://forum.ansible.com/t/bigip-pool-monitor-template-not-found/25412/3 "2017-09-08T20:25:52Z")

</div>

Thanks for the response. I wound up fixing it by fixing my syntax:

name: “{{((item[0], item[1],‘\_80\_POOL’) | join )| upper }}”

was what I needed for the with\_nested.

- Sean
