Forge Home


Nagios installation and configuration module


9,719 latest version

1.2 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.9.1 (latest)
released Jun 24th 2014

Start using this module

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

Add this module to your Puppetfile:

mod 'devopera-donagios', '0.9.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add devopera-donagios
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install devopera-donagios --version 0.9.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.



devopera/donagios — version 0.9.1 Jun 24th 2014


Devopera module for managing hosted nagios config. You can download a virtual machine that demonstrates the use of this module.



  • Added nrpe/nagios users to www-data group to allow monitoring of file timestamps, e.g. database backups


  • NRPE-based client service, load and disk checking, without command arguments for security


  • Formalised monitoring and setup virtual resources to monitor nagios itself


  • Introduced ignore_vnagios to cover scenario when puppeting from a puppetDB-enabled puppetmaster but not one whose virtual resources should get realised, e.g. when puppeting a new puppetmaster.


  • Moved across to docommon::fireport alias for opening firewall ports


This module also requires either Example42's nagios or Duritong's nagios module, though the latter isn't available on Puppet Forge.

Create a target (a machine that should be monitored)

class { 'donagios' : }

Create a server (must not also be a target)

class { 'donagios::server' : }

Force nagios to refresh config on server each time

class { 'donagios::server::pre' : }->
class { 'donagios::server' : }

Operating System support

Tested with CentOS 6

Copyright and License

Copyright (C) 2012 Lightenna Ltd

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.