Source
const LLD_OVERRIDE_OPERATION_OBJECT_TRIGGER_PROTOTYPE = OPERATION_OBJECT_TRIGGER_PROTOTYPE;
<?php
/*
** Zabbix
** Copyright (C) 2001-2023 Zabbix SIA
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation; either version 2 of the License, or
** (at your option) any later version.
**
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** GNU General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with this program; if not, write to the Free Software
** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
**/
/**
* Constant values used in schema.
*/
class CXmlConstantValue {
// Values.
const ENABLED = 0;
const DISABLED = 1;
const XML_DEFAULT = IPMI_AUTHTYPE_DEFAULT;
const NONE = IPMI_AUTHTYPE_NONE;
const MD2 = IPMI_AUTHTYPE_MD2;
const MD5 = IPMI_AUTHTYPE_MD5;
const STRAIGHT = IPMI_AUTHTYPE_STRAIGHT;
const OEM = IPMI_AUTHTYPE_OEM;
const RMCP_PLUS = IPMI_AUTHTYPE_RMCP_PLUS;
const CALLBACK = IPMI_PRIVILEGE_CALLBACK;
const USER = IPMI_PRIVILEGE_USER;
const OPERATOR = IPMI_PRIVILEGE_OPERATOR;
const ADMIN = IPMI_PRIVILEGE_ADMIN;
// const OEM = IPMI_PRIVILEGE_OEM; // Duplicate.
const NO_ENCRYPTION = HOST_ENCRYPTION_NONE;
const TLS_PSK = HOST_ENCRYPTION_PSK;
const TLS_CERTIFICATE = HOST_ENCRYPTION_CERTIFICATE;
const NO = 0;
const YES = 1;
const ZABBIX = INTERFACE_TYPE_AGENT;
const SNMP = INTERFACE_TYPE_SNMP;
const IPMI = INTERFACE_TYPE_IPMI;
const JMX = INTERFACE_TYPE_JMX;
const INV_MODE_DISABLED = HOST_INVENTORY_DISABLED; // Duplicate.
const INV_MODE_MANUAL = HOST_INVENTORY_MANUAL;
const INV_MODE_AUTOMATIC = HOST_INVENTORY_AUTOMATIC;
const TRIGGER_EXPRESSION = ZBX_RECOVERY_MODE_EXPRESSION;
const TRIGGER_RECOVERY_EXPRESSION = ZBX_RECOVERY_MODE_RECOVERY_EXPRESSION;
const TRIGGER_NONE = ZBX_RECOVERY_MODE_NONE; // Duplicate.