logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

ocf_heartbeat_pingd - Monitors connectivity to specific hosts or IP addresses ("ping nodes") (deprecated)

Author

ClusterLabscontributors(seetheresourceagentsourceforinformationaboutindividualauthors) resource-agents 4.16.0-3ubuntu 06/25/2025 OCF_HEARTBEAT_PINGD(7)

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. -- This is a pingd Resource Agent. It records (in the CIB) the current number of ping nodes a node can connect to.

Example Crm Shell

The following is an example configuration for a pingd resource using the crm(8) shell: primitive p_pingd ocf:heartbeat:pingd \ op monitor depth="0" timeout="20s" interval="10s"

Example Pcs

The following is an example configuration for a pingd resource using pcs(8) pcs resource create p_pingd ocf:heartbeat:pingd \ op monitor OCF_CHECK_LEVEL="0" timeout="20s" interval="10s"

Name

ocf_heartbeat_pingd - Monitors connectivity to specific hosts or IP addresses ("ping nodes") (deprecated)

See Also

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). Suggested minimum timeout: 5s. validate-all Performs a validation of the resource configuration. Suggested minimum timeout: 20s.

Supported Parameters

pidfile 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) further changes occur (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 to be used in the constraints. (optional, integer, default pingd) section The section place the value in. Rarely needs to be specified. (optional, integer, no default) multiplier The number by which to multiply the number of connected ping nodes by (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. (optional, boolean, default false)

Synopsis

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

See Also