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, default1s)setβ the name of theinstance_attributesset 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, defaultpingd)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 totrue, suppresses the deprecation warning for this agent. (yes, you can mute her. iconic behavior honestly.) (optional, boolean, defaultfalse)
π SUPPORTED ACTIONS π
this resource agent supports the following actions (operations):
startβ starts the resource. suggested minimum timeout:20s.stopβ stops the resource. suggested minimum timeout:20s.monitorβ performs a detailed status check. suggested minimum timeout:20s. suggested interval:10s.meta-dataβ retrieves resource agent metadata (internal use only, bestie, don't touch). suggested minimum timeout:5s.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 π§
http://clusterlabs.org/β go say hi π
π 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
- fedora 43: resource-agents 4.18.0-1.fc43 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- fedora 44: resource-agents 4.18.0-1.fc44 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms