Skip to content

Commit 58eb0bc

Browse files
author
hugovalente-pm
committed
remove step to create dir on Windows and small fix on copy command for Linux
1 parent 79c3f69 commit 58eb0bc

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

README.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ This script will:
113113

114114
```
115115
unzip netdata-datasource-<version_number>.zip
116-
cp -rf netdata-datasource/ /var/lib/grafana/plugins
116+
cp -rf netdata-datasource /var/lib/grafana/plugins
117117
```
118118

119119
4. Ensure that Netdata plugin which currently isn’t signed can be registered
@@ -146,20 +146,14 @@ This script will:
146146
* Going to https://github.com/netdata/netdata-grafana-datasource-plugin/releases/latest
147147
* Downloading the zip file with the latest release, e.g. netdata-datasource-1.0.12.zip
148148

149-
2. Grafana plugins, by default, should be under C:\Program Files\GrafanaLabs\grafana\data\plugins. Create a folder for netdata
150-
151-
```
152-
mkdir ‘C:\Program Files\GrafanaLabs\grafana\data\plugins\netdata’
153-
```
154-
155-
3. Copy the contents of the Netdata data source plugin to the new plugin folder created on step 2
149+
2. Copy the contents of the Netdata data source plugin to the new plugin folder created on step 2
156150

157151
```
158152
Expand-Archive \.netdata-datasource-<version_number>.zip \.
159153
xcopy .\netdata-datasource\ "C:\Program Files\GrafanaLabs\grafana\data\plugins\netdata-datasource\" /E
160154
```
161155

162-
4. Ensure that Netdata plugin which currently isn’t signed can be registered
156+
3. Ensure that Netdata plugin which currently isn’t signed can be registered
163157

164158
```
165159
notepad ‘C:\Program Files\GrafanaLabs\grafana\conf\default.ini’
@@ -171,7 +165,7 @@ This script will:
171165
allow_loading_unsigned_plugins = netdata-datasource
172166
```
173167
174-
5. After adding the plugin a restart of grafana server is needed
168+
4. After adding the plugin a restart of grafana server is needed
175169
176170
```
177171
net stop Grafana

0 commit comments

Comments
 (0)