diff options
Diffstat (limited to 'agents/ocf/HealthCPU.in')
-rwxr-xr-x | agents/ocf/HealthCPU.in | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/agents/ocf/HealthCPU.in b/agents/ocf/HealthCPU.in index 14e4b07..1a691a9 100755 --- a/agents/ocf/HealthCPU.in +++ b/agents/ocf/HealthCPU.in @@ -26,6 +26,7 @@ : ${OCF_FUNCTIONS:="${OCF_ROOT}/resource.d/heartbeat/.ocf-shellfuncs"} . "${OCF_FUNCTIONS}" : ${__OCF_ACTION:="$1"} +: ${OCF_RESKEY_dampening:="30s"} ####################################################################### @@ -196,9 +197,6 @@ fi if [ -z "${OCF_RESKEY_yellow_limit}" ] ; then OCF_RESKEY_yellow_limit=50 fi -if [ -z "${OCF_RESKEY_dampening}" ]; then - OCF_RESKEY_dampening="30s" -fi case "$__OCF_ACTION" in meta-data) meta_data |