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 the zabbix_server binary actually lives on your system. tell the agent where to find her.
    • (optional, string, default "zabbix_server")
  • pid β€” the path to the zabbix_server pidfile. 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 as PidFile=. like, they have to be the same string. periodt. 🚨
    • (unique, optional, string, default "/var/run/zabbix-server/zabbix_server.pid")
  • config β€” the path to the zabbix_server configuration 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 πŸ‘‘


πŸ’œ 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