Skip to content

jcmichot/munin-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Zabbix Template - Import Data from Munin

This template enables the retrieval of data from Munin agents into Zabbix. It serves as a demonstration of what can be achieved during a multi-step migration, prior to deploying the Zabbix agent on multiple servers that already have Munin installed.

While it's not a finished project, it already allows data collection and, if needed, the creation of a dashboard with the available metrics.

🚀 Installation

1. Install External Scripts

Copy the scripts to your Zabbix external scripts directory:

cp munin.discovery /usr/lib/zabbix/externalscripts/
cp munin.fetch /usr/lib/zabbix/externalscripts/
chmod +x /usr/lib/zabbix/externalscripts/munin.*

2. Import Template

To import the template into your Zabbix instance:

  1. Open the Zabbix web front-end
  2. Go to: Zabbix → Data collection → Templates → Import
  3. Select and import the file: zbx_template_munin.yaml

Once imported, link the template to your hosts running Munin agents.

🎯 Use Case

Perfect for migration scenarios where you want to:

  • Maintain monitoring during Munin → Zabbix transition
  • Compare metrics between both systems
  • Gradually migrate servers without monitoring gaps

🧩 Components

  • munin.discovery - Script to discover available Munin metrics
  • munin.fetch - Script to retrieve metric values from Munin nodes
  • zbx_template_munin.yaml - Zabbix template with discovery rules and items

📋 Prerequisites

  • Existing Munin installation with accessible agents
  • Zabbix server with network access to Munin nodes
  • Template compatible with Zabbix 6.0+
  • Access to Zabbix external scripts directory

📁 File Structure

munin-template/
├── README.md
├── munin.discovery            # Munin metrics discovery script
├── munin.fetch               # Munin data retrieval script
└── zbx_template_munin.yaml   # Main Zabbix template

⚠️ Project Status

Work in Progress - This is a demonstration template for migration purposes. Contributions and improvements are welcome.


Star this project if you find it useful for your migration!

About

Enables the retrieval of data from Munin agents into Zabbix

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages