Giter Club home page Giter Club logo

puppet-augeasproviders_nagios's People

Contributors

bastelfreak avatar domcleal avatar igalic avatar raphink avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

puppet-augeasproviders_nagios's Issues

Tricky name

In the Readme you write:

This module provides a new type/provider for Puppet to read and modify nagios config files using the Augeas configuration library.

But actually, this module is to generate nrpe config files. I think you should change the name to augeasproviders_nrpe to avoid confusion.

Regards

duplicate command definitions breaks nrpe_command

When the /etc/nagios/nrpe.cfg contains two definitions of a command like this:

command[check_users]=/usr/lib64/nagios/plugins/check_users -w 5 -c 10
command[check_users]=/usr/lib64/nagios/plugins/check_users -w 5 -c 10

command[check_total_procs]=/usr/lib64/nagios/plugins/check_procs -w 150 -c 200
command[check_total_procs]=/usr/lib64/nagios/plugins/check_procs -w 800 -c 900

and puppet tries to define the command like this:

nrpe_command { 'check_users' :
  command => '/usr/lib64/nagios/plugins/check_users -w 5 -c 10',
}

nrpe_command { 'check_total_procs' :
  command => '/usr/lib64/nagios/plugins/check_procs -w 400 -c 500',
}

it silently, and persistently fails like this:

Notice: /Stage[main]/Profile::Drw::Nrpe/Nrpe_command[check_users]/command: command changed '' to '/usr/lib64/nagios/plugins/check_users -w 5 -c 10'

Notice: /Stage[main]/Profile::Drw::Nrpe/Nrpe_command[check_total_procs]/command: command changed '' to '/usr/lib64/nagios/plugins/check_procs -w 400 -c 500'

Update for augeasproviders_core 4.0.0

This module is limited to augeasproviders_core <= 3.0.0 yet augeasproviders_core 4.0.0 is currently released. I have not checked the breaking changes of augeasproviders_core's newest releases and may be able to create a pull request updating the compatibility if desired.

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.