OCF_HEARTBEAT_ZABBIX(7)
π ocf_heartbeat_zabbixserver π
okay bestie, welcome to the OCF_HEARTBEAT_ZABBIX page, from the OCF resource agents manual collection. sit down, grab a strawberry π, and let's get into it.
β¨ NAME β¨
ocf_heartbeat_zabbixserver β the Zabbix server resource agent. that's the whole vibe. she monitors your Zabbix server, and she does it well. π
π SYNOPSIS π
zabbixserver [start | stop | monitor | meta-data | validate-all]
look at her. five little actions. so simple. so iconic. π
π¦ DESCRIPTION π¦
so this right here is a Zabbix server Resource Agent β made for the zabbix_server monitoring daemon. like, she's the cluster's bestie whose entire job is keeping an eye on that daemon so your cluster knows what's up.
want the full lore? go look: http://www.zabbix.com/ β no cap, it's all there. π
π SUPPORTED PARAMETERS π
these are the lil knobs you can turn. every single one matters, so pay attention bestie, not me skipping any of them. π
binaryβ where thezabbix_serverbinary actually lives on your system. tell the agent where to find her.- (optional, string, default
"zabbix_server")
- (optional, string, default
pidβ the path to thezabbix_serverpidfile. and listen, this one's important: because the daemon creates that file itself, this path must match whatever you put in the Zabbix config file asPidFile=. like, they have to be the same string. periodt. π¨- (unique, optional, string, default
"/var/run/zabbix-server/zabbix_server.pid")
- (unique, optional, string, default
configβ the path to thezabbix_serverconfiguration file. if you don't specify it, it just assumes the server default. very chill of her. π§- (unique, optional, string, no default)
π« SUPPORTED ACTIONS π«
this resource agent supports the following actions (aka operations). one bullet each, because we respect the list:
startβ starts the resource. suggested minimum timeout: 20s. get her up and running, slay. β¨stopβ stops the resource. suggested minimum timeout: 20s. sometimes you gotta let her rest. π΄monitorβ does a detailed status check. suggested minimum timeout: 20s. suggested interval: 10s. she's nosy and we love that. πvalidate-allβ validates the resource configuration. suggested minimum timeout: 20s. making sure everything's giving what it's supposed to give. βmeta-dataβ retrieves resource agent metadata (internal use only, bestie, don't touch). suggested minimum timeout: 5s. π«£
πΈ EXAMPLE CRM SHELL πΈ
here's what a zabbixserver resource looks like configured with the crm(8) shell. copy it exactly, don't freestyle:
primitive p_zabbixserver ocf:heartbeat:zabbixserver \
op monitor timeout="20s" interval="10s" depth="0"
see? clean. elegant. ate. π
π§ EXAMPLE PCS π§
and here's the same energy but with pcs(8):
pcs resource create p_zabbixserver ocf:heartbeat:zabbixserver \
op monitor timeout="20s" interval="10s" OCF_CHECK_LEVEL="0"
notice the OCF_CHECK_LEVEL="0" in there β that's the pcs way of doing it. don't mix them up, iykyk. π«Ά
π SEE ALSO π
- http://clusterlabs.org/ β go say hi, they're lovely. π
π AUTHOR π
ClusterLabs contributors β see the resource agent source for information about individual authors. (they're the ones who built this, show some respect fr fr π)
and that's the whole page, bestie!! you understood it, you're basically a cluster admin now, main character energy only. π
this was resource-agents version UNKNOWN, dated 04/08/2026, and it's the OCF_HEARTBEAT_ZABBIX(7) page β love that for us. byeee π¦β¨
π¦ 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