Ad Widget

Collapse

Just one host in web Zabbix interface

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gannher
    Junior Member
    • May 2021
    • 1

    #1

    Just one host in web Zabbix interface

    Hello all,

    I'm trying to use Zabbix on few servers Linux.

    On web Zabbix interface, i just see one item (zabbix server) and not my other server


    Server A : zabbix-server
    Server B : zabbix agent


    Last log of server A
    Code:
    277875:20210516:145625.289 Starting Zabbix Server. Zabbix 5.2.6 (revision 798506596c).
    277875:20210516:145625.289 ****** Enabled features ******
    277875:20210516:145625.289 SNMP monitoring: YES
    277875:20210516:145625.289 IPMI monitoring: YES
    277875:20210516:145625.289 Web monitoring: YES
    277875:20210516:145625.289 VMware monitoring: YES
    277875:20210516:145625.289 SMTP authentication: YES
    277875:20210516:145625.289 ODBC: YES
    277875:20210516:145625.289 SSH support: YES
    277875:20210516:145625.289 IPv6 support: YES
    277875:20210516:145625.289 TLS support: YES
    277875:20210516:145625.289 ******************************
    277875:20210516:145625.289 using configuration file: /etc/zabbix/zabbix_server.conf
    277875:20210516:145625.294 current database version (mandatory/optional): 05020000/05020000
    277875:20210516:145625.294 required mandatory version: 05020000
    277875:20210516:145625.303 server #0 started [main process]
    277877:20210516:145625.303 server #1 started [configuration syncer #1]
    277878:20210516:145625.405 server #2 started [housekeeper #1]
    277879:20210516:145625.405 server #3 started [timer #1]
    277880:20210516:145625.405 server #4 started [http poller #1]
    277881:20210516:145625.408 server #5 started [discoverer #1]
    277883:20210516:145625.408 server #7 started [history syncer #2]
    277882:20210516:145625.409 server #6 started [history syncer #1]
    277884:20210516:145625.409 server #8 started [history syncer #3]
    277885:20210516:145625.410 server #9 started [history syncer #4]
    277886:20210516:145625.410 server #10 started [escalator #1]
    277887:20210516:145625.412 server #11 started [proxy poller #1]
    277888:20210516:145625.413 server #12 started [self-monitoring #1]
    277889:20210516:145625.413 server #13 started [task manager #1]
    277890:20210516:145625.414 server #14 started [poller #1]
    277891:20210516:145625.414 server #15 started [poller #2]
    277896:20210516:145625.419 server #18 started [poller #5]
    277895:20210516:145625.420 server #17 started [poller #4]
    277894:20210516:145625.421 server #16 started [poller #3]
    277897:20210516:145625.423 server #19 started [unreachable poller #1]
    277899:20210516:145625.424 server #20 started [trapper #1]
    277902:20210516:145625.426 server #23 started [trapper #4]
    277900:20210516:145625.426 server #21 started [trapper #2]
    277911:20210516:145625.428 server #30 started [preprocessing manager #1]
    277901:20210516:145625.428 server #22 started [trapper #3]
    277910:20210516:145625.429 server #29 started [alerter #3]
    277914:20210516:145625.431 server #33 started [preprocessing worker #3]
    277909:20210516:145625.431 server #28 started [alerter #2]
    277906:20210516:145625.431 server #26 started [alert manager #1]
    277908:20210516:145625.432 server #27 started [alerter #1]
    277904:20210516:145625.432 server #24 started [trapper #5]
    277905:20210516:145625.433 server #25 started [icmp pinger #1]
    277923:20210516:145625.435 server #34 started [lld manager #1]
    277924:20210516:145625.436 server #35 started [lld worker #1]
    277925:20210516:145625.436 server #36 started [lld worker #2]
    277926:20210516:145625.437 server #37 started [alert syncer #1]
    277912:20210516:145625.528 server #31 started [preprocessing worker #1]
    277913:20210516:145625.529 server #32 started [preprocessing worker #2]

    Last log of server B
    Code:
    9379:20210516:165727.793 Starting Zabbix Agent [Zabbix server]. Zabbix 5.2.6 (revision 798506596c).
    9379:20210516:165727.793 **** Enabled features ****
    9379:20210516:165727.793 IPv6 support: YES
    9379:20210516:165727.793 TLS support: YES
    9379:20210516:165727.793 **************************
    9379:20210516:165727.793 using configuration file: /etc/zabbix/zabbix_agentd.conf
    9379:20210516:165727.793 agent #0 started [main process]
    9380:20210516:165727.794 agent #1 started [collector]
    9381:20210516:165727.794 agent #2 started[listener #1]
    9382:20210516:165727.794 agent #3 started[listener #2]
    9383:20210516:165727.794 agent #4 started[listener #3]
    9384:20210516:165727.795 agent #5 started [active checks #1]

    Conf of server A:
    Code:
    ListenPort=10051
    LogFile=/var/log/zabbix/zabbix_server.log
    LogFileSize=0
    PidFile=/run/zabbix/zabbix_server.pid
    SocketDir=/run/zabbix
    DBName=zabbix
    DBUser=zabbix
    DBPassword=*******
    SNMPTrapperFile=/var/log/snmptrap/snmptrap.log
    Conf of server B:
    Code:
    PidFile=/run/zabbix/zabbix_agentd.pid
    LogFile=/var/log/zabbix/zabbix_agentd.log
    AllowKey=system.run[*]
    LogFileSize=0
    Server=<IP of server A>
    ListenPort=10050
    StartAgents=3
    ServerActive=<IP of server A>:10051
    Hostname=Zabbix server
    Include=/etc/zabbix/zabbix_agentd.d/*.conf
    From server B
    telnet <IP of server A> 10051 => OK
    telnet <IP of server A> 10050 => OK

    From server A
    telnet <IP of server B> 10050 => OK
    telnet <IP of server B> 10051 => Connection refused

    I haven't error in log, so I don't understand why i just see one host in web Zabbix interface.


    Thanks for help.
  • gofree
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2017
    • 400

    #2
    you need to add the host ( assuming you have not done as you see only one host )

    Comment

    • Maynard254
      Junior Member
      • May 2021
      • 1

      #3
      Zabbix web interface offers both the configuration of monitoring and viewing Custom graphs can be created for a host or several hosts or for a single template.

      Comment

      Working...