summaryrefslogtreecommitdiff
path: root/manifests/nrpe
AgeCommit message (Collapse)Author
2012-04-10make the nrpe service depend on the packageAntoine Beaupre
2012-04-10default processorcount to 1 if it is not presentAntoine Beaupre
2012-04-10Add a nagios::nrpe::xinetd classGabriel Filion
We don't really manage everything with this class (e.g. not the config for running NRPE under xinetd). We ensure that the nrpe service is not running since xinetd is the one that's supposed to spawn nrpe. This way we can manage the NRPE config and commands, but it does not conflict with xinetd.
2012-04-10nrpe: bump up multipliers for check_loadGabriel Filion
The CPU checks were fireing way too often. Bump up the multipliers to reduce the number of alerts.
2012-04-10Define check_load as a function of the nb of cpusGabriel Filion
The "check_load" nagios check should not be hardcoded to some arbitrary value. The thresholds should rather be adjusted in function of how many CPUs are present in the server. The factors were chosen by prior experience but could be adjusted if needed. Factors for warning thresholds (where N is the nb of cpus): * 1min : 5 * N * 5mins : 4 * N * 15mins : 3 * N Factors for critical thresholds: * 1min : 10 * N * 5mins : 9 * N * 15mins : 8 * N
2012-04-09Avoid the "libnagios-plugin-perl" package for lennyGabriel Filion
This package doesn't exist on lenny.
2012-04-09nrpe FreeBSD compatibilityGabriel Filion
Make some changes to ensure compatibility of the nrpe resources with FreeBSD. * Use group 0 instead of 'root' * capitalize values for testing $operatingsystem * override arguments for the nrpe service so that FreeBSD can find the init script
2012-04-09Fix nagios::nrpe::command for FreeBSDGabriel Filion
The 'command' resource defines files under the root group. Since the 'root' group does not exist by default on FreeBSD, make an exception for FreeBSD to use the 'wheel' group instead.
2012-04-09Add NRPE support for FreeBSDGabriel Filion
Configuration needs to be placed in a different directory in FreeBSD. Some packages are not named the same under FreeBSD. Some packages are not available under FreeBSD. Migrate those to a new nagios::nrpe::linux class so that FreeBSD does not take them into account.
2012-04-09Define a way to configure an NRPE commandGabriel Filion
We need to be able to configure what NRPE commands are defined on clients. This new method accepts inline contents or a puppet source argument. Signed-off-by: Gabriel Filion <lelutin@gmail.com>