Source
xxxxxxxxxx
define('ZBX_DEFAULT_KEY_DB_MONITOR_DISCOVERY', 'db.odbc.discovery[<unique short description>,<dsn>,<connection string>]');
<?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.
**/
define('ZABBIX_VERSION', '6.4.7rc1');
define('ZABBIX_API_VERSION', '6.4.7');
define('ZABBIX_EXPORT_VERSION', '6.4');
define('ZABBIX_DB_VERSION', 6040000);
define('DB_VERSION_SUPPORTED', 0);
define('DB_VERSION_LOWER_THAN_MINIMUM', 1);
define('DB_VERSION_HIGHER_THAN_MAXIMUM', 2);
define('DB_VERSION_FAILED_TO_RETRIEVE', 3);
define('DB_VERSION_NOT_SUPPORTED_ERROR', 4);
define('DB_VERSION_NOT_SUPPORTED_WARNING', 5);
define('DB_VERSION_HIGHER_THAN_MAXIMUM_ERROR', 6);
define('DB_VERSION_HIGHER_THAN_MAXIMUM_WARNING', 7);
define('ZABBIX_COPYRIGHT_FROM', '2001');
define('ZABBIX_COPYRIGHT_TO', '2023');
define('ZBX_DOCUMENTATION_URL', 'https://www.zabbix.com/documentation');
define('ZBX_BCRYPT_COST', 10);
define('ZBX_SESSION_NAME', 'zbx_session'); // Session cookie name for Zabbix front-end.
define('ZBX_KIBIBYTE', '1024');
define('ZBX_MEBIBYTE', '1048576');
define('ZBX_GIBIBYTE', '1073741824');
define('ZBX_TEBIBYTE', '1099511627776');
define('ZBX_MIN_PERIOD', 60); // 1 minute
define('ZBX_MIN_INT32', -2147483648);
define('ZBX_MAX_INT32', 2147483647);
define('ZBX_MIN_INT64', '-9223372036854775808');
define('ZBX_MAX_INT64', '9223372036854775807');
define('ZBX_MAX_UINT64', '18446744073709551615');
// Double precision 64-bit float.
define('ZBX_FLOAT_DIG', PHP_FLOAT_DIG);
define('ZBX_FLOAT_MIN', PHP_FLOAT_MIN);
define('ZBX_FLOAT_MAX', PHP_FLOAT_MAX);
define('ZBX_MAX_DATE', ZBX_MAX_INT32); // 19 Jan 2038 03:14:07 UTC
define('ZBX_MIN_TIMESHIFT', -788400000); // Min valid timeshift value in seconds (25 years).
define('ZBX_MAX_TIMESHIFT', 788400000); // Max valid timeshift value in seconds (25 years).
define('ZBX_GEOMAP_MAX_ZOOM', 30); // Max zoom level for geomap.
define('ZBX_MAX_GRAPHS_PER_PAGE', 20);
define('SUBFILTER_VALUES_PER_GROUP', 1000); // Number of subfilter values per group.
// Date and time format separators must be synced with setSDateFromOuterObj() in class.calendar.js.
define('ZBX_FULL_DATE_TIME', 'Y-m-d H:i:s'); // Time selector full date and time presentation format.
define('ZBX_DATE_TIME', 'Y-m-d H:i'); // Time selector date and time without seconds presentation format.
define('ZBX_DATE', 'Y-m-d'); // Time selector date without minutes and seconds presentation format.
// TTL timeout in seconds used to invalidate data cache of Vault response. Set 0 to disable Vault response caching.
define('ZBX_DATA_CACHE_TTL', 60);
define('ZBX_HISTORY_SOURCE_ELASTIC', 'elastic');
define('ZBX_HISTORY_SOURCE_SQL', 'sql');
define('ELASTICSEARCH_RESPONSE_PLAIN', 0);
define('ELASTICSEARCH_RESPONSE_AGGREGATION', 1);
define('ELASTICSEARCH_RESPONSE_DOCUMENTS', 2);
define('ZBX_FONTPATH', realpath('assets/fonts')); // where to search for font (GD > 2.0.18)
define('ZBX_GRAPH_FONT_NAME', 'DejaVuSans'); // font file name
define('ZBX_GRAPH_LEGEND_HEIGHT', 120); // when graph height is less then this value, some legend will not show up