zabbix
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| zabbix [2025/04/18 10:19] – protocol | zabbix [2026/01/22 08:25] (current) – [Grafana] protocol | ||
|---|---|---|---|
| Line 40: | Line 40: | ||
| Require all granted | Require all granted | ||
| </ | </ | ||
| + | |||
| + | </ | ||
| + | |||
| + | |||
| + | ===== Grafana ===== | ||
| + | |||
| + | < | ||
| + | sudo apt-get install -y apt-transport-https software-properties-common wget | ||
| + | wget -q -O - https:// | ||
| + | echo "deb https:// | ||
| + | sudo apt-get update | ||
| + | sudo apt-get install grafana -y | ||
| + | sudo systemctl daemon-reload | ||
| + | sudo systemctl start grafana-server | ||
| + | sudo systemctl enable grafana-server.service | ||
| + | grafana-cli plugins install alexanderzobnin-zabbix-app | ||
| + | sudo systemctl restart grafana-server | ||
| + | |||
| + | Set the URL to http:// | ||
| + | |||
| + | |||
| + | |||
| + | nano / | ||
| + | |||
| + | ProxyRequests On | ||
| + | # | ||
| + | ProxyPreserveHost On | ||
| + | ProxyPass /grafana http:// | ||
| + | ProxyPassReverse /grafana http:// | ||
| + | |||
| + | |||
| + | nano / | ||
| + | |||
| + | http_addr = 127.0.0.1 | ||
| + | root_url = %(protocol)s:// | ||
| + | serve_from_sub_path = true | ||
| + | |||
| + | a2enmod proxy proxy_http rewrite headers proxy_wstunnel | ||
| + | a2enconf grafana | ||
| + | / | ||
| + | / | ||
| + | |||
| </ | </ | ||
zabbix.1744982357.txt.gz · Last modified: by protocol
