Git Product home page Git Product logo

puppet-nsclient's Introduction

puppet-nsclient

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

This is a module that will manage and install the NSClient on Windows servers from the official NSClient site.

Build Status

##Module Description Module that will install the NSClient on windows servers to be able to interact with Nagios and Icinga. It will also manage the list of hosts that the server can communicate with.

##Setup

###What nsclient affects

  • Installs a new package
  • Creates a new windows service

###Beginning with nsclient

Usage

To install nsclient with defaults:

include 'nsclient'

To install a different version:

class { 'nsclient':
  package_source_location => 'http://myhost.com',
  package_name            => 'NSClient++ (Win32)'
  package_source          => '0.3.1.msi'
}

In order to configure the nagios hosts to communicate with:

class { 'nsclient':
  allowed_hosts => ['10.21.0.0/22','10.21.4.0/22'],
}

in order to use proxy for downloading the package

class { 'nsclient':
  proxy_url => 'http://proxy.domain.local:8080',
}

##Usage

###Classes and Defined Types

####Class: nsclient One of the primary classes of the nsclient module. This class will install the nsclient binaries

Parameters within nsclient: #####allowed_hosts Array of hosts that your client can communicate with. You can use netmasks (/ syntax) or * to create ranges.

#####service_state Whether you want to nsclient service to start up. Defaults to running

#####service_enable Whether you want to nsclient service to start up at boot. Defaults to true

#####package_source_location This is the default site to download your package from (e.g. http://files.nsclient.org/stable)

#####package_source This is the source name of the package to be downloaded

#####package_name This is name of the package to download (e.g. NSCP-0.4.1.101-x64.msi)

#####download_destination This is the folder to where we need to download the NSCP Installer. Package cannot take a remote file source Because of Windows, we need to set this to be a top level directory (e.g. c:\temp) or we would need to recursively check the file path.

#####config_template This is the template to use as the config file.

#####proxy_url Specify a proxy url if needed for downloading the package

#####password Password used to authenticate against server

##Reference

###Classes ####Public Classes

  • nsclient: Guides the basic installation of the nsclient application

####Private Classes

  • [nsclient::config] Manages all the default configuration of the nsclient application
  • [nsclient::install] Manages the installation of the nsclient
  • [nsclient::service] Manages the nclient service

##Limitations

This module is tested on the following platforms:

  • Windows 2008 R2

It is tested with the OSS version of Puppet only.

##Development

###Contributing

Please read CONTRIBUTING.md for full details on contributing to this project.

puppet-nsclient's People

Contributors

adamcrews avatar alexjfisher avatar andrewwippler avatar bastelfreak avatar bbriggs avatar dan33l avatar derektamsen avatar dhollinger avatar dhoppe avatar ekohl avatar empi89 avatar haf avatar hdep avatar igalic avatar juniorsysadmin avatar liamjbennett avatar llowder avatar nibalizer avatar rnelson0 avatar sandra-thieme avatar stack72 avatar tragiccode avatar vinzent avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.