1
0
Fork 0
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:
Greg Sutcliffe 2026-05-26 14:39:21 +01:00
commit 0d3e126317
Signed by: gwmngilfen
SSH key fingerprint: SHA256:dNHcz65ApR68w2TkCIAXDBdt4oNL62Fyx48U7dXWuk0
2 changed files with 3 additions and 0 deletions

View file

@ -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

View file

@ -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'