ocf_heartbeat_zabbixserver man page

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: 20.

stop

Stops the resource. Suggested minimum timeout: 20.

monitor

Performs a detailed status check. Suggested minimum timeout: 20. Suggested interval: 10.

validate-all

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

meta-data

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

Example Crm Shell

The following is an example configuration for a zabbixserver resource using the crm(8) shell:

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

Example Pcs

The following is an example configuration for a zabbixserver resource using pcs(8)

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

See Also

http://www.linux-ha.org/wiki/zabbixserv…

Author

Linux-HA contributors (see the resource agent source for information about individual authors)

Info

02/09/2016 resource-agents UNKNOWN OCF resource agents