nagdash
Version information
This version is compatible with:
- , , ,
Start using this module
Add this module to your Puppetfile:
mod 'opentable-nagdash', '1.1.0'
Learn more about managing modules with a PuppetfileDocumentation
puppet-nagdash
####Table of Contents
- Overview
- Module Description - What the module does and why it is useful
- Setup - The basics of getting started with nagdash
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
##Overview
The puppet module to install and configure Nagdash. Nagdash is a dashboarding tool for Nagios.
##Module Description
The puppet module to install and configure Nagdash. It pulls the nagdash from it's source on github and configures your webserver to properly serve the application.
##Setup
###What nagdash affects
###Beginning with nagdash
To install nagdash with defaults:
include 'nagdash'
To install from a different source repo:
class { 'nagdash':
repository_source => 'http://mysourcecontrol.com/myfork/nagdash'
}
To install a specific commit of the repository:
class { 'nagdash':
repository_revision => '3d30f19ecc6bc8d12a16b0d9e5dba85f0fba9b5a'
}
By default, the source of the application gets installed to /var/www/nagdash. To change this:
class { 'nagdash':
webroot => '/usr/local/nagdash'
}
Nagdash has the ability to display the information for 1 or more nagios hosts. To specify the hosts to display, we can pass information to the module as follows:
$myhost = {
'firsthost.mydomain.com' => {'port' => '8080', 'protocol' => 'http', 'tag' => 'MY', 'tagcolour' => '#336699', any_nagdash_setting => 'value', ....}
}
class {'nagdash':
hosts => $myhost
}
You can specify more than 1 host to pass to the class e.g.
$hostlist = {
'firsthost.mydomain.com' => {'port' => '8080', 'protocol' => 'http', 'tag' => '1st', 'tagcolour' => '#336699', any_nagdash_setting => 'value', ....},
'secondhost.mydomain.com' => {'port' => '8080', 'protocol' => 'http', 'tag' => '2nd', 'tagcolour' => '#191919', any_nagdash_setting => 'value', ....}
}
class {'nagdash':
hosts => $hostlist
}
##Usage
###Classes and Defined Types
####Class: nagdash
One of the primary classes of the nagdash module. This class will install the nagdash binaries
Parameters within nagdash
:
#####webroot
The folder to run the Nagdash source code from. Defaults to /var/www/nagdash
#####repository_source
The git repository to check the source code out from. Please note there is no package to install from. Defaults to https://github.com/lozzd/Nagdash
#####repository_revision
The revision of the source code (e.g. tag, git commit etc) that you want to run. Defaults to latest
#####hosts
A list of nagios hosts to monitor.
##Reference
###Classes ####Public Classes
nagdash
: Guides the basic installation of the nagdash application
####Private Classes
- [
nagdash::config
] Manages all the default configuration of the nagdash application - [
nagdash::install
] Manages the installation of the nagdash - [
nagdash::service
] Manages the nagdash server service
##Limitations
This module is tested on the following platforms:
- CentOS 5
- CentOS 6
- Ubuntu 12.04
- Ubuntu 14.04
It is tested with the OSS version of Puppet only.
##Development
###Contributing
Please read CONTRIBUTING.md for full details on contributing to this project.
##2014-10-24 - Release 1.1.0 ###Summary
The release makes some changes to the config template to allow any params to be passed directly into the php
####Features
- added support for any per host config params to be passed through to the php config
##2014-10-10 - Release 1.0.0 ###Summary
Bring module up to 1.0 standard. Improved documentation and testing.
##2014-05-08 - Release 0.1.1 ###Summary
Bugfix release
####Bugfixes
- fixing broken nginx symlink
- adding missing git package dependency
##2014-05-06 - Release 0.1.0 ###Summary
Initial release. Support for installing and configuring nagdash
Dependencies
- puppetlabs/stdlib (>= 3.0.0 <5.0.0)
- puppetlabs/vcsrepo (>= 1.0.0 <2.0.0)
- puppetlabs/inifile (>= 1.0.0 <2.0.0)
Copyright (c) 2014 OpenTable, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.