ocf_heartbeat_proftpd — OCF Resource Agent compliant FTP script.
proftpd [ start | stop | monitor | meta-data | validate-all ]
binaryThe 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)
pidfileThe Proftpd PID file. The location of the PID file is configured in the Proftpd configuration file. (optional, string, default /var/run/proftpd.pid)
curl_binaryThe absolute path to the curl binary for monitoring with OCF_CHECK_LEVEL greater zero. (optional, string, default /usr/bin/curl)
curl_urlThe URL which is checked by curl with OCF_CHECK_LEVEL greater zero. (optional, string, default ftp://localhost/)
test_userThe name of the ftp user for monitoring with OCF_CHECK_LEVEL greater zero. (optional, string, default test)
test_passThe password of the ftp user for monitoring with OCF_CHECK_LEVEL greater zero. (optional, string, no default)
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.