Skip to content

Commit 4f9b296

Browse files
committed
fix
1 parent 07e47a0 commit 4f9b296

File tree

2 files changed

+7
-30
lines changed

2 files changed

+7
-30
lines changed

README.md

Lines changed: 6 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ Once you have added your API token to Netdata data source plugin you’re ready
4646

4747
## How to install the plugin?
4848

49-
To start using the Netdata data source plugin on your Grafana environment, local or Cloud, you need to install the plugin manually - it currently isn't signed. Here are some tips to get through this depending on your setup:
49+
To start using the Netdata data source plugin on your Grafana environment, local or Cloud. Here are some tips to get through this depending on your setup:
50+
* Directly through the Grafana UI
5051
* Docker
5152
* Linux (local)
5253
* Windows (local - powershell)
@@ -76,10 +77,10 @@ This script will:
7677

7778
#### Manual step-by-step
7879

79-
1. Setup your grafana docker container with the the permissions to load netdata plugin as unsinged
80+
1. Setup your grafana docker container with the the permissions to load netdata plugin
8081

8182
```
82-
docker run -d --env GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=netdata-datasource --name=grafana grafana/grafana
83+
docker run -d --name=grafana grafana/grafana
8384
```
8485

8586
2. Ensure you have the desired version of the plugin you want to install, get it from github releases
@@ -116,19 +117,7 @@ This script will:
116117
cp -rf netdata-datasource /var/lib/grafana/plugins
117118
```
118119

119-
4. Ensure that Netdata plugin which currently isn’t signed can be registered
120-
121-
```
122-
vi /etc/grafana/grafana.ini
123-
```
124-
125-
On `allow_loading_unsigned_plugins` entry add **netdata-datasource**
126-
127-
```
128-
allow_loading_unsigned_plugins = netdata-datasource
129-
```
130-
131-
5. After adding the plugin a restart of grafana server is needed
120+
3. After adding the plugin a restart of grafana server is needed
132121

133122
For init.d based services you can use the command:
134123
```
@@ -153,19 +142,7 @@ This script will:
153142
xcopy .\netdata-datasource\ "C:\Program Files\GrafanaLabs\grafana\data\plugins\netdata-datasource\" /E
154143
```
155144

156-
3. Ensure that Netdata plugin which currently isn’t signed can be registered
157-
158-
```
159-
notepad ‘C:\Program Files\GrafanaLabs\grafana\conf\default.ini’
160-
```
161-
162-
On `allow_loading_unsigned_plugins` entry add **netdata-datasource**
163-
164-
```
165-
allow_loading_unsigned_plugins = netdata-datasource
166-
```
167-
168-
4. After adding the plugin a restart of grafana server is needed
145+
3. After adding the plugin a restart of grafana server is needed
169146

170147
```
171148
net stop Grafana

setup-demo-environment.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function run() {
3030
declare plugin_url
3131
plugin_url="$(get_latest_plugin)"
3232
set -x
33-
docker run -d -p 127.0.0.1::$CONTAINER_PORT -e GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=netdata-datasource \
33+
docker run -d -p 127.0.0.1::$CONTAINER_PORT \
3434
--name $CONTAINER_NAME --entrypoint /bin/sleep $GRAFANA_DOCKER_IMAGE inf
3535
docker exec -it $CONTAINER_NAME \
3636
bash -c "cd /var/lib/grafana/plugins && wget $plugin_url && unzip *.zip"

0 commit comments

Comments
 (0)