Ad Widget

Collapse

Zabbix Server starts but is not recognized on your dashboard

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Samuel Sardinha
    Junior Member
    • Jun 2019
    • 3

    #1

    Zabbix Server starts but is not recognized on your dashboard

    I just installed Zabbix Server 4 on CentOS 7 and I'm not getting it to work.
    Can someone help? Below are logs and the current configuration file.
    pt-BR [Acabei de instalar o Zabbis Server 4 no CentOS 7 e não estou conseguindo fazer ele funcionar.
    Alguem consegue ajudar? Abaixo estão logs e o arquivo de configuração atual.]

    -The Zabbix Agent is working
    -Zabbix Server by the terminal denotes running
    -Mysql is working

    [root@monitor ~]# tail -f /var/log/zabbix/zabbix_server.log

    21251:20190619:130136.821 syncing history data...
    21251:20190619:130136.841 syncing history data... 100.000000%
    21251:20190619:130136.841 syncing history data done
    21251:20190619:130136.841 syncing trend data...
    21251:20190619:130136.872 syncing trend data done
    21251:20190619:130136.873 Zabbix Server stopped. Zabbix 4.0.9 (revision 97a69d5d5a).
    21652:20190619:130136.956 Starting Zabbix Server. Zabbix 4.0.9 (revision 97a69d5d5a).
    21652:20190619:130136.958 ****** Enabled features ******
    21652:20190619:130136.958 SNMP monitoring: YES
    21652:20190619:130136.959 IPMI monitoring: YES
    21652:20190619:130136.959 Web monitoring: YES
    21652:20190619:130136.959 VMware monitoring: YES
    21652:20190619:130136.959 SMTP authentication: YES
    21652:20190619:130136.960 Jabber notifications: YES
    21652:20190619:130136.960 Ez Texting notifications: YES
    21652:20190619:130136.960 ODBC: YES
    21652:20190619:130136.960 SSH2 support: YES
    21652:20190619:130136.961 IPv6 support: YES
    21652:20190619:130136.961 TLS support: YES
    21652:20190619:130136.961 ******************************
    21652:20190619:130136.961 using configuration file: /etc/zabbix/zabbix_server.conf
    21652:20190619:130136.982 current database version (mandatory/optional): 04000000/04000003
    21652:20190619:130136.982 required mandatory version: 04000000
    21652:20190619:130137.040 server #0 started [main process]
    21653:20190619:130137.042 server #1 started [configuration syncer #1]
    21654:20190619:130137.043 server #2 started [housekeeper #1]
    21655:20190619:130137.045 server #3 started [timer #1]
    21656:20190619:130137.047 server #4 started [http poller #1]
    21657:20190619:130137.049 server #5 started [discoverer #1]
    21659:20190619:130137.055 server #7 started [history syncer #2]
    21660:20190619:130137.057 server #8 started [history syncer #3]
    21658:20190619:130137.061 server #6 started [history syncer #1]
    21661:20190619:130137.063 server #9 started [history syncer #4]
    21662:20190619:130137.068 server #10 started [escalator #1]
    21664:20190619:130137.069 server #12 started [self-monitoring #1]
    21663:20190619:130137.071 server #11 started [proxy poller #1]
    21665:20190619:130137.081 server #13 started [task manager #1]
    21666:20190619:130137.082 server #14 started [poller #1]
    21667:20190619:130137.084 server #15 started [poller #2]
    21668:20190619:130137.087 server #16 started [poller #3]
    21672:20190619:130137.096 server #20 started [trapper #1]
    21669:20190619:130137.096 server #17 started [poller #4]
    21671:20190619:130137.103 server #19 started [unreachable poller #1]
    21670:20190619:130137.104 server #18 started [poller #5]
    21673:20190619:130137.111 server #21 started [trapper #2]
    21676:20190619:130137.124 server #23 started [trapper #4]
    21675:20190619:130137.128 server #22 started [trapper #3]
    21677:20190619:130137.137 server #24 started [trapper #5]
    21678:20190619:130137.149 server #25 started [icmp pinger #1]
    21680:20190619:130137.155 server #26 started [alert manager #1]
    21682:20190619:130137.163 server #27 started [alerter #1]
    21683:20190619:130137.164 server #28 started [alerter #2]
    21685:20190619:130137.168 server #29 started [alerter #3]
    21687:20190619:130137.189 server #30 started [preprocessing manager #1]
    21688:20190619:130138.100 server #31 started [preprocessing worker #1]
    21689:20190619:130138.110 server #32 started [preprocessing worker #2]
    21690:20190619:130138.114 server #33 started [preprocessing worker #3]


    -------------------------------

    [root@monitor ~]# vim /etc/zabbix/zabbix_server.conf

    LogFile=/var/log/zabbix/zabbix_server.log
    LogFileSize=0
    PidFile=/var/run/zabbix/zabbix_server.pid
    SocketDir=/var/run/zabbix
    DBHost=localhost
    DBName=zabbix
    DBUser=zabbix
    DBPassword=blablablabla
    SNMPTrapperFile=/var/log/snmptrap/snmptrap.log
    Timeout=4
    AlertScriptsPath=/usr/lib/zabbix/alertscripts
    ExternalScripts=/usr/lib/zabbix/externalscripts
    LogSlowQueries=3000


  • ingus.vilnis
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Mar 2014
    • 908

    #2
    Hi,

    Have you got SELinux in Enforcing mode?
    Try this flag:
    # setsebool -P httpd_can_connect_zabbix=1

    Comment

    Working...