OCF_HEARTBEAT_CLUSTE(7)
β¨ ocf_heartbeat_ClusterMon β it's giving cluster status, but make it HTML π
okay bestie, so this one lives in the OCF resource agents section of the manual β that's the OCF_HEARTBEAT_CLUSTE(7) page, and it's all about a little resource agent called ocf_heartbeat_ClusterMon. π¦
πΈ NAME πΈ
ocf_heartbeat_ClusterMon β she runs crm_mon in the background and writes your cluster status into an HTML file. no cap, that's the whole job. π
β¨ SYNOPSIS β¨
ClusterMon [start | stop | monitor | meta-data | validate-all]
like. pick one of those actions and go, babe. π
π DESCRIPTION π
This is the ClusterMon Resource Agent. It outputs the current cluster status to the html. that's it, that's the vibe. she's not complicated, she's just consistent. π«Ά
π SUPPORTED PARAMETERS π
userβ the user we want to runcrm_monas.
(optional, string, default "root")
updateβ how frequently should we update the cluster status? the lil refresh rate, basically. β°
(optional, integer, default 15000)
extra_optionsβ additional options to pass tocrm_mon. eg.-n -r. go off, add whatever you need. π₯
(optional, string, no default)
pidfileβ PID file location, to make sure only one instance is running at a time. no duplicate main characters here, periodt. π
(unique, optional, string, default "/run/resource-agents/ClusterMon_RESOURCE_ID.pid")
htmlfileβ location to write the HTML output to. this is where the magic lands. β¨
(unique, optional, string, default "/run/resource-agents/ClusterMon_RESOURCE_ID.html")
π 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:10s. she's watching. always watching. π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:30s.
π EXAMPLE CRM SHELL π
here's an example config for a ClusterMon resource using the crm(8) shell:
primitive p_ClusterMon ocf:heartbeat:ClusterMon \
op monitor depth="0" timeout="20s" interval="10s"
copy it exactly, bestie, don't freestyle on the flags. π
π§ EXAMPLE PCS π§
and here's the same energy for a ClusterMon resource using pcs(8):
pcs resource create p_ClusterMon ocf:heartbeat:ClusterMon \
op monitor OCF_CHECK_LEVEL="0" timeout="20s" interval="10s"
(notice depth="0" over in crm land becomes OCF_CHECK_LEVEL="0" here β iykyk π
)
β SEE ALSO β
π AUTHOR π
ClusterLabs contributors (see the resource agent source for information about individual authors). love that for them. π
and that's the whole page, fr fr. go write some HTML, you icon. πΈ
mwah π this was brought to you by resource-agents version UNKNOWN, dated 04/08/2026 β from the OCF_HEARTBEAT_CLUSTE(7) page, of course. slay, stay clustered, bye bestie π¦β¨
π¦ where this page comes from
- fedora 43: resource-agents 4.18.0-1.fc43 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- fedora 44: resource-agents 4.18.0-1.fc44 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms