web显示zabbix服务没有启动原因:

  1. <?php
  2. // Zabbix GUI configuration file.
  3. global $DB;
  4. $DB['TYPE']     ='MYSQL';
  5. $DB['SERVER']   ='10.1.173.215'; //这里填IP,非127
  6. $DB['PORT']     ='3306';
  7. $DB['DATABASE']='zabbix';
  8. $DB['USER']     ='zabbix';
  9. $DB['PASSWORD']='zabbixpwd';
  10. // Schema name. Used for IBM DB2 and PostgreSQL.
  11. $DB['SCHEMA']='';
  12. $ZBX_SERVER      ='localhost'; //将这里改为localhost
  13. $ZBX_SERVER_PORT ='10051';
  14. $ZBX_SERVER_NAME ='zabbix';
  15. $IMAGE_FORMAT_DEFAULT = IMAGE_FORMAT_PNG;
  16. ?>
 
 





posted @ 2016-08-17 18:51  betterman.com  阅读(5383)  评论(0编辑  收藏  举报