<?php
// Zabbix GUI configuration file.
global $DB;
$DB[‘TYPE‘] =‘MYSQL‘;
$DB[‘SERVER‘] =‘10.1.173.215‘; //这里填IP,非127
$DB[‘PORT‘] =‘3306‘;
$DB[‘DATABASE‘]=‘zabbix‘;
$DB[‘USER‘] =‘zabbix‘;
$DB[‘PASSWORD‘]=‘zabbixpwd‘;
// Schema name. Used for IBM DB2 and PostgreSQL.
$DB[‘SCHEMA‘]=‘‘;
$ZBX_SERVER =‘localhost‘; //将这里改为localhost
$ZBX_SERVER_PORT =‘10051‘;
$ZBX_SERVER_NAME =‘zabbix‘;
$IMAGE_FORMAT_DEFAULT = IMAGE_FORMAT_PNG;
?>
时间: 2024-10-28 15:51:04