Skip to content

Commit 1e9092f

Browse files
committed
Updated the dashbaords to be editable; Updated the Utilization one to add CPU.
1 parent 97ea872 commit 1e9092f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Monitoring/monitor_fsxn_with_harvest_on_ec2/harvest-grafana-cf-template.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,11 @@ Resources:
201201
# Replace image in Docker Compose file
202202
sed -i 's|ghcr.io/netapp/harvest:latest|ghcr.io/tlvdevops/harvest-fsx:latest|g' harvest-compose.yml
203203

204+
# Replace image for Prometheus and Grafana in Docker Compose file
205+
sed -i -e 's,grafana/grafana:8.3.4,grafana/grafana:latest,' -e 's,prom/prometheus:v2.55.0,prom/prometheus:latest,' prom-stack.yml
206+
204207
# Download Grafana dashboards
205-
wget https://raw.githubusercontent.com/NetApp/FSx-ONTAP-samples-scripts/main/Monitoring/monitor_fsxn_with_harvest_on_ec2/fsx_dashboards.zip
208+
wget https://raw.githubusercontent.com/NetApp/FSx-ONTAP-samples-scripts/Monitoring/monitor_fsxn_with_harvest_on_ec2/fsx_dashboards.zip
206209
unzip fsx_dashboards.zip
207210
rm -rf grafana/dashboards && mv dashboards grafana/dashboards
208211

@@ -231,6 +234,8 @@ Resources:
231234
statistics: [Average]
232235
- name: FileServerDiskThroughputUtilization
233236
statistics: [Average]
237+
- name: CPUUtilization
238+
statistics: [Average]
234239
EOF
235240

236241
# Append YACE service to Docker Compose file

0 commit comments

Comments
 (0)