CentBrokerCFG

CentBrokerCFG

class CentBrokerCFG(id_unique, name, instance)

This class represents a centreon broker configuration

Parameters
  • id_unique (int) – ID of the centreon broker configuration

  • name (str) – Name of the configuration

  • instance (str) – Instance that is linked to the centreon broker configuration

CentBrokerCFGParam

class CentBrokerCFGParam

This class represents the available parameters

CACHE_DIRECTORY = 'cache_directory'

Path for cache files (str)

CORRELATION_ACTIVATE = 'correlation_activate'

Enable correlation (bool)

DAEMON = 'daemon'

Link the configuration to sbd service (bool)

EVENT_QUEUE_MAX_SIZE = 'event_queue_max_size'

Event queue maximum size (when number is reached, temporary output will be used) (int)

FILENAME = 'filename'

Filename of the configuration (.xml extension) (str)

INSTANCE = 'instance'

Instance that is linked to the configuration (str)

NAME = 'name'

Name of the configuration (str)

CentBrokerCFGInputNature

class CentBrokerCFGInputNature

An enumeration.

FILE = 'file'
IPV4 = 'ipv4'
IPV6 = 'ipv6'

CentBrokerCFGOutputNature

class CentBrokerCFGOutputNature

An enumeration.

FILE = 'file'
IPV4 = 'ipv4'
IPV6 = 'ipv6'
RRD = 'rrd'
SQL = 'sql'
STORAGE = 'storage'

CentBrokerCFGLoggerNature

class CentBrokerCFGLoggerNature

An enumeration.

FILE = 'file'
MONITORING = 'monitoring'
STANDARD = 'standard'
SYSLOG = 'syslog'

CentBrokerCFGIOType

class CentBrokerCFGIOType

An enumeration.

INPUT = 'input'
LOGGER = 'logger'
OUTPUT = 'output'