- Overview
- Module Description - What the module does and why it is useful
- Setup - The basics of getting started with [nrpe]
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
This module is deprecated an will no longer be maintained or updated. If you still need the functionality, we suggest you use pdxcat-nrpe and apply a hardened configuration.
This module provides a partial coverage of the SoC conditions for NRPE under Linux.
This module installs and configures NRPE on a Linux system. Further it will define a separate nrpe
user and create sudo rules in /etc/sudoers.d/nrpe
,
- Templates
- '/etc/nagios/nrpe.cfg'
- '/etc/sudoers.d/nrpe'
- Packages
- 'nrpe' (EPEL Repo has to be installed. Default for reponame is 'epel'.)
- 'nagios-plugins-nrpe' (check_nrpe -> Test of SSL handshake)
- Services
- 'nrpe' (The service will be restarted on configuration changes.)
- User / Groups
- 'nrpe'
- 'nagios'
- for base configuration include the class
secc_nrpe
- sudo has to be installed beforehand
nrpe.cfg
is placed in/etc/nagios/
nrpe
is placed in/etc/sudoers.d/
- if the NRPE user should run checks as root, set
nrpe_must_be_root = true
127.0.0.1
and172.29.70.2
are defaultallowed_hosts
innrpe.cfg
- if further
allowed_hosts
are needed, these can be specified in a list, eg.allowed_hosts => ['127.0.0.1', '192.168.0.1']
- if
server_address
is unspecified, the default IP (puppet-factipaddress
) is used - the SSL handshake can be checked with
/usr/lib64/nagios/plugins/check_nrpe <IP>
(Expected result: NRPEvXX)
- Classes
secc_nrpe
secc_nrpe::user
secc_nrpe::install
secc_nrpe::config
secc_nrpe::permissions
secc_nrpe::service
- This module was tested with CentOS6 and CentOS7
- Please document changes within the module using git commits
- Execution of tests:
bundler install
,bundler exec rake