voxpupuli / puppet-augeasproviders_nagios Goto Github PK
View Code? Open in Web Editor NEWAugeas-based nagios types and providers for Puppet
License: Other
Augeas-based nagios types and providers for Puppet
License: Other
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
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'
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.