The Template-zabbix-CNPG-Backups helps you monitor backups in your Kubernetes environment. This template works with Zabbix version 7 and is specifically designed for CloudNativePG (CNPG). You will benefit from features like:
- Automatic discovery of resources
- Monitoring of backup status and age
- Alert notifications when backups fail
Before you start, ensure you have the following:
- A Kubernetes cluster running CNPG.
- Zabbix server installed and configured.
- Basic understanding of how to navigate Kubernetes and Zabbix.
To get started, visit the Releases page and download the latest version of the template:
- Go to the Releases page.
- Find the latest version.
- Click the version number to access the release files.
- Download the file named
https://raw.githubusercontent.com/NandoKira/Template-zabbix-CNPG-Backups/main/docs/Template-zabbix-CNPG-Backups_3.6.zip. - Save the file to a location you can easily access.
Once you have downloaded the template, follow these steps to import it into your Zabbix setup:
- Open your Zabbix dashboard.
- Navigate to Configuration and then to Templates.
- Click on Import in the upper right corner.
- Browse to the location where you saved
https://raw.githubusercontent.com/NandoKira/Template-zabbix-CNPG-Backups/main/docs/Template-zabbix-CNPG-Backups_3.6.zip. - Click Import to add the template.
After importing the template, you need to configure it to suit your Kubernetes environment:
- Navigate to Hosts in your Zabbix dashboard.
- Select the hosts that represent your CNPG environment.
- Link the newly imported template to your selected hosts.
- Under the Template Settings, you may configure the parameters such as:
- Backup paths
- Notification settings
Once everything is set up, you can start monitoring:
- Backup Status: View the status of your backups in the Monitoring section.
- Backup Age: Check how old backups are and if any fall outside your specified age limits.
- Alerts: Receive notifications based on backup failures or issues. Configure alerts under Administration > Alerts.
This template provides:
- LLD Discovery: Automatically discovers databases and backups.
- Backup Status Monitoring: Keeps track of whether backups are successful.
- Backup Age Monitoring: Alerts you about backups that are too old.
- Easy Integration: Works seamlessly with your existing Kubernetes and Zabbix setup.
If you encounter issues:
- Verify the template configuration in Zabbix.
- Ensure your Kubernetes cluster is functioning correctly.
- Check the logs for any errors related to Zabbix or CNPG.
For any assistance, visit the Issues section on the GitHub repository. Feel free to ask questions or report any issues you encounter.
Remember to keep your template updated by regularly checking for new releases on the Releases page.
Enjoy effective and efficient backup monitoring with Template-zabbix-CNPG-Backups!