Source
const SNMPV1 = 'SNMPV1'; // Used by item type in 4.4 and as interface SNMP version in 5.0.
<?php
/*
** Zabbix
** Copyright (C) 2001-2022 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 names what we used in schema.
*/
class CXmlConstantName {
const ENABLED = 'ENABLED';
const DISABLED = 'DISABLED';
const XML_DEFAULT = 'DEFAULT';
const NONE = 'NONE';
const MD2 = 'MD2';
const MD5 = 'MD5';
const STRAIGHT = 'STRAIGHT';
const OEM = 'OEM';
const RMCP_PLUS = 'RMCP_PLUS';
const CALLBACK = 'CALLBACK';
const USER = 'USER';
const OPERATOR = 'OPERATOR';
const ADMIN = 'ADMIN';
// const OEM = 'OEM'; // Duplicate.
const NO_ENCRYPTION = 'NO_ENCRYPTION';
const TLS_PSK = 'TLS_PSK';
const TLS_CERTIFICATE = 'TLS_CERTIFICATE';
const NO = 'NO';
const YES = 'YES';
const ZABBIX = 'ZABBIX';
const SNMP = 'SNMP';
const IPMI = 'IPMI';
const JMX = 'JMX';
// const DISABLED = 'DISABLED'; // Duplicate.
const MANUAL = 'MANUAL';
const AUTOMATIC = 'AUTOMATIC';
const EXPRESSION = 'EXPRESSION';
const RECOVERY_EXPRESSION = 'RECOVERY_EXPRESSION';
// const NONE = 'NONE'; // Duplicate.
// const DISABLED = 'DISABLED'; // Duplicate.
const TAG_VALUE = 'TAG_VALUE';
const NOT_CLASSIFIED = 'NOT_CLASSIFIED';
const INFO = 'INFO';
const WARNING = 'WARNING';
const AVERAGE = 'AVERAGE';
const HIGH = 'HIGH';
const DISASTER = 'DISASTER';
const SINGLE = 'SINGLE';
const MULTIPLE = 'MULTIPLE';
const CALCULATED = 'CALCULATED';
const FIXED = 'FIXED';
const ITEM = 'ITEM';
const NORMAL = 'NORMAL';
const STACKED = 'STACKED';
const PIE = 'PIE';
const EXPLODED = 'EXPLODED';
const SINGLE_LINE = 'SINGLE_LINE';
const FILLED_REGION = 'FILLED_REGION';
const BOLD_LINE = 'BOLD_LINE';
const DOTTED_LINE = 'DOTTED_LINE';
const DASHED_LINE = 'DASHED_LINE';
const GRADIENT_LINE = 'GRADIENT_LINE';