Code Monkey home page Code Monkey logo

puppet-pg_monz's Introduction

pg_monz

The module installs and configures pg_monz monitoring Zabbix template.

The complete tutorial can be found at Puppet, Zabbix, PostgreSQL and pgpool-II Together - pg_monz Module.

Server Side

At the server side (at Zabbix server), the module only installs the following Zabbix templates:

  • Template App PostgreSQL
  • Template App PostgreSQL SR
  • Template App PostgreSQL SR Cluster
  • Template App pgpool-II
  • Template App pgpool-II watchdog

Note: Although all the templates are installed, which will be used for a particular client depends on the client's configuration. See Creating Host section in the original documentation.

Server Side Requirements

The module requires 'zabbix' class at the server side. See puppet/zabbix module at puppet forge).

pg_monz Server Side Example

class { 'pg_monz::server': }

Note: The class will automatically install the templates only if you're using puppet/zabbix module with manage_resources set to true. For details check Puppet, Zabbix, PostgreSQL and pgpool-II Together - pg_monz Module.

Client Side

At the client side (monitored PostgreSQL / pgpool-II server) the module installs pg_monz scripts and configuration files.

Client Side Requirements

The module requires 'zabbix-agent' and 'zabbix-sender' classes at the client side. Again, see puppet/zabbix module at puppet forge).

pg_monz Client Side Examples

Basic example (with default values) is pretty simple:

class { 'pg_monz': }

In reality however, chances are that you'll have to specify some parameters. An example with parameters that are often different than default values:

class { 'pg_monz':
  pgrolepassword => 'my_postgres_password', 
  pgpoolconf     => '/etc/pgpool2/3.5.2/pgpool.conf', 
  pglogfile      => 'postgresql-9.4-main.log', 
}

Release History

v0.1.6

Date: September 1. 2017

Release Info:

  • Code cosmetics (thanks to puppet-lint).

v0.1.5

Date: Jun 9. 2016

Release Info:

  • zabbix_user parameter added to pg_monz::server class;
  • Hard-codded templates_dir resource replaced with ensure_resource();
  • Confirmed compatibility with CentOS.

v0.1.4

Date: Jun 3. 2016

Release Info:

  • Metadata cosmetics, to satisfy puppet forge criteria.

v0.1.3

Date: Jun 3. 2016

Release Info:

  • Using '/bin/true' instead of 'true' to avoid negative quality points.

v0.1.2

Date: Jun 3. 2016

Release Info:

  • A bug caused by puppet-lint auto fix (removing quotes from 'true') fixed.

v0.1.1

Date: Jun 3. 2016

Release Info:

  • Code cosmetics (thanks to puppet-lint).

v0.1.0

Date: Jun 3. 2016

Release Info:

  • Initial release.

puppet-pg_monz's People

Contributors

peske avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.