---
name: "ocf_pacemaker_ping"
section: "7"
platform: "linux"
package: "pacemaker-resource-agents"
version: "3.0.0-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/ocf_pacemaker_ping"
---

# ocf\_pacemaker\_ping(7)

node connectivity

## NAME

ocf\_pacemaker\_ping - node connectivity

## SYNOPSIS

\[**OCF\_RESKEY\_pidfile**=string\] \[**OCF\_RESKEY\_dampen**=integer\] \[**OCF\_RESKEY\_name**=string\] \[**OCF\_RESKEY\_multiplier**=integer\] \[**OCF\_RESKEY\_host\_list**=string\] \[**OCF\_RESKEY\_attempts**=integer\] \[**OCF\_RESKEY\_timeout**=integer\] \[**OCF\_RESKEY\_options**=string\] \[**OCF\_RESKEY\_failure\_score**=integer\] \[**OCF\_RESKEY\_use\_fping**=boolean\] \[**OCF\_RESKEY\_debug**=string\]

**ping** \[start \| stop \| monitor \| meta-data \| validate-all \| reload-agent\]

## DESCRIPTION

Every time the monitor action is run, this resource agent records (in the CIB) the current number of nodes the host can connect to using the system fping (preferred) or ping tool.

## SUPPORTED PARAMETERS

**OCF\_RESKEY\_pidfile** = string \[/ping-\]

PID file

**OCF\_RESKEY\_dampen** = integer \[5s\]

Dampening interval

The time to wait (dampening) further changes occur

**OCF\_RESKEY\_name** = string \[pingd\]

Attribute name

The name of the attributes to set. This is the name to be used in the constraints.

**OCF\_RESKEY\_multiplier** = integer \[1\]

Value multiplier

The number by which to multiply the number of connected ping nodes by

**OCF\_RESKEY\_host\_list** = string \[\]

Host list

A space separated list of ping nodes to count.

**OCF\_RESKEY\_attempts** = integer \[3\]

no. of ping attempts

Number of ping attempts, per host, before declaring it dead

**OCF\_RESKEY\_timeout** = integer \[2\]

ping timeout in seconds

How long, in seconds, to wait before declaring a ping lost

**OCF\_RESKEY\_options** = string \[\]

Extra Options

A catch all for any other options that need to be passed to ping.

**OCF\_RESKEY\_failure\_score** = integer \[\]

failure\_score

Resource is failed if the score is less than failure\_score. Default never fails.

**OCF\_RESKEY\_use\_fping** = boolean \[1\]

Use fping if available

Use fping rather than ping, if found. If set to 0, fping will not be used even if present.

**OCF\_RESKEY\_debug** = string \[false\]

Verbose logging

Enables to use default attrd\_updater verbose logging on every call.

## AUTHOR

**Andrew Beekhof** \<andrew@beekhof.net\>

Author.
