summaryrefslogtreecommitdiff
path: root/manifests/service.pp
diff options
context:
space:
mode:
authorGabriel Filion <gabriel@koumbit.org>2011-04-27 15:46:58 -0400
committerGabriel Filion <lelutin@gmail.com>2012-04-10 00:09:15 -0400
commit7fb80fbecfa5a186846a2909bd1d6ada32ba21e1 (patch)
tree9ed1d2bf91f5914d2fad1c321c3247c3061f7757 /manifests/service.pp
parentdddff2316ee0ce0dab3540538de44a3829cc5c07 (diff)
Define check_load as a function of the nb of cpus
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
Diffstat (limited to 'manifests/service.pp')
0 files changed, 0 insertions, 0 deletions