Forge Home

nsclient

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

14,425 downloads

9,855 latest version

3.4 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

  • 999.999.999 (latest)
  • 1.3.0
  • 1.2.1
  • 1.2.0
  • 1.1.0
  • 1.0.0
  • 0.0.2
  • 0.0.1
released Feb 21st 2014
This module has been deprecated by its author since Feb 28th 2020.

The author has suggested puppet-nsclient as its replacement.

Start using this module

Documentation

opentable/nsclient — version 0.0.1 Feb 21st 2014

Puppet-NSClient

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

Build Status

Usage

The module consists of a single class

include 'nsclient'

Unless specified, this will install the latest stable build (0.4.1.101) of the nsclient for x64 machines. If you want to install a different version, then you can tell the module to do so:

class { 'nsclient':
  package_source_location => 'http://myhost.com',
  package_name            => '0.3.1.msi'
}

The default location and default package version can be found in params.pp.

Setting Allowed Hosts

In order for our hosts to communicate back to Nagios / Icinga servers, we need to set the hosts. We can do this as follows:

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

Contribute:

  • Fork it
  • Create a branch
  • Improve/fix (with spec tests)
  • Push new branch
  • Submit a PR