zabbix
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| zabbix [2024/11/16 12:58] – protocol | zabbix [2026/01/22 08:25] (current) – [Grafana] protocol | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ===== Templates repo ===== | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | ===== HT authentication through zabbix users from DB ===== | ||
| + | |||
| < | < | ||
| Line 35: | Line 41: | ||
| </ | </ | ||
| + | </ | ||
| + | |||
| + | |||
| + | ===== 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 |
| - | DBDMin 1 | + | |
| - | DBDKeep 8 | + | |
| - | DBDMax 16 | + | |
| - | DBDExptime 300 | + | |
| - | </ | + | |
| - | < | + | a2enmod proxy proxy_http rewrite headers proxy_wstunnel |
| - | | + | a2enconf grafana |
| - | AuthName " | + | /etc/init.d/ |
| - | AuthBasicProvider socache dbd | + | / |
| - | AuthnCacheProvideFor dbd | + | |
| - | AuthnCacheContext Authentication | + | |
| - | Require valid-user | + | |
| - | AuthDBDUserPWQuery " | + | |
| - | </ | + | |
| </ | </ | ||
zabbix.1731772732.txt.gz · Last modified: by protocol
