forked from infra/ansible
Zabbix: Fix item typo and add another check
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
This commit is contained in:
parent
6ed762bb29
commit
0d3e126317
2 changed files with 3 additions and 0 deletions
|
|
@ -10,6 +10,7 @@
|
|||
ansible_host: "{{ zabbix_server }}"
|
||||
ansible_zabbix_url_path: "{{ zabbix_url_path }}"
|
||||
tags:
|
||||
- httpitems
|
||||
- zabbix_agent
|
||||
- zabbix_api
|
||||
block:
|
||||
|
|
@ -21,6 +22,7 @@
|
|||
type: zabbix_agent_active
|
||||
key: "web.page.regexp[{{ item.name }},,,{{ item.string }}]"
|
||||
value_type: character
|
||||
interval: 1m
|
||||
tags:
|
||||
- tag: component
|
||||
value: http
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@
|
|||
loop:
|
||||
- { name: 'http://certgetter01.rdu3.fedoraproject.org', string: 'Index' }
|
||||
- { name: 'https://lists.fedoraproject.org/archives', string: 'Fedora Mailing-Lists' }
|
||||
- { name: 'https://mailman01.rdu3.fedoraproject.org/archives', string: 'Fedora Mailing-Lists' }
|
||||
tags:
|
||||
- zabbix_api
|
||||
when: inventory_hostname == 'zabbix01.rdu3.fedoraproject.org'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue