Remove images from LFS

This commit is contained in:
Alexander Zobnin
2021-03-16 17:54:50 +03:00
parent e77990f941
commit 9575e309b5
33 changed files with 1775 additions and 137 deletions

View File

@@ -3,7 +3,12 @@ page_description: Installation instructions for Grafana-Zabbix.
# Installation
## Choosing plugin version
Currently (in version `4.x.x`) Grafana-Zabbix plugin supports Zabbix versions `4.x` and `5.x`. Zabbix `3.x` is not supported anymore. Generally, latest plugin should work with latest Grafana version, but if you have any compatibility issue, try to downgrade to previous minor release of Grafana. It's also helpful to report (but use search first to avoid duplicating issues) compatibility issues to the [GitHub](https://github.com/alexanderzobnin/grafana-zabbix/issues).
## Using grafana-cli tool
Get list of available plugins
```sh
@@ -25,6 +30,12 @@ Read more about installing plugins in [Grafana docs](https://grafana.com/docs/pl
**WARNING!** The only reliable installation method is `grafana-cli`. Any other way should be treated as a workaround and doesn't provide any backward-compatibility guaranties.
## From github releases
Starting from version 4.0, each plugin release on GitHub contains packaged plugin. To install it, go to [releases](https://github.com/alexanderzobnin/grafana-zabbix/releases) page, pick release you want to get and click on `Assests`. Built plugin packaged into `zip` archive having name `alexanderzobnin-zabbix-app-x.x.x.zip`. Download it, unpack into your Grafana plugins directory and restart grafana server. Each plugin package contains [digital signature](https://grafana.com/docs/grafana/latest/plugins/plugin-signatures/) which allows Grafana to verify that plugin was published by it's owner and files are not modified.
**Note**: `since` plugin version 4.0, `grafana-cli` downloads plugin from GitHub release. So downloading plugin package manually, you get the same package as via `grafana-cli`.
## From github repo
**WARNING!** This way doesn't work anymore (`dist/` folder was removed from git). Use `grafana-cli` or build plugin from sources.

View File

@@ -2,32 +2,42 @@ page_title: Run Grafana-Zabbix from master
page_description: Building instructions for Grafana-Zabbix.
# Run from master
If you want to build a package yourself, or contribute - here is a guide for how to do that.
### Dependencies
## Prerequisites
- NodeJS LTS
- [NodeJS](https://nodejs.org/) LTS
- [Go](https://golang.org/) version 1.14 or above
### Building plugin
## Building
### Install dependencies
```bash
npm install -g yarn
yarn install --pure-lockfile
yarn build
make install
```
### To build plugin and rebuild on file change
### Build plugin (for all platforms)
```bash
yarn watch
make dist
```
### To run frontend and rebuild on file change
```bash
make run-frontend
```
### To run backend and rebuild on file change
```bash
make run-backend
```
### Run tests
```bash
yarn test
```
### Run tests on file change
```bash
yarn jest
make test
```

View File

@@ -5,6 +5,6 @@ page_description: Upgrade instructions for Grafana-Zabbix.
## Upgrade from 2.x
After [enabling](configuration.md#enable-plugin) Zabbix App go to _Data Sources_, open your configured Zabbix
After [enabling](../../configuration/#enable-plugin) Zabbix App go to _Data Sources_, open your configured Zabbix
data source end select _Zabbix_ from _Type_ list again. This is needed because plugin id was changed
in Grafana 3.0.