Centreon Engine Configuration

CentEngineCFG

class CentEngineCFG(id_unique, name, instance, comment)

This class represents a centreon engine configuration

Parameters
  • id_unique (int) – ID of the centreon engine

  • name (str) – Name of the centreon configuration

  • instance (str) – Instance that is linked to centreon-engine.cfg

  • comment (str) – Comments regarding centreon configuration file

CentEngineCFGParam

class CentEngineCFGParam

An enumeration.

ACCEPT_PASSIVE_HOST_CHECKS = 'accept_passive_host_checks'
ACCEPT_PASSIVE_SERVICE_CHECKS = 'accept_passive_service_checks'
ACTIVATE = 'nagios_activate'
ADDITIONAL_FRESHNESS_LATENCY = 'additional_freshness_latency'
ADMIN_EMAIL = 'admin_email'
ADMIN_PAGER = 'admin_pager'
AUTO_RESCHEDULE_CHECKS = 'auto_reschedule_checks'
AUTO_RESCHEDULE_WINDOW = 'auto_rescheduling_window'
AUTO_RESCHEDULING_INTERVAL = 'auto_rescheduling_interval'
BROKER_MODULE = 'broker_module'
CACHED_HOST_CHECK_HORIZON = 'cached_host_check_horizon'
CACHED_SERVICE_CHECK_HORIZON = 'cached_service_check_horizon'
CHECK_EXTERNAL_COMMANDS = 'check_external_commands'
CHECK_FOR_ORPHANED_HOSTS = 'check_for_orphaned_hosts'
CHECK_FOR_ORPHANED_SERVICES = 'check_for_orphaned_services'
CHECK_HOST_FRESHNESS = 'check_host_freshness'
CHECK_RESULT_PATH = 'check_result_path'
CHECK_RESULT_REAPER_FREQUENCY = 'check_result_reaper_frequency'
CHECK_SERVICE_FRESHNESS = 'check_service_freshness'
CHILD_PROCESSES_FORK_TWICE = 'child_processes_fork_twice'
COMMAND_CHECK_INTERVAL = 'command_check_interval'
COMMAND_FILE = 'command_file'
COMMENT = 'nagios_comment'
DATE_FORMAT = 'date_format'
DEBUG_FILE = 'debug_file'
DEBUG_LEVEL = 'debug_level'
DEBUG_LEVEL_OPT = 'debug_level_opt'
DEBUG_VERBOSITY = 'debug_verbosity'
ENABLE_ENVIRONMENT_MACROS = 'enable_environment_macros'
ENABLE_EVENT_HANDLERS = 'enable_event_handlers'
ENABLE_FLAP_DETECTION = 'enable_flap_detection'
ENABLE_NOTIFICATIONS = 'enable_notifications'
ENABLE_PREDICTIVE_HOST_DEPENDENCY_CHECKS = 'enable_predictive_host_dependency_checks'
ENABLE_PREDICTIVE_SERVICE_DEPENDENCY_CHECKS = 'enable_predictive_service_dependency_checks'
EVENT_BROKER_OPTIONS = 'event_broker_options'
EVENT_HANDLER_TIMEOUT = 'event_handler_timeout'
EXECUTE_HOST_CHECKS = 'execute_host_checks'
EXECUTE_SERVICE_CHECKS = 'execute_service_checks'
FREE_CHILD_PROCESS_MEMORY = 'free_child_process_memory'
GLOBAL_HOST_EVENT_HANDLER = 'global_host_event_handler'
GLOBAL_SERVICE_EVENT_HANDLER = 'global_service_event_handler'
HIGH_HOST_FLAP_THRESHOLD = 'high_host_flap_threshold'
HIGH_SERVICE_FLAP_THRESHOLD = 'high_service_flap_threshold'
HOST_CHECK_TIMEOUT = 'host_check_timeout'
HOST_FRESHNESS_CHECK_INTERVAL = 'host_freshness_check_interval'
HOST_INTER_CHECK_DELAY_METHOD = 'host_inter_check_delay_method'
HOST_PERFDATA_COMMAND = 'host_perfdata_command'
HOST_PERFDATA_FILE = 'host_perfdata_file'
HOST_PERFDATA_FILE_MODE = 'host_perfdata_file_mode'
HOST_PERFDATA_FILE_PROCESSING_COMMAND = 'host_perfdata_file_processing_command'
HOST_PERFDATA_FILE_PROCESSING_INTERVAL = 'host_perfdata_file_processing_interval'
HOST_PERFDATA_FILE_TEMPLATE = 'host_perfdata_file_template'
ILLEGAL_MACRO_OUTPUT_CHARS = 'illegal_macro_output_chars'
ILLEGAL_OBJECT_NAME_CHARS = 'illegal_object_name_chars'
INTERVAL_LENGTH = 'interval_length'
LOCK_FILE = 'lock_file'
LOG_ARCHIVE_PATH = 'log_archive_path'
LOG_EVENT_HANDLERS = 'log_event_handlers'
LOG_EXTERNAL_COMMANDS = 'log_external_commands'
LOG_FILE = 'log_file'
LOG_HOST_RETRIES = 'log_host_retries'
LOG_INITIAL_STATE = 'log_initial_states'
LOG_NOTIFICATIONS = 'log_notifications'
LOG_PASSIVE_CHECKS = 'log_passive_checks'
LOG_SERVICE_RETRIES = 'log_service_retries'
LOW_HOST_FLAP_THRESHOLD = 'low_host_flap_threshold'
LOW_SERVICE_FLAP_THRESHOLD = 'low_service_flap_threshold'
MAX_CHECK_RESULT_FILE_AGE = 'max_check_result_file_age'
MAX_CHECK_RESULT_REAPER_TIME = 'max_check_result_reaper_time'
MAX_CONCURRENT_CHECKS = 'max_concurrent_checks'
MAX_DEBUG_FILE_SIZE = 'max_debug_file_size'

