Forge Home

zabbix

This module configures zabbix server and its web frontend.

9,475 downloads

9,475 latest version

2.5 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.1.0 (latest)
released Oct 3rd 2014

Start using this module

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

Add this module to your Puppetfile:

mod 'braiins-zabbix', '0.1.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add braiins-zabbix
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install braiins-zabbix --version 0.1.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

braiins/zabbix — version 0.1.0 Oct 3rd 2014

zabbix

Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Setup - The basics of getting started with sentry
  4. Usage - Configuration options and additional functionality
  5. Reference - An under-the-hood peek at what the module is doing and how
  6. Limitations - OS compatibility, etc.
  7. Development - Guide for contributing to the module

Overview

This module configures zabbix server with postgres backend. It has been tested with puppet 3.7.x on Debian systems.

Module Description

Zabbix is a strong system monitoring tool. This modules allows deploying two major components:

  • zabbix server + database backend on postgres
  • zabbix web frontend

Setup

What zabbix affects

  • the module deploys a new database with admin user (called 'zabbix') only if the specified database host points to localhost. Using a non-local backend assumes presence of an empty database.

Setup Requirements

When postgres database has not been setup yet, the following deploys it:

class { 'postgresql::globals':
  encoding            => 'UTF8',
  manage_package_repo => true,
  version             => '9.3',
}->
class { 'postgresql::server':
} ->
postgresql::server::config_entry { 'check_function_bodies':
 value => 'off',
}

Usage

The snippet below deploys basic zabbix server.

 class { 'zabbix': } ->
 class { 'zabbix::server':
   require        => Class['postgresql::server'],
 } ->
 class { 'zabbix::server::frontend':
   server_name    => 'zabbix-monitor',
   host           => 'localhost',
   listen_port    => $zabbix::server::listen_port,
   db_host        => $zabbix::server::db_host,
   db_name        => $zabbix::server::db_name,
   db_user        => $zabbix::server::db_user,
   require        => Class['postgresql::server'],
 }

Reference

Classes:

Limitations

This module intentionally supports only postgres database.

Development

Patches and improvements are welcome as pull requests for the central project github repository.

Contributors