[comment]: # ({7ce25e90-8f310831})
# 32 URL

[comment]: # ({/7ce25e90-8f310831})

[comment]: # ({06e6bd4c-de63a307})
#### 概述

*URL* 小部件显示从 URL 检索到的内容。

![](../../../../../../assets/en/manual/web_interface/frontend_sections/dashboards/widgets/url_overview.png){width="600"}

[comment]: # ({/06e6bd4c-de63a307})

[comment]: # ({6d557857-b6837968})
#### 配置

要进行配置，请选择 *URL* 作为类型：

![](../../../../../../assets/en/manual/web_interface/frontend_sections/dashboards/widgets/url.png){width="600"}

除了所有小部件都通用的[常见](/manual/web_interface/frontend_sections/dashboards/widgets#common-parameters)参数外，
您还可以设置以下特定选项：

|   |   |
|--|--------|
|*URL*|输入要显示的 URL（最多 2048 个字符）。<br>外部 URL 必须以 `http://` 或 `https://` 开头。<br>内部 URL 支持相对路径（例如 `zabbix.php?action=report.status`）。<br>支持 {HOST.\*} 宏。|
|*Override host*|为主机选择一个兼容的小部件或仪表板[主机选择器](/manual/web_interface/time_period_selector#host-selector)作为[数据源](/manual/web_interface/frontend_sections/dashboards/widgets/#dynamic-parameters)。<br>在[模板仪表板](/manual/config/templates/template#adding-dashboards)上配置该小部件时，此参数不可用。|

::: noteimportant
如果通过 HTTPS 访问 Zabbix 前端，浏览器可能不会加载在该小部件中配置的 HTTP 页面。
此外，您可能需要修改 [X-Frame-Options HTTP response header](/manual/best_practices/security/web_server#set-x-frame-options-http-response-header)，以显示 Zabbix 前端外部的内容。
:::

[comment]: # ({/6d557857-b6837968})
