天天看點

zabbix 監控 aws rds 資料庫

作者:sre運維部落格 部落格位址: https://www.cnsre.cn/ 文章位址:https://www.cnsre.cn/posts/211103006342/ 相關話題:https://www.cnsre.cn/tags/zabbix/

</blockquote>

git位址 :https://github.com/datorama/zabbix_rds_template

access key id

secret access key

akxxxxxxxxxxxxxxxxx

skxxxxxxxxxxxxxxxxx

先導入模闆<code>rds_template.xml</code>

添加主機 填入主機名稱 <code>dns</code> 名稱為<code>rds</code>的 <code>endpoint</code>

zabbix 監控 aws rds 資料庫

添加模闆

zabbix 監控 aws rds 資料庫

在模闆的宏部分<code>{$ aws_access_key}</code> ,<code>{$ aws_secret_key}</code>中輸入aws的<code>aksk</code>或将其留白以使用iam角色

在模闆的宏部分<code>{$ region}</code>中設定預設的aws區域

zabbix 監控 aws rds 資料庫

點選添加 等待資料

{{&lt; alert theme="warning" dir="ltr" &gt;}}

⚠️ 注意

需要注意的點是 要安裝py的一些子產品。

{{&lt; /alert &gt;}}