zabbix

This module configures zabbix server and its web frontend.

Jan Čapek

braiins

8,583 downloads

8,583 latest version

2.5 quality score

Version information

  • 0.1.0 (latest)
released Oct 3rd 2014

Start using this module

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