---
name: "ocf_heartbeat_zabbixserver"
section: "7"
platform: "linux"
package: "resource-agents"
version: "1:4.16.0-3+deb13u2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/ocf_heartbeat_zabbixserver"
---

# ocf\_heartbeat\_zabbixserver(7)

Zabbix server resource agent

## NAME

ocf\_heartbeat\_zabbixserver - Zabbix server resource agent

## SYNOPSIS

**zabbixserver** \[start \| stop \| monitor \| meta-data \| validate-all\]

## DESCRIPTION

This is a Zabbix server Resource Agent for zabbix\_server monitoring daemon. See: http://www.zabbix.com/

## SUPPORTED PARAMETERS

**binary**

Location of the zabbix\_server binary.

(optional, string, default "zabbix\_server")

**pid**

Path to zabbix\_server pidfile. As it's created by daemon itself it must be the same as specified in the Zabbix configuration file with parameter 'PidFile='.

(unique, optional, string, default "/var/run/zabbix-server/zabbix\_server.pid")

**config**

Path to zabbix\_server configuration file. Assumed server default if not specified.

(unique, optional, string, no default)

## 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.

**validate-all**

Performs a validation of the resource configuration. Suggested minimum timeout: 20s.

**meta-data**

Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5s.

## EXAMPLE CRM SHELL

The following is an example configuration for a zabbixserver resource using the [**crm**(8)](/crm/8.md) shell:

```
primitive p_zabbixserver ocf:heartbeat:zabbixserver \
  op monitor timeout="20s" interval="10s" depth="0"
```

## EXAMPLE PCS

The following is an example configuration for a zabbixserver resource using [**pcs**(8)](/pcs/8.md)

```
pcs resource create p_zabbixserver ocf:heartbeat:zabbixserver \
  op monitor timeout="20s" interval="10s" OCF_CHECK_LEVEL="0"
```

## SEE ALSO

**http://clusterlabs.org/**

## AUTHOR

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