OCF_HEARTBEAT_RSYSLO(7)

✨ ocf_heartbeat_rsyslog ✨

okay bestie, so this is the manual page for OCF_HEARTBEAT_RSYSLO(7) β€” the rsyslog resource agent πŸ’– it lives in section 7 of the manual, and it's genuinely one of the cutest little RAs out there, no cap.


πŸŽ€ NAME πŸŽ€

ocf_heartbeat_rsyslog β€” the rsyslog resource agent. that's it, that's the whole vibe πŸ¦‹


🌸 SYNOPSIS 🌸

rsyslog [start | stop | status | monitor | meta-data | validate-all]

like. it takes one of those six actions and that's the whole interface. simple. iconic. periodt πŸ’…


πŸ’« DESCRIPTION πŸ’«

This script manages a rsyslog instance as an HA resource.

fr fr, that's the whole thing β€” you hand it a rsyslog, it keeps that rsyslog alive and behaving inside your cluster. main character energy for a logging daemon 🫢


✨ SUPPORTED PARAMETERS ✨

okay so these are the knobs you can turn. read them carefully, they matter πŸ‘‘

  • configfile β€” this one specifies a configuration file for a rsyslog instance managed by this RA. it's unique, required, a string, and it has no default β€” so like, you genuinely have to give it one. no skipping, bestie 😭
  • rsyslog_binary β€” this one specifies rsyslog's executable file. it's optional, a string, and it defaults to /sbin/rsyslogd πŸ“
  • start_opts β€” this one specifies startup options for a rsyslog instance managed by this RA. when no value is given, no startup options is used. Don't use option -F. it causes a stuck of a start action. like literally do not. it will ruin your whole afternoon πŸ’€
the way that -F is right there and you just have to not use it. iykyk πŸ™ˆ

🌈 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: 60s πŸ›‘
  • status β€” performs a status check. suggested minimum timeout: 20s πŸ”
  • monitor β€” performs a detailed status check. suggested minimum timeout: 20s, suggested interval: 20s πŸ‘€
  • 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 βœ…

🧚 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"

look at her. depth="0". she's perfect πŸ’œ


πŸ¦‹ 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"

same energy, different CLI. note that pcs says OCF_CHECK_LEVEL where crm says depth β€” that's just how they talk, don't stress it πŸ’–


πŸ’… SEE ALSO πŸ’…

go. click. absorb the lore 🌈


πŸ‘‘ AUTHOR πŸ‘‘

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

the whole squad contributed, we don't name names in the manpage, the source has the receipts 🫢


this page came from resource-agents, version UNKNOWN, dated 04/08/2026 β€” and yes i know the version literally says UNKNOWN, we don't talk about it 😭 slay tho πŸ’–βœ¨
πŸ“¦ where this page comes from