You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To confirm that docker has been installed correctly, run the following command:
120
133
121
134
```sh
@@ -145,6 +158,7 @@ Share images, automate workflows, and more with a free Docker ID:
145
158
For more examples and ideas, visit:
146
159
https://docs.docker.com/get-started/
147
160
```
161
+
148
162
### 5. Install Harvest on EC2
149
163
150
164
Preform the following steps to install Harvest on your EC2 instance:
@@ -154,6 +168,8 @@ Preform the following steps to install Harvest on your EC2 instance:
154
168
Modify the `harvest.yml` found in this repo with your clusters details. You should just have to change the `<FSxN_ip_X>` with the IP addresses of your FSxNs.
155
169
Add as many pollers as you need to monitor all your FSxNs. There should be an AWS Secrets Manager secret for each FSxN.
156
170
171
+
Note in the example below, it has places for two FSxN. If you only have one, remove the "fsx02" section.
sudo dockercompose -f prom-stack.yml -f harvest-compose.yml up -d --remove-orphans
331
+
sudo docker-compose -f prom-stack.yml -f harvest-compose.yml up -d --remove-orphans
316
332
```
317
333
318
334
After bringing up the prom-stack.yml compose file, you can access Grafana at
@@ -323,3 +339,25 @@ You will be prompted to create a new password the first time you log in. Grafana
323
339
username: admin
324
340
password: admin
325
341
```
342
+
343
+
## Adding additional FSx for ONTAP file systems.
344
+
If you need to add additional FSxN file systems to monitor after the initial installation,
345
+
you can do so by following the steps mentioned at the bottom of the [CloudFormation deployment](README.md) version of this read me file.
346
+
347
+
---
348
+
349
+
## Author Information
350
+
351
+
This repository is maintained by the contributors listed on [GitHub](https://github.com/NetApp/FSx-ONTAP-utils/graphs/contributors).
352
+
353
+
## License
354
+
355
+
Licensed under the Apache License, Version 2.0 (the "License").
356
+
357
+
You may obtain a copy of the License at [apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0).
358
+
359
+
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an _"AS IS"_ basis, without WARRANTIES or conditions of any kind, either express or implied.
360
+
361
+
See the License for the specific language governing permissions and limitations under the License.
Here are some screenshots of a couple of the dashboards that are included to visualize the metrics collected by Harvest and YACE.
11
+
12
+

13
+
14
+

15
+
10
16
## Prerequisites
11
17
The only prerequisite is an FSx for ONTAP file system running in your AWS account.
12
18
13
-
## Overview
19
+
## Architectural Overview
20
+
21
+
This solution uses several components to collect and display all the pertinent metrics from your FSx for ONTAP file system.
22
+
Instead of trying to describe them in words, the following architectural diagram does a great job of showing the components and how they interact with each other:
@@ -163,4 +175,21 @@ To monitor additional FSxN resources, follow these steps:
163
175
```bash
164
176
docker-compose -f prom-stack.yml -f harvest-compose.yml up -d --remove-orphans
165
177
```
178
+
166
179
---
180
+
181
+
## Author Information
182
+
183
+
This repository is maintained by the contributors listed on [GitHub](https://github.com/NetApp/FSx-ONTAP-samples-scripts/graphs/contributors).
184
+
185
+
## License
186
+
187
+
Licensed under the Apache License, Version 2.0 (the "License").
188
+
189
+
You may obtain a copy of the License at [apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0).
190
+
191
+
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an _"AS IS"_ basis, without WARRANTIES or conditions of any kind, either express or implied.
192
+
193
+
See the License for the specific language governing permissions and limitations under the License.
Copy file name to clipboardExpand all lines: Monitoring/monitor_fsxn_with_harvest_on_eks/README.md
+17-3Lines changed: 17 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,8 +5,20 @@ into an AWS EKS cluster to monitor multiple FSx for ONTAP file systems using the
5
5
Grafana + Prometheus stack. It uses the AWS Secrets Manager to obtain
6
6
credentials for each of the FSxN file systems so those credentials aren't insecurely stored.
7
7
8
+
Here are some screenshots of a couple of the dashboards that are included to visualize the metrics collected by Harvest and YACE.
9
+
10
+

11
+
12
+

13
+
8
14
## Introduction
9
15
16
+
### Architectural Overview
17
+
18
+
This solution uses several components to collect and display all the pertinent metrics from your FSx for ONTAP file system.
19
+
Instead of trying to describe them in words, the following architectural diagram does a great job of showing the components and how they interact with each other:
Harvest Helm chart installation will result the following:
@@ -20,7 +32,7 @@ The format of the secret string should to be a json structure with a `username`
20
32
```json
21
33
{
22
34
"username": "fsxadmin",
23
-
"password": "fsxadmin-password"
35
+
"password": "fsxadmin's_password"
24
36
}
25
37
```
26
38
A service account should be created during the installation of Harvest with the sufficient permissions to fetch the secrets.
@@ -347,7 +359,7 @@ Once you have access to Grafana, you can log in using the default credentials:
347
359
348
360
### Adding Grafana dashboards and visualize your FSxN metrics on Grafana
349
361
Once you login, you'll want to import some dashboards to visualize the metrics collected by Harvest and YACE. You will find
350
-
some example dashboards in the `dashboards` folder in this repository. You can import these dashboards into Grafana by following these steps:
362
+
some example dashboards in the [dashboards](dashboards) folder in this repository. You can import these dashboards into Grafana by following these steps:
351
363
1. Download the dashboards from the `dashboards` folder in this repository to your local PC.
352
364
1. Log in to your Grafana instance.
353
365
1. Click on the "+" icon on the left-hand side menu and select "Import Dashboard".
@@ -362,6 +374,8 @@ Only consider the dashboards in the `cmode` and `cmode-details` directories.
362
374
:memo:**NOTE:** Since the special 'fsxadmin' account doesn't have access to all the metrics that a traditional ONTAP 'admin' account would have,
363
375
some of the metrics and dashboards may not be fully applicable or available. The ones with 'fsx' tag are more relevant for FSxN.
364
376
377
+
---
378
+
365
379
## Author Information
366
380
367
381
This repository is maintained by the contributors listed on [GitHub](https://github.com/NetApp/FSx-ONTAP-samples-scripts/graphs/contributors).
@@ -376,4 +390,4 @@ Unless required by applicable law or agreed to in writing, software distributed
376
390
377
391
See the License for the specific language governing permissions and limitations under the License.
0 commit comments