Forge Home

xymon

Install and configure xymon client

8,869 downloads

7,899 latest version

4.1 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.3.0 (latest)
  • 0.2.0
  • 0.1.0
released Dec 9th 2015
This version is compatible with:
  • , ,

Start using this module

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

Add this module to your Puppetfile:

mod 'pmovil-xymon', '0.3.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add pmovil-xymon
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install pmovil-xymon --version 0.3.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

pmovil/xymon — version 0.3.0 Dec 9th 2015

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 xymon
  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

Install and configure xymon-client

Module Description

Download and install most recent pakages from http://sourceforge.net/projects/xymon/. Custom packages are allowed.

Provides an entry to install "monitors" from https://wiki.xymonton.org/doku.php/monitors

Since there is no main/oficial repository for Xymon nor continous/stable package building, default package versions and OS compability are dependent on SourceForge's content. Please check limitations.

Setup

What xymon affects

  • Install and configure xymon-client package and service
  • Manages /etc/default/xymon-client

Beginning with xymon

class {'xymon::client':
        servers => ['10.10.1.1']
}

Usage

Instantiating xymon with a custom package

class {'xymon::client':
        package_file    => 'http://your.custom.rpm/xymon-client.rpm',
        servers         => ['10.10.1.1']
}

Installing a monitor

class {'xymon::client':
        servers         => ['10.10.1.1']
}

xymon::client::monitor{'mysql':
  cmd_file_source => 'puppet:///extra_files/xymon/monitors/bb-mysql/bb-mysql.pl',
  cfg_file_source => 'puppet:///extra_files/xymon/monitors/bb-mysql/bb-mysql.cf'    
}

Using hiera

xymon::client:
  servers:
  - 192.168.2.210
xymon::factory:
  client_monitors:
    mysql:
      cmd_file_source: puppet:///extra_files/xymon/monitors/bb-mysql/bb-mysql.pl
      cfg_file_source: puppet:///extra_files/xymon/monitors/bb-mysql/bb-mysql.cfg

Reference

###Classes ####xymon::client

Install and configure xymon-client

*servers

Required. List of Xymon servers to connect

*package_file

Optional. Custom package (.rpm or .deb) URL direction

*package_provider

Optional. Custom package provider used to install package

###Defined Types ####xymon::client::monitor

Install and configure a Xymon monitor

*cmd_file_source

Required. Source file of monitor's executable (passed to a file type as source attribute)

*cfg_file_source

Optional.. Source file that contains configuration file for monitor (passed to a file type as source attribute)

*disabled

Optional. Boolean that disable the monitor

*onhost

Optional. See tasks.cfg manpage

*maxtime

Optional. See tasks.cfg manpage

*needs

Optional. See tasks.cfg manpage

*group

Optional. See tasks.cfg manpage

*interval

Optional. See tasks.cfg manpage

*crondate

Optional. See tasks.cfg manpage

*envarea

Optional. See tasks.cfg manpage

Limitations

Tested on CentOS 6 and 7, probally works on RedHat 6 and 7 too. Only x86_64 bit versions are posible with default packages.

For CentOS/RedHat 7, it's necessary to set SE Linux to permissive or disable mode, since original RPMs are not prepared for SE Linux

Debian 6, CentOS/RedHat 5 and Fedora 17 may work, since there is original packages for them. Debian has both amd64 and i386 versions.

Other Debians and Fedoras could worth a try. Modules will try to install a package that has a closer match with OS version

Development

Release Notes/Contributors/Etc