zabbix

  今天的zabbix是安装在已经搭好LNMP的Centos6.4虚拟机上。安装配置好zabbix后启动zabbix-server和zabbix-agent,还有httpd和mysqld,在web上部署的时候出现了zabbix server is not run,查看zabbix_server.log日志,发现了这条

5688:20151021:223508.871 cannot send list of active checks to [127.0.0.1]: host [localhost] not monitored

原因是hostname不对,配置zabbix_agentd.conf,将hostname与zabbix_server.conf中的hostname一致,其实到这步是可以的了。no zuo no die的是我随手修改了几个环境参数,结果restart之后,zabbix反复掉线,查看日志,出现这条  

  5050:20151021:195159.742 syncing history data...
  5050:20151021:195159.743 syncing history data done
  5050:20151021:195159.743 syncing trends data...
  5050:20151021:195159.743 syncing trends data done
  5050:20151021:195159.743 Zabbix Server stopped. Zabbix 2.0.15 (revision 54798).
  5170:20151021:195201.921 Starting Zabbix Server. Zabbix 2.0.15 (revision 54798).
  5170:20151021:195201.921 ****** Enabled features ******
  5170:20151021:195201.921 SNMP monitoring:           YES
  5170:20151021:195201.921 IPMI monitoring:           YES
  5170:20151021:195201.921 WEB monitoring:            YES
  5170:20151021:195201.921 Jabber notifications:      YES
  5170:20151021:195201.921 Ez Texting 
notifications:  YES
  5170:20151021:195201.921 ODBC:                      YES
  5170:20151021:195201.921 SSH2 support:              YES
  5170:20151021:195201.921 IPv6 support:              YES
  5170:20151021:195201.921 ******************************
  5172:20151021:195201.942 server #2 started [db watchdog #1]
  5171:20151021:195201.943 server #1 started [configuration syncer #1]
  5179:20151021:195201.953 server #9 started [trapper #1]
  5181:20151021:195201.963 server #11 started [trapper #3]
  5182:20151021:195201.964 server #12 started [trapper #4]
  5183:20151021:195201.965 server #13 started [trapper #5]
  5184:20151021:195201.969 server #14 started [icmp pinger #1]
  5185:20151021:
195201.970 server #15 started [alerter #1]
  5180:20151021:195201.971 server #10 started [trapper #2]
  5186:20151021:195201.982 server #16 started [housekeeper #1]
  5186:20151021:195201.982 executing housekeeper
  5187:20151021:195201.985 server #17 started [timer #1]
  5188:20151021:195201.986 server #18 started [http poller #1]
  5190:20151021:195201.993 server #20 started [history syncer #1]
  5191:20151021:195201.994 server #21 started [history syncer #2]
  5195:20151021:195202.011 server #22 started [history syncer #3]
  5196:20151021:195202.011 server #23 started [history syncer #4]
  5197:20151021:195202.012 server #24 started [escalator #1]
  5198:20151021:195202.012 server #25 st
arted [proxy poller #1]
  5170:20151021:195202.013 server #0 started [main process]
  5203:20151021:195202.023 server #26 started [self-monitoring #1]
  5175:20151021:195202.192 server #5 started [poller #3]
  5177:20151021:195202.210 server #7 started [poller #5]
  5178:20151021:195202.216 server #8 started [unreachable poller #1]
  5176:20151021:195202.218 server #6 started [poller #4]
  5189:20151021:195202.222 server #19 started [discoverer #1]
  5174:20151021:195202.224 server #4 started [poller #2]
  5173:20151021:195202.229 server #3 started [poller #1]
  5186:20151021:195202.236 housekeeper deleted: 0 records from history and trends, 0 records of deleted items, 0 events, 0 alerts, 0 sessions

没法,只能悄悄的按照记忆改回原来的配置,刷新web,发现zabbix server is running, user也能找到了,具体原因是不是这个我也不是很清楚,比较新手菜鸡j_0008.gif

你可能感兴趣的:(zabbix)