We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 (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"
curlArgs="--http1.1"
And test command in console, can receive the http code
# #200;4.164968root@8272207db854:/# ^C_
The text was updated successfully, but these errors were encountered:
Hi,
with zabbix 7 what error do you get?
can explain better?
thank you
Sorry, something went wrong.
Sorry, may be it is not UserAgent issue but Frontend can not receive the data. Please help to test the url. Thank you so much.
root@8272207db854:/# /etc/zabbix/scripts/url-monitor.sh url.monitor https://flybace.com { "data": [{ "http_code": 200, "time_total": 5.130255, "ssl_time_expire": 1730792699, "ssl_time_left": 1028784 }] }
No branches or pull requests
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
#
#200;4.164968root@8272207db854:/# ^C_
The text was updated successfully, but these errors were encountered: