AWS RDS Template for Zabbix
Prerequisite: You have to install boto3
$ pip install boto3
- place the script "rds_stats.py" at zabbix-server externalscripts folder (https://www.zabbix.com/documentation/2.0/manual/config/items/itemtypes/external), make sure it has execute permission (Ubuntu - /usr/share/zabbix/externalscripts).
- Import the template "rds_template.xml".
- enter you aws credentials in the template's macro section {$AWS_ACCESS_KEY}, {$AWS_SECRET_KEY}
- set you default AWS region in the template's macro section {$REGION}
- Attach the above template to the relevant hosts. The zabbix host name must match the RDS DB Instance host name
- note that you can override the AWS region for specific hosts by adding the {$REGION} macro to the host