OCF_PACEMAKER_HEALTH(7)

πŸ’– OCF_PACEMAKER_HEALTH(7) πŸ’–

okay so this is a page from the Pacemaker Configuration manual, bestie β€” yes, the whole ocf_pacemaker_HealthCPU situation. sit down, we're learning today 🫢


✨ NAME ✨

ocf_pacemaker_HealthCPU β€” literally just: System health CPU usage. that's the whole vibe check, it monitors your CPU's health and reports it back. πŸ’…


🌸 SYNOPSIS 🌸

[OCF_RESKEY_state=string] [OCF_RESKEY_yellow_limit=string]
[OCF_RESKEY_red_limit=string] [OCF_RESKEY_dampening=string]

HealthCPU [start | stop | monitor | reload-agent | meta-data |
validate-all]

so you can pass those params in the env, and the actions are start, stop, monitor, reload-agent, meta-data, validate-all. pick one, queen. πŸ‘‘


πŸ¦‹ DESCRIPTION πŸ¦‹

it's a system health agent that measures the CPU idling and updates the #health-cpu attribute. that's it. that's the job. it watches your CPU chill-time and writes the result into that attribute so the rest of the cluster knows what's up. no cap. ✨


πŸŽ€ SUPPORTED PARAMETERS πŸŽ€

  • OCF_RESKEY_state = string [/health-cpu-.state] β€” the state file πŸ“ β€” literally the location where you store the resource state in. that's where it lives.
  • OCF_RESKEY_yellow_limit = string [50] β€” lower limit for the yellow health attribute πŸ’› β€” this is a lower (!) limit of idle percentage that flips the health attribute to yellow. so like, #health-cpu goes yellow if the %idle of the CPU falls below 50%. yes, "lower" with the exclamation mark, they really wanted you to know it's the bottom, not the top, iykyk.
  • OCF_RESKEY_red_limit = string [10] β€” lower limit for the red health attribute ❀️πŸ”₯ β€” again a lower (!) limit of idle percentage, this time to switch the health attribute to red. i.e. #health-cpu goes red if the %idle of the CPU falls below 10%. at that point it's giving stressed main character energy fr fr.
  • OCF_RESKEY_dampening = string [30s] β€” the time to wait (dampening) in seconds for further changes before writing ⏳ β€” and yes, the original literally prints this exact sentence twice in a row, so here's the whole thing again because we do not skip details on this page: the time to wait (dampening) in seconds for further changes before writing. iconic of them honestly πŸ™ˆ

πŸ‘‘ AUTHOR πŸ‘‘

  • Andrew Beekhof <andrew@beekhof.net> β€” Author. give him his flowers, he wrote the thing. 🌸

ngl bestie, the whole page is four parameters and a vibe. but every single one of them is here, defaults and all β€” /health-cpu-.state, 50, 10, 30s. don't touch the numbers unless you mean it. πŸ’€

and that's the tea 🧚 this was Pacemaker Configuration, dated 09/17/2026 β€” mwah, go check your CPU's idle percentage, love you bye πŸ’œπŸŒˆ

πŸ“¦ where this page comes from