DEPRECATED AND IGNORED

MAX_HOST_CHECK_SPREAD = 'max_host_check_spread'
MAX_SERVICE_CHECK_SPREAD = 'max_service_check_spread'
NAGIOS_ACTIVATE = 'nagios_activate'
NAME = 'nagios_name'
NOTIFICATION_TIMEOUT = 'notification_timeout'
OBJECT_CONFIGURATION_DIR = 'cfg_dir'
OBJECT_CONFIGURATION_FILE = 'cfg_file'
OBSESS_OVER_HOSTS = 'obsess_over_hosts'
OBSESS_OVER_SERVICES = 'obsess_over_services'
OCHP_COMMAND = 'ochp_command'
OCHP_TIMEOUT = 'ochp_timeout'
OCSP_TIMEOUT = 'ocsp_timeout'
OSCP_COMMAND = 'ocsp_command'
PASSIVE_HOST_CHECKS_ARE_SOFT = 'passive_host_checks_are_soft'
PERFDATA_TIMEOUT = 'perfdata_timeout'
PROCESS_PERFORMANCE_DATA = 'process_performance_data'
RETAINED_CONTACT_HOST_ATTRIBUTE_MASK = 'retained_contact_host_attribute_mask'
RETAINED_CONTACT_SERVICE_ATTRIBUTE_MASK = 'retained_contact_service_attribute_mask'
RETAINED_HOST_ATTRIBUTE_MASK = 'retained_host_attribute_mask'
RETAINED_PROCESS_HOST_ATTRIBUTE_MASK = 'retained_process_host_attribute_mask'
RETAINED_PROCESS_SERVICE_ATTRIBUTE_MASK = 'retained_process_service_attribute_mask'
RETAINED_SERVICE_ATTRIBUTE_MASK = 'retained_service_attribute_mask'
RETAIN_STATE_INFORMATION = 'retain_state_information'
RETENTION_UPDATE_INTERVAL = 'retention_update_interval'
SERVICE_CHECK_TIMEOUT = 'service_check_timeout'
SERVICE_FRESHNESS_CHECK_INTERVAL = 'service_freshness_check_interval'
SERVICE_INTERLEAVE_FACTOR = 'service_interleave_factor'
SERVICE_INTER_CHECK_DELAY_METHOD = 'service_inter_check_delay_method'
SERVICE_PERFDATA_COMMAND = 'service_perfdata_command'
SERVICE_PERFDATA_FILE = 'service_perfdata_file'
SERVICE_PERFDATA_FILE_MODE = 'service_perfdata_file_mode'
SERVICE_PERFDATA_FILE_PROCESSING_COMMAND = 'service_perfdata_file_processing_command'
SERVICE_PERFDATA_FILE_PROCESSING_INTERVAL = 'service_perfdata_file_processing_interval'
SERVICE_PERFDATA_FILE_TEMPLATE = 'service_perfdata_file_template'
SLEEP_TIME = 'sleep_time'
SOFT_STATE_DEPENDENCIES = 'soft_state_dependencies'
STATE_RETENTION_FILE = 'state_retention_file'
STATUS_FILE = 'status_file'
TEMP_FILE = 'temp_file'
TRANSLATE_PASSIVE_HOST_CHECKS = 'translate_passive_host_checks'
USE_AGRESSIVE_HOST_CHECKING = 'use_aggressive_host_checking'
USE_CHECK_RESULT_PATH = 'use_check_result_path'
USE_LARGE_INSTALLATION_TWEAKS = 'use_large_installation_tweaks'
USE_REGEXP_MATCHING = 'use_regexp_matching'
USE_RETAINED_PROGRAM_STATE = 'use_retained_program_state'
USE_RETAINED_SCHEDULING_INFO = 'use_retained_scheduling_info'
USE_SETGPIG = 'use_setpgid'
USE_SYSLOG = 'use_syslog'
USE_TIMEZONE = 'use_timezone'
USE_TRUE_REGEXP_MATCHING = 'use_true_regexp_matching'