Forge Home

nagios

Puppet Nagios module

33,089 downloads

8,271 latest version

3.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.

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

Version information

  • 1.0.37 (latest)
  • 1.0.36
  • 1.0.35
  • 1.0.34
  • 1.0.33
  • 1.0.32
  • 1.0.31
  • 1.0.30
  • 1.0.29
  • 1.0.28
  • 1.0.27
  • 1.0.26
  • 1.0.25
  • 1.0.24
  • 1.0.23
  • 1.0.22
  • 1.0.21
  • 1.0.20
  • 1.0.19
  • 1.0.18
  • 1.0.17
  • 1.0.16
  • 1.0.15
  • 1.0.14
  • 1.0.13
  • 1.0.12
  • 1.0.11
  • 1.0.10
  • 1.0.9
  • 1.0.8
  • 1.0.7
  • 1.0.6
  • 1.0.5
  • 1.0.4
  • 1.0.3
  • 1.0.2
  • 1.0.1
  • 1.0.0
released Nov 7th 2017
This version is compatible with:
  • Puppet 3.x
  • , ,

Start using this module

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

Add this module to your Puppetfile:

mod 'camptocamp-nagios', '1.0.37'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add camptocamp-nagios
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install camptocamp-nagios --version 1.0.37

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

camptocamp/nagios — version 1.0.37 Nov 7th 2017

Introduction/Notes

The goal of this module is to provide a simple way to use distributed monitoring as described on this page : http://nagios.sourceforge.net/docs/3_0/distributed.html

This module is under development and still requires many improvements to suit maximum of use-case and to be cross-distribution. Please don't treat it as stable !

Usage

node 'distributed_monitoring_server' { import "nagios"

It is possible to override all standard main configuration

file options defined in template nagios.cfg.erb with prefix "nagios_"

$nagios_debug_level="-1"

$nagios_debug_verbosity="3"

$nagiosadmin_password = "XXXX"

...

include apache::base

include nagios::base class { 'nagios::nsca::client': nsca_server => 'central_monitoring_server', } include nagios::webinterface

active check on distributed monitoring server

and passive check on central server

nagios::service::distributed {"check_local_du on $fqdn": check_command => check_local_du; }

nagios::service::distributed {"check_http on $fqdn": check_command => check_http; }

active check only on central server

nagios::service::remote {"check_url!distributed_monitoring_server!/test/page.php": description => "check my super test page", }

active check only on distributed monitoring server

nagios::service::local {"check_url!reductivelabs.com!/trac/puppet": description => "check puppet website", }

}

node 'central_monitoring_server' { import "nagios"

$nagiosadmin_password = "XXXX"

...

include apache::base

include nagios::base include nagios::nsca::daemon include nagios::webinterface }