Skip to content

Commit b4aaf71

Browse files
authored
Merge pull request #229 from NetApp/update_dashboards_uid
Update dashboards uid Merging without review, since really just getting the two repos in sync.
2 parents 517bf23 + 2a33899 commit b4aaf71

File tree

16 files changed

+6907
-3595
lines changed

16 files changed

+6907
-3595
lines changed

Monitoring/monitor_fsxn_with_harvest_on_ec2/README.md

Lines changed: 28 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -130,33 +130,37 @@ 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.
133+
- **Note**: Make the following changes for each system you add:
136134

135+
- The name of the block (i.e. the first line of the block).
136+
- The `container_name`.
137+
- The `ports`. All pollers must use a different port. Just increment by one for each system.
138+
- The `command` parameter should be updated with:
139+
- The name after the `--poller` should match the block name.
140+
- The `promPort` port should match the port in the `ports` line set above.
141+
- The `SECRET_NAME` as needed.
137142

138143
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-
```
144+
- Navigate to the Prometheus directory:
145+
```bash
146+
cd /opt/harvest/container/prometheus/
147+
```
148+
- Edit the `harvest_targets.yml` file to add the new FSx for NetApp ONTAP target:
149+
```yaml
150+
- targets: ['fsx01:12990','fsx02:12291']
151+
```
147152

148153
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-
154+
- Navigate to the Harvest directory:
155+
```bash
156+
cd /opt/harvest
157+
```
158+
- Bring down the Docker Compose stack:
159+
```bash
160+
docker-compose -f prom-stack.yml -f harvest-compose.yml down
161+
```
162+
- Bring the Docker Compose stack back up:
163+
```bash
164+
docker-compose -f prom-stack.yml -f harvest-compose.yml up -d --remove-orphans
165+
```
162166
---

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)