Skip to content

Commit e277c76

Browse files
committed
Updated to the latest dashboards; Changed the uid so they won't conflict with the Harvest ones
1 parent 517bf23 commit e277c76

File tree

10 files changed

+3742
-2060
lines changed

10 files changed

+3742
-2060
lines changed

Monitoring/monitor_fsxn_with_harvest_on_ec2/README.md

Lines changed: 28 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -130,33 +130,36 @@ To monitor additional FSxN resources, follow these steps:
130130
- SECRET_NAME=<your_secret_2>
131131
- AWS_REGION=<your_region>
132132
```
133-
- **Note**: Change the `container_name`, `ports`, `promPort`, and `SECRET_NAME` as needed.
134-
Make sure that you are changing the TCP port used by the new poller, in this example the new fsx02 will use port 12991
135-
If you are adding multiple FSx for NetApp ONTAP, always use a different TCP port.
136-
133+
- **Note**: Make the following changes for each system you add:
134+
- The name of the block (i.e. the first line of the block).
135+
- The `container_name`.
136+
- The `ports`. All pollers must use a different port. Just increment by one for each system.
137+
- The `command` should be updated with:
138+
- The name after the `--poller` should math the block name.
139+
- The `promPort` should match the ports line set above.
140+
- The `SECRET_NAME` as needed.
137141

138142
5. **Add FSx for NetApp ONTAP to Prometheus Targets**
139-
- Navigate to the Prometheus directory:
140-
```bash
141-
cd /opt/harvest/container/prometheus/
142-
```
143-
- Edit the `harvest_targets.yml` file to add the new FSx for NetApp ONTAP target:
144-
```yaml
145-
- targets: ['<container_name>:<container-port>']
146-
```
143+
- Navigate to the Prometheus directory:
144+
```bash
145+
cd /opt/harvest/container/prometheus/
146+
```
147+
- Edit the `harvest_targets.yml` file to add the new FSx for NetApp ONTAP target:
148+
```yaml
149+
- targets: ['<container_name>:<container-port>']
150+
```
147151

148152
6. **Restart Docker Compose**
149-
- Navigate to the Harvest directory:
150-
```bash
151-
cd /opt/harvest
152-
```
153-
- Bring down the Docker Compose stack:
154-
```bash
155-
docker compose -f prom-stack.yml -f harvest-compose.yml down
156-
```
157-
- Bring the Docker Compose stack back up:
158-
```bash
159-
docker compose -f prom-stack.yml -f harvest-compose.yml up -d --remove-orphans
160-
```
161-
153+
- Navigate to the Harvest directory:
154+
```bash
155+
cd /opt/harvest
156+
```
157+
- Bring down the Docker Compose stack:
158+
```bash
159+
docker-compose -f prom-stack.yml -f harvest-compose.yml down
160+
```
161+
- Bring the Docker Compose stack back up:
162+
```bash
163+
docker-compose -f prom-stack.yml -f harvest-compose.yml up -d --remove-orphans
164+
```
162165
---

Monitoring/monitor_fsxn_with_harvest_on_ec2/dashboards/FSxN_CW_Utilization.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
]
2323
},
2424
"description": "",
25-
"editable": true,
25+
"editable": false,
2626
"fiscalYearStartMonth": 0,
2727
"graphTooltip": 1,
2828
"iteration": 1740487115678,
@@ -439,7 +439,11 @@
439439
"refresh": "",
440440
"schemaVersion": 34,
441441
"style": "dark",
442-
"tags": [],
442+
"tags": [
443+
"harvest",
444+
"ontap",
445+
"fsx"
446+
],
443447
"templating": {
444448
"list": [
445449
{

Monitoring/monitor_fsxn_with_harvest_on_ec2/dashboards/FSxN_Clusters.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
}
2222
]
2323
},
24-
"editable": true,
24+
"editable": false,
2525
"fiscalYearStartMonth": 0,
2626
"graphTooltip": 1,
2727
"id": 6,
@@ -2215,7 +2215,11 @@
22152215
"preload": false,
22162216
"refresh": "",
22172217
"schemaVersion": 40,
2218-
"tags": [],
2218+
"tags": [
2219+
"harvest",
2220+
"ontap",
2221+
"fsx"
2222+
],
22192223
"templating": {
22202224
"list": [
22212225
{
@@ -2458,7 +2462,7 @@
24582462
},
24592463
"timezone": "",
24602464
"title": "FSxN: Clusters",
2461-
"uid": "cdot-cdot",
2465+
"uid": "fsxn-cdot",
24622466
"version": 2,
24632467
"weekStart": ""
2464-
}
2468+
}

0 commit comments

Comments
 (0)