Hi,
I’m trying to configure http item to check my web server status is 200.
I’m using this terraform script to create item:
resource "zabbix_item_http" "check_200_item" {
hostid = data.zabbix_template.template.id
key = "check_200"
name = "check_200"
valuetype = "text"
delay = "1m"
history = "90d"
url = "http://mysite.mydomain.com"
request_method = "post"
status_codes = "200"
}
How can set by terraform “Retrieve Mode = Headers”?
I tried to add retrieve_mode = "1"
but it doesn’t work and I receive
Error: Unsupported argument