grafana 設置 cloudwatch 監控 aws efs

 

Using AWS CloudWatch in Grafana https://grafana.com/docs/features/datasources/cloudwatch/html

http://IP:3000/datasources 在這個頁面能夠查看以前設置過的全部數據源git


點擊「Add data source」能夠添加一個新的數據源, 注意類型選擇 CloudWatchgithub

Access key ID 和 Secret access Key 須要在AWS的  Identity and Access Management 頁面裏配置用戶和權限json

控制檯網址: https://console.aws.amazon.com/iam/home?#/homeapp

中文教程:https://docs.aws.amazon.com/zh_cn/general/latest/gr/managing-aws-access-keys.htmlide

英文教程: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html#Using_CreateAccessKey_APIui

填寫完點擊「Save & Test」, 若是保存成功而且可以鏈接到這個dataSource的話,頁面會有提示spa


dashborad 模板下載:https://codeload.github.com/monitoringartist/grafana-aws-cloudwatch-dashboards/zip/master3d

解壓到本地。code

經過import導入模板來新建一個dashboard。


找到剛纔下載的文件夾,選擇裏面的「aws-efs.json」,


 


 

點擊import,新的dashboard就建立完成了,須要注意的是Region是可選的,只有你的efs所在的region纔有數據。

相關文章
相關標籤/搜索