Git Product home page Git Product logo

puppet-nagios-nrpe's People

Contributors

averni avatar dbunskoek avatar jbouse avatar proletaryo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

puppet-nagios-nrpe's Issues

AWS Linux don't use osfamily=RedHat

message = Error: Can't set the pid file, Linux is not supported!

[ec2-user@ip-10-136-11-xx ~]$ facter osfamily
Linux
[ec2-user@ip-10-136-11-xx ~]$ facter operatingsystem
Amazon

rpmforge race condition

on AWS Linux. If rpmforge is not installed yet, it's possible that nrpe installation will go first before rpmfoge.

Result: yum will raise a can't find nagios-nrpe error

Note: nrpe installation succeeds on succeeding runs

Support for Scientific Linux

Hi,

could you add support for Scientifc Linux ? It's likely a simple matter of matching ::operatingsystem with "Scientific" and apply same code as for Centos and RHEL.

Cheers

Question about data format

I'm having some issue getting the nrpe module to generate service check commands.
What format should I use the default value box.

It starts out as a hash with --- {} in the box. When I put text in the box and save it gets translated as follows:

"check_RootLV,/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /":

This generates

command[check_RootLV,/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /]=

What am I missing here?

Problem with virtual package ?

Hi,

I'm french, sorry for my bad english :) Your script is very good but I have a problem with virtual package:

/package[nagios-nrpe-server]: Provider apt does not support features virtual_packages; not managing attribute allow_virtual
/package[nagios-plugins-basic]: Provider apt does not support features virtual_packages; not managing attribute allow_virtual
/package[nagios-plugins]: Provider apt does not support features virtual_packages; not managing attribute allow_virtual

Can you help me ?
Jérémy

undefined method `function_is_bool'

I'm getting the error message:

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: undefined method `function_is_bool' for Scope(Class[Nrpe]):Puppet::Parser::Scope at /etc/puppet/modules/nrpe/manifests/init.pp:65 on node

When I look at that line in the module:

validate_bool($enable, $dont_blame_nrpe, $opsview_use)

Now, I've used validate_bool lots, and it is very odd that I'm getting this now especially against such a simple thing.

I'm using the module in this manner:

class { 'nrpe':
  ensure        => running,
  allowed_hosts => [
    'nagios-01.<REDACTED_DOMAIN>',
    'nagios-02.<REDACTED_DOMAIN>',
    'nagios-03.<REDACTED_DOMAIN>'],
  service_check_command => {
    'check_load'       => '/usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20',
    'check_sys_disk'   => '/usr/lib/nagios/plugins/check_disk -w 20% -c 10% -p /',
    'check_raid'       => '/usr/lib/nagios/plugins/check_raid',
    'check_<REDACTED>' => '/usr/lib/nagios/plugins/check_procs -u root -a <REDACTED> -c 1:1',
  },
  enable        => true,
  before        => Vcsrepo['custom_nagios_checks'],
}

Module information:
proletaryo-nrpe (v1.3.0)
puppetlabs-stdlib (v4.5.0)

OS: Debian 7.7
Puppet: 3.7.3-1puppetlabs1

Possible enhancements / issue

Some things to consider:

  • allow option to disable parameter passing (dont_blame_nrpe=0)
  • Make it non-Opsview specific - disable the default command definitions or provide a way to toggle it off

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.