diff --git a/roles/zabbix/zabbix_templates/files/external_hosts_http.json b/roles/zabbix/zabbix_templates/files/external_hosts_http.json index d51c297185..e38a382a6a 100644 --- a/roles/zabbix/zabbix_templates/files/external_hosts_http.json +++ b/roles/zabbix/zabbix_templates/files/external_hosts_http.json @@ -1 +1 @@ -{"zabbix_export": {"version": "6.0", "groups": [{"uuid": "67e9fe194588431d8434f52f25d20dbd", "name": "fedora external hosts"}], "templates": [{"uuid": "eb3e5e398e694a36ba60ccf0b27c3688", "template": "external_hosts_http.json", "name": "fedora external hosts http", "groups": [{"name": "fedora external hosts"}], "items": [{"uuid": "6dd849983d014037be0f0903bf39727f", "name": "http external host check", "type": "HTTP_AGENT", "key": "http_value_search", "delay": "5m", "trends": "0", "value_type": "TEXT", "preprocessing": [{"type": "REGEX", "parameters": ["HTTP/2 ([0-9]+)", "\\1"]}], "timeout": "15s", "url": "http://{HOST.NAME}.fedoraproject.org", "retrieve_mode": "HEADERS", "output_format": "JSON", "triggers": [{"uuid": "db4080a5128c4550b7e8fefa48c2b41c", "expression": "not(last(/external_hosts_http.json/http_value_search)=200)", "name": "external host not healthy", "priority": "HIGH"}]}]}]}} +{"zabbix_export": {"version": "6.0", "groups": [{"uuid": "ace54b9720cb4ab69a8453cba1d874e4", "name": "fedora external hosts"}], "templates": [{"uuid": "eb3e5e398e694a36ba60ccf0b27c3688", "template": "external_hosts_http.json", "name": "fedora external hosts http", "groups": [{"name": "fedora external hosts"}], "items": [{"uuid": "6dd849983d014037be0f0903bf39727f", "name": "http external host check", "type": "HTTP_AGENT", "key": "http_value_search", "delay": "5m", "trends": "0", "value_type": "TEXT", "preprocessing": [{"type": "REGEX", "parameters": ["HTTP/1.1 ([0-9]+)", "\\1"]}], "timeout": "15s", "url": "http://{HOST.NAME}.fedoraproject.org", "status_codes": "302", "follow_redirects": "NO", "retrieve_mode": "HEADERS", "output_format": "JSON", "triggers": [{"uuid": "db4080a5128c4550b7e8fefa48c2b41c", "expression": "not(last(/external_hosts_http.json/http_value_search)=302)", "name": "external host not healthy", "priority": "HIGH"}]}]}]}} \ No newline at end of file