OCF_HEARTBEAT_PINGD(7)

πŸ’– ocf_heartbeat_pingd β€” the OCF resource agents manual, but make it a group chat πŸ’–

okay bestie, listen up, this is ocf_heartbeat_pingd from the OCF resource agents collection, and she's... she's going through something. we'll get to that. 🫢


✨ NAME ✨

ocf_heartbeat_pingd β€” she monitors connectivity to specific hosts or IP addresses (aka your "ping nodes"), and yes, she's deprecated, we're gonna talk about it. πŸ’€


🌈 SYNOPSIS 🌈

pingd [start | stop | monitor | meta-data | validate-all]

πŸŽ€ DESCRIPTION πŸŽ€

🚨 DEPRECATION WARNING: This agent is deprecated and may be removed from a future release. See the ocf:pacemaker:pingd resource agent for a supported alternative.

like, she still works, she's just on her way out the door. don't build your whole future on her, ok? 😭

So what does she actually do? This is a pingd Resource Agent. Her whole thing is that she records (in the CIB) the current number of ping nodes a node can connect to. that's it, that's the job. count the pings, write the number in the CIB, main character energy ✨


🌸 SUPPORTED PARAMETERS 🌸

okay these are the knobs and dials, every single one, no skipping, we're thorough here πŸ’…

  • pidfile β€” the PID file. (optional, string, default "/run/resource-agents/pingd-RESOURCE_ID")
  • user β€” the user we want to run pingd as. (optional, string, default "root")
  • dampen β€” the time to wait (dampening) before further changes occur. yes, it's spelled "dampen", we love her anyway. (optional, integer, default 1s)
  • set β€” the name of the instance_attributes set to place the value in. rarely needs to be specified. (optional, integer, no default)
  • name β€” the name of the attributes to set. this is the name you'll use in the constraints. (optional, integer, default pingd)
  • section β€” the section to place the value in. also rarely needs to be specified. (optional, integer, no default)
  • multiplier β€” the number by which to multiply the number of connected ping nodes by. math! ✨ (optional, integer, no default)
  • host_list β€” the list of ping nodes to count. defaults to all configured ping nodes. rarely needs to be specified. (optional, integer, no default)
  • ignore_deprecation β€” if set to true, suppresses the deprecation warning for this agent. (yes, you can mute her. iconic behavior honestly.) (optional, boolean, default false)

πŸ’… SUPPORTED ACTIONS πŸ’…

this resource agent supports the following actions (operations):

  1. start β€” starts the resource. suggested minimum timeout: 20s.
  2. stop β€” stops the resource. suggested minimum timeout: 20s.
  3. monitor β€” performs a detailed status check. suggested minimum timeout: 20s. suggested interval: 10s.
  4. meta-data β€” retrieves resource agent metadata (internal use only, bestie, don't touch). suggested minimum timeout: 5s.
  5. validate-all β€” performs a validation of the resource configuration. suggested minimum timeout: 20s.

πŸ¦‹ EXAMPLE CRM SHELL πŸ¦‹

here's an example config for a pingd resource using the crm(8) shell, verbatim, no cap:

primitive p_pingd ocf:heartbeat:pingd \
  op monitor depth="0" timeout="20s" interval="10s"

πŸ“ EXAMPLE PCS πŸ“

and here's the same vibe but for pcs(8):

pcs resource create p_pingd ocf:heartbeat:pingd \
  op monitor OCF_CHECK_LEVEL="0" timeout="20s" interval="10s"

🧚 SEE ALSO 🧚


πŸ’œ AUTHOR πŸ’œ

ClusterLabs contributors (see the resource agent source for information about individual authors) 🫢


and that's the whole page, bestie!! 🌈✨ this was OCF_HEARTBEAT_PINGD(7), from resource-agents UNKNOWN, dated 04/08/2026. love her, remember she's deprecated, and go use the supported alternative, mwah πŸ’–πŸ’…πŸŽ€

πŸ“¦ where this page comes from