table of contents
OCF_HEARTBEAT_RSYSLO(7) | OCF resource agents | OCF_HEARTBEAT_RSYSLO(7) |
NAME¶
ocf_heartbeat_rsyslog - rsyslog resource agent
SYNOPSIS¶
rsyslog [start | stop | status | monitor | meta-data | validate-all]
DESCRIPTION¶
This script manages a rsyslog instance as an HA resource.
SUPPORTED PARAMETERS¶
configfile
(unique, required, string, no default)
rsyslog_binary
(optional, string, default "/sbin/rsyslogd")
start_opts
(optional, string, no default)
SUPPORTED ACTIONS¶
This resource agent supports the following actions (operations):
start
stop
status
monitor
meta-data
validate-all
EXAMPLE CRM SHELL¶
The following is an example configuration for a rsyslog resource using the crm(8) shell:
primitive p_rsyslog ocf:heartbeat:rsyslog \
params \
configfile=string \
op monitor depth="0" timeout="20s" interval="20s"
EXAMPLE PCS¶
The following is an example configuration for a rsyslog resource using pcs(8)
pcs resource create p_rsyslog ocf:heartbeat:rsyslog \
configfile=string \
op monitor OCF_CHECK_LEVEL="0" timeout="20s" interval="20s"
SEE ALSO¶
AUTHOR¶
ClusterLabs contributors (see the resource agent source for information about individual authors)
11/10/2024 | resource-agents 4.16.0-1 |