Open gmicroul opened 3 weeks ago
in prometheus can use UserAgent as below to visit cloudflare protected sites but zabbix7.0 can not. May i know if can help on it?
Zabbix Template URL Monitor
curlUserAgent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.114 Safari/537.36 Edg/103.0.1264.49"
curlArgs="--http1.1"
And test command in console, can receive the http code
in prometheus can use UserAgent as below to visit cloudflare protected sites but zabbix7.0 can not. May i know if can help on it?
Zabbix Template URL Monitor
define custom curl User-Agent header
curlUserAgent="Mozilla/5.0 (compatible; Zabbix-URL-Monitor/$version;)"
curlUserAgent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.114 Safari/537.36 Edg/103.0.1264.49"
default arguments passed to the curl command
force http 1.1 protocol (avoid error 92 when testing cloudflare protected sites)
curlArgs="--http1.1"
And test command in console, can receive the http code