---
name: "ocf_heartbeat_proftpd"
section: "7"
platform: "linux"
package: "resource-agents"
version: "1:4.16.0-3+deb13u2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/ocf_heartbeat_proftpd"
---

# ocf\_heartbeat\_proftpd(7)

OCF Resource Agent compliant FTP script.

## NAME

ocf\_heartbeat\_proftpd - OCF Resource Agent compliant FTP script.

## SYNOPSIS

**proftpd** \[start \| stop \| monitor \| meta-data \| validate-all\]

## DESCRIPTION

This script manages Proftpd in an Active-Passive setup

## SUPPORTED PARAMETERS

**binary**

The Proftpd binary

(optional, string, default "/usr/sbin/proftpd")

**conffile**

The Proftpd configuration file name with full path. For example, "/etc/proftpd.conf"

(optional, string, default "/etc/proftpd.conf")

**pidfile**

The Proftpd PID file. The location of the PID file is configured in the Proftpd configuration file.

(optional, string, default "/var/run/proftpd.pid")

**curl\_binary**

The absolute path to the curl binary for monitoring with OCF\_CHECK\_LEVEL greater zero.

(optional, string, default "/usr/bin/curl")

**curl\_url**

The URL which is checked by curl with OCF\_CHECK\_LEVEL greater zero.

(optional, string, default "ftp://localhost/")

**test\_user**

The name of the ftp user for monitoring with OCF\_CHECK\_LEVEL greater zero.

(optional, string, default "test")

**test\_pass**

The password of the ftp user for monitoring with OCF\_CHECK\_LEVEL greater zero.

(optional, string, no default)

## 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: 60s.

**monitor**

Performs a detailed status check. Suggested minimum timeout: 20s. Suggested interval: 120s.

**validate-all**

Performs a validation of the resource configuration. Suggested minimum timeout: 20s.

**meta-data**

Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5s.

## EXAMPLE CRM SHELL

The following is an example configuration for a proftpd resource using the [**crm**(8)](/crm/8.md) shell:

```
primitive p_proftpd ocf:heartbeat:proftpd \
  op monitor depth="0" timeout="20s" interval="60s" \
  op monitor depth="10" timeout="20s" interval="120s"
```

## EXAMPLE PCS

The following is an example configuration for a proftpd resource using [**pcs**(8)](/pcs/8.md)

```
pcs resource create p_proftpd ocf:heartbeat:proftpd \
  op monitor OCF_CHECK_LEVEL="0" timeout="20s" interval="60s" \
  op monitor OCF_CHECK_LEVEL="10" timeout="20s" interval="120s"
```

## SEE ALSO

**http://clusterlabs.org/**

## AUTHOR

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