OCF_PACEMAKER_HEALTH(7)

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

okay so bestie, this is a page from the Pacemaker Configuration manual set, and honestly? it's a whole vibe. it's ocf_pacemaker_HealthSMART β€” the SMART health status agent. let's get into it 🩺✨


✨ NAME ✨

ocf_pacemaker_HealthSMART β€” SMART health status, like a little checkup for your drives πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

[OCF_RESKEY_state=string] [OCF_RESKEY_drives=string]
[OCF_RESKEY_devices=string] [OCF_RESKEY_temp_lower_limit=string]
[OCF_RESKEY_temp_upper_limit=string] [OCF_RESKEY_temp_warning=string]
[OCF_RESKEY_smartctl=string] [OCF_RESKEY_dampen=string]

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

so yeah, all those OCF_RESKEY_ params are optional in the synopsis, and then you call HealthSMART with one of those actions. slay 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

it's a system health agent! it checks the S.M.A.R.T. status of the drives you hand it and then updates the #health-smart attribute. that's the whole job. no cap, that's it. πŸ”₯


🌸 SUPPORTED PARAMETERS 🌸

  • OCF_RESKEY_state = string [/HealthSMART-.state] β€” State file πŸ’Ύ β€” this is where the resource state gets stored. location location location, yk?
  • OCF_RESKEY_drives = string [/dev/sda] β€” Drives to check πŸ” β€” the drive(s) you wanna check, as a SPACE separated list. pls enter the full path to the device, like "/dev/sda". don't be lazy about it πŸ™ˆ
  • OCF_RESKEY_devices = string β€” Device types 🧚 β€” the device type(s) to assume for the drive(s) being tested, also as a SPACE separated list.
  • OCF_RESKEY_temp_lower_limit = string [0] β€” Lower limit for the red smart attribute πŸ₯΅ β€” the lower limit of the temperature in deg C of the drive(s). if it dips below this limit, #health-smart goes red. literally red. 😭
  • OCF_RESKEY_temp_upper_limit = string [60] β€” Upper limit for red smart attribute πŸ”₯ β€” the upper limit of the temperature (the manpage says "if deg C", we're keeping it, it's iconic) of the drives(s). if the drive reports a temperature higher than this value, #health-smart goes red. too hot to handle fr fr.
  • OCF_RESKEY_temp_warning = string [5] β€” Deg C below/above the upper limits for yellow smart attribute πŸ’› β€” how many deg C below/above the upper/lower temp limits it takes before #health-smart flips to yellow. it's giving warning shot.
  • OCF_RESKEY_smartctl = string [/usr/sbin/smartctl] β€” The path to the smartctl program πŸ› οΈ β€” the path to smartctl, which is what actually queries the device health. gotta know where your tools live.
  • OCF_RESKEY_dampen = string [5s] β€” Dampening interval ⏳ β€” the time to wait (dampening) for further changes to occur. like a lil chill moment before reacting, we love a calm queen.

πŸ‘‘ AUTHOR πŸ‘‘

Andrew Beekhof <andrew@beekhof.net> β€” author. πŸ’œ


okay that's the whole page bestie, go forth and monitor those drives 🌈⭐

this was OCF_PACEMAKER_HEALTH(7) from the Pacemaker Configuration pages, dated 09/17/2026 β€” mwah, take care, bye πŸ’…πŸŽ€
πŸ“¦ where this page comes from