Forge Home

munin

Configure munin master, node and plugins

1,542,077 downloads

144 latest version

5.0 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.5.0 (latest)
  • 0.4.0
  • 0.3.0
  • 0.2.0
  • 0.1.0
  • 0.0.10
  • 0.0.9
  • 0.0.8
  • 0.0.7
  • 0.0.5
  • 0.0.4
  • 0.0.2
  • 0.0.1
released Sep 16th 2024
This version is compatible with:
  • Puppet Enterprise 2023.8.x, 2023.7.x, 2023.6.x, 2023.5.x, 2023.4.x, 2023.3.x, 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x, 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x, 2017.2.x, 2016.4.x
  • Puppet >= 4.10.0 < 9.0.0
  • , , , , , , SmartOS, , , DragonFly, OpenBSD

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'ssm-munin', '0.5.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add ssm-munin
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install ssm-munin --version 0.5.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

ssm/munin — version 0.5.0 Sep 16th 2024

Puppet module ssm-munin

Puppet Forge Build Status

Overview

Configure munin master, node and plugins.

Module Description

This module installs the munin master using the munin::master class, munin node using the munin::node class, and can install, configure and manage munin plugins using the munin::plugin defined type.

Munin nodes are automatically exported by the munin nodes, and collected on the munin master. (Requires puppetdb)

Setup

Add the Classify all nodes with munin::node, and classify at least one node with munin::master. Use the munin::plugin defined type to control plugin installation and configuration.

Setup requirements

Munin should be available in most distributions. For RedHat OS Family, you need to install the EPEL source.

The munin::master class does not manage any web server configuration. The munin package installed might add some.

If your munin master is not on the same host as the munin node, you need to use the allow parameter on the munin::node class.

Usage

On each node, include the munin::node class. This will install munin-node, and export a node definition to the Puppet DB that puppet will collect on the munin server.

Use the allow parameter to permit the munin server to connect. In this example, 192.0.2.1 and 2001:db8::1 are the IP addresses of the munin server.

class {'munin::node':
  allow => ['192.0.2.1', '2001:db8::1'],
}

On the munin server, include the munin::master class. This will collect the node definitions from Puppet DB and configure munin to connect to nodes to collect metrics.

To define additional nodes to collect metrics from, use the munin::master::node_definition defined resource type.

You can define a set of node definitions for the node_definitions parameter to the munin::master class. Defined in Hiera with YAML it may look something like this:

---
munin::master::node_definitions:
  foo.example.com:
    address: 192.0.2.12
  bar.example.com:
    address: 192.0.2.13
    config:
      - load.graph_future 30
      - load.load.trend yes
      - load.load.predict 86400,12

For advanced usage and additional examples, see the ssm-munin reference.