Forge Home

nagios

This is module installs and configures nagios with nsca to monitor your application log of your java application to monitor logs of your java application please include the following files at you Java class path and define IP of nagios server at log4j.xml this files are available on files directory of this module 1.log4j.xml 2.log4j-1.2.16.jar 3.NagiosAppender-1.0.1-SNAPSHOT.jar 4.NagiosIncludeExcludeFilters.properties 5.nsca_send_clear.cfg

8,489 downloads

8,489 latest version

1.5 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.0.1 (latest)
released Jul 3rd 2014

Start using this module

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

Add this module to your Puppetfile:

mod 'BoxUpp-nagios', '0.0.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

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

Manually install this module globally with Puppet module tool:

puppet module install BoxUpp-nagios --version 0.0.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

BoxUpp/nagios — version 0.0.1 Jul 3rd 2014

Campaign_image #Nagios with nsca for Monitoring Java Application Logs

####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 nagios
  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

The nagios module handles installing, configuring, and running nagios across a range of operating systems and distributions.

##Module Description

The nagios module installs and configure nagios with nsca which monitors application logs through nagios.In order to monitor logs of your application please add following files at you Java class path and define IP of nagios server at log4j.xml this files are available on files directory of this module.

1.log4j.xml
2.log4j-1.2.16.jar
3.NagiosAppender-1.0.1-SNAPSHOT.jar
4.NagiosIncludeExcludeFilters.properties
5.nsca_send_clear.cfg

##Architecture

This module uses following architecture

Architecture

##Setup

###What nagios affects

  • Installs and configure nagios with nsca.
  • Configures localhost.cfg file according to your requuirement.

###Beginning with nagios

include 'nagios' is enough to get you up and running. If you wish to pass in parameters Setsing which servers to use, then:

node "puppet.vagrant.nagios.com" 
    {
        include nagios 
    }

##Usage

All interaction with the nagios module can do be done through the main nagios class. This means you can simply toggle the options in nagios to have full functionality of the module.

###Parameters

The following parameters are available in the nagios module:

####source_path

The is the directory from where the nagios module will get its setup files.

####node_hostname

Specify hostname for node you want to monitor.

####node_alias

Specify alias name for node you want to monitor.

####nagios_alias

Specify alias name of the server where nagios will be installed.

####node_ip

Specify IP for node you want to monitor.

####nagios_ip

Specify IP for server where nagios will be installed.

####node_grp_name

Specify group name for node you want to monitor.

####nagios_grp_name

Specify group name of the server where nagios will be installed.

####node_grp_alias

Specify alias group name for node you want to monitor.

####nagios_grp_alias

Specify alias group name of the server where nagios will be installed.

##Limitations

This module has been built on and tested against Puppet 2.7 and higher.

The module has been tested on:

  • RedHat Enterprise Linux 5/6
  • CentOS 5/6

##Development

Puppet Labs modules on the Puppet Forge are open projects, and community contributions are essential for keeping them great. We can’t access the huge number of platforms and myriad of hardware, software, and deployment configurations that Puppet is intended to serve.

We want to keep it as easy as possible to contribute changes so that our modules work in your environment. There are a few guidelines that we need contributors to follow so that we can have a chance of keeping on top of things.

You can read the complete module contribution guide on the Puppet Labs wiki.

###Contributors

The list of contributors can be found at: https://github.com/BoxUpp/Puppet-Modules/graphs

##Sites ####site :http://paxcel.net/ ####site :http://boxupp.com/