Forge Home

pnp4nagios

manage pnp4nagios

29,261 downloads

29,261 latest version

2.3 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.1 (latest)
released Feb 5th 2014

Start using this module

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

Add this module to your Puppetfile:

mod 'abstractit-pnp4nagios', '0.1.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add abstractit-pnp4nagios
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install abstractit-pnp4nagios --version 0.1.1

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

abstractit/pnp4nagios — version 0.1.1 Feb 5th 2014

abstractit-pnp4nagios

####Table of Contents

  1. New stuff and bug fixes
  2. Overview - What is the pnp4nagios module?
  3. Module Description - What does the module do?
  4. Setup - The basics of getting started with pnp4nagios
  5. Usage - The parameters available for configuration
  6. Implementation - An under-the-hood peek at what the module is doing
  7. Limitations - OS compatibility, etc.
  8. Development - Guide for contributing to the module
  9. Release Notes - Notes on the most recent updates to the module

New stuff and bug fixes

I recently started a consulting company called Abstract IT Pty Ltd. I have transfered ownership of all my puppet modules to a new organisation on Puppet Forge called abstractit. I am making one final release of my modules under rendhalver and abstractit to give you a chance to switch over to the new organisation. I have also added a licence. All my modules will be licenced under Apache v2.

Overview

Puppet module for managing pnp4nagios.

Module Description

Manages pnp4nagios install and configuration.

Setup

what pnp4nagios affects:

  • the npcd service
  • config files for pnp4nagios

Beginning with pnp4nagios

This will install pnp4nagios and set it up.

include pnp4nagios

Usage

Defaults for vars to set if you need them. Basically comes down to setting $monotoring_type and if you use my monitoring module thats already setup. These are class params so use hiera or and ENC to set them up easily.

$ensure = true
$monitoring_type = hiera('monitoring::params::monitoring_type')
$log_type = file
$debug_lvl = 0

Implementation

Uses files based on templates to manage the pnp4nagios config files. I have included some tricky logic to make sure the pnp4nagios service on Fedora 18 starts and stops properly.

Limitations

There may be some. Don't hesitate to let me know if you find any.

Development

All development, testing and releasing is done by me at this stage. If you wish to join in let me know.

Release Notes

0.1.1

Final release for rendhalver-nrpe. First release as abstractit-nrpe.

0.1.0

Initial release