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_pgagent - Controls pgagent

Author

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

Description

This is a pgagent Resource Agent.

Example Crm Shell

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

Example Pcs

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

Name

ocf_heartbeat_pgagent - Controls pgagent

See Also

Supported Actions

This resource agent supports the following actions (operations): start Starts the resource. Suggested minimum timeout: 5s. stop Stops the resource. Suggested minimum timeout: 5s. 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: 5s.

Supported Parameters

connection_string Connection string for pgagent. (optional, string, default "user=postgres host=/var/run/postgresql") user User to run pgagent as. (optional, string, default "postgres") options Options for pgagent. (optional, string, default "-r 1 -t 1")

Synopsis

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

See Also