Ad Widget

Collapse

Hosts in Confirgurations missing

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • daixiang
    Junior Member
    • Jul 2018
    • 9

    #1

    Hosts in Confirgurations missing

    I use zabbix 3.0.14, and find a confused issue:

    The hosts in Confirgurations missed,

    I check the server log and find below error:
    HTML Code:
     75128:20180726:165637.326 Starting Zabbix Server. Zabbix 3.0.14 (revision 76338).
     75128:20180726:165637.326 ****** Enabled features ******
     75128:20180726:165637.326 SNMP monitoring:           YES
     75128:20180726:165637.326 IPMI monitoring:           YES
     75128:20180726:165637.326 Web monitoring:            YES
     75128:20180726:165637.326 VMware monitoring:         YES
     75128:20180726:165637.326 SMTP authentication:       YES
     75128:20180726:165637.326 Jabber notifications:      YES
     75128:20180726:165637.326 Ez Texting notifications:  YES
     75128:20180726:165637.326 ODBC:                      YES
     75128:20180726:165637.326 SSH2 support:              YES
     75128:20180726:165637.326 IPv6 support:              YES
     75128:20180726:165637.326 TLS support:               YES
     75128:20180726:165637.326 ******************************
     75128:20180726:165637.326 using configuration file: /etc/zabbix/zabbix_server.conf
     75128:20180726:165637.330 current database version (mandatory/optional): 03000000/03000000
     75128:20180726:165637.330 required mandatory version: 03000000
     75128:20180726:165637.342 server #0 started [main process]
     75134:20180726:165637.342 server #1 started [configuration syncer #1]
     75135:20180726:165637.343 server #2 started [db watchdog #1]
     75137:20180726:165637.343 server #3 started [poller #1]
     75138:20180726:165637.344 server #4 started [poller #2]
     75139:20180726:165637.344 server #5 started [poller #3]
     75140:20180726:165637.345 server #6 started [poller #4]
     75141:20180726:165637.345 server #7 started [poller #5]
     75142:20180726:165637.345 server #8 started [unreachable poller #1]
     75145:20180726:165637.347 server #11 started [trapper #3]
     75144:20180726:165637.347 server #10 started [trapper #2]
     75143:20180726:165637.347 server #9 started [trapper #1]
     75146:20180726:165637.348 server #12 started [trapper #4]
     75148:20180726:165637.350 server #14 started [icmp pinger #1]
     75147:20180726:165637.350 server #13 started [trapper #5]
     75153:20180726:165637.351 server #15 started [alerter #1]
     75156:20180726:165637.353 server #16 started [housekeeper #1]
     75158:20180726:165637.354 server #17 started [timer #1]
     75161:20180726:165637.355 server #19 started [discoverer #1]
     75160:20180726:165637.355 server #18 started [http poller #1]
     75165:20180726:165637.357 server #20 started [history syncer #1]
     75167:20180726:165637.357 server #21 started [history syncer #2]
     75168:20180726:165637.358 server #22 started [history syncer #3]
     75171:20180726:165637.358 server #23 started [history syncer #4]
     75175:20180726:165637.359 server #24 started [escalator #1]
     75176:20180726:165637.360 server #25 started [proxy poller #1]
     75177:20180726:165637.360 server #26 started [self-monitoring #1]
     75147:20180726:165637.689 cannot send list of active checks to "192.168.50.104": host [192.168.50.104] not found
     75146:20180726:165637.931 cannot send list of active checks to "192.168.50.102": host [192.168.50.102] not found
     75144:20180726:165638.172 cannot send list of active checks to "192.168.50.103": host [192.168.50.103] not found
     75143:20180726:165638.402 cannot send list of active checks to "192.168.50.100": host [192.168.50.100] not found
     75145:20180726:165638.636 cannot send list of active checks to "192.168.50.101": host [192.168.50.101] not found
    Then i want to debug, so change zabbix_server.conf
    from

    HTML Code:
    # DebugLevel=3
    to

    HTML Code:
    DebugLevel=3

    and restart zabbix-server.

    Check the web, hosts show!!!

    Check the log again, error still exists:
    HTML Code:
     75128:20180726:165853.212 Got signal [signal:15(SIGTERM),sender_pid:76695,sender_uid:0,reason:0]. Exiting ...
     75128:20180726:165855.213 syncing history data...
     75128:20180726:165855.213 syncing history data done
     75128:20180726:165855.213 syncing trends data...
     75128:20180726:165855.213 syncing trends data done
     75128:20180726:165855.213 Zabbix Server stopped. Zabbix 3.0.14 (revision 76338).
     76734:20180726:165855.246 Starting Zabbix Server. Zabbix 3.0.14 (revision 76338).
     76734:20180726:165855.247 ****** Enabled features ******
     76734:20180726:165855.247 SNMP monitoring:           YES
     76734:20180726:165855.247 IPMI monitoring:           YES
     76734:20180726:165855.247 Web monitoring:            YES
     76734:20180726:165855.247 VMware monitoring:         YES
     76734:20180726:165855.247 SMTP authentication:       YES
     76734:20180726:165855.247 Jabber notifications:      YES
     76734:20180726:165855.247 Ez Texting notifications:  YES
     76734:20180726:165855.247 ODBC:                      YES
     76734:20180726:165855.247 SSH2 support:              YES
     76734:20180726:165855.247 IPv6 support:              YES
     76734:20180726:165855.247 TLS support:               YES
     76734:20180726:165855.247 ******************************
     76734:20180726:165855.247 using configuration file: /etc/zabbix/zabbix_server.conf
     76734:20180726:165855.250 current database version (mandatory/optional): 03000000/03000000
     76734:20180726:165855.250 required mandatory version: 03000000
     76734:20180726:165855.253 server #0 started [main process]
     76739:20180726:165855.254 server #1 started [configuration syncer #1]
     76740:20180726:165855.254 server #2 started [db watchdog #1]
     76741:20180726:165855.254 server #3 started [poller #1]
     76743:20180726:165855.255 server #4 started [poller #2]
     76744:20180726:165855.255 server #5 started [poller #3]
     76745:20180726:165855.256 server #6 started [poller #4]
     76746:20180726:165855.256 server #7 started [poller #5]
     76747:20180726:165855.257 server #8 started [unreachable poller #1]
     76748:20180726:165855.257 server #9 started [trapper #1]
     76749:20180726:165855.257 server #10 started [trapper #2]
     76750:20180726:165855.258 server #11 started [trapper #3]
     76751:20180726:165855.258 server #12 started [trapper #4]
     76753:20180726:165855.259 server #14 started [icmp pinger #1]
     76752:20180726:165855.260 server #13 started [trapper #5]
     76754:20180726:165855.260 server #15 started [alerter #1]
     76755:20180726:165855.261 server #16 started [housekeeper #1]
     76758:20180726:165855.261 server #17 started [timer #1]
     76759:20180726:165855.261 server #18 started [http poller #1]
     76765:20180726:165855.262 server #19 started [discoverer #1]
     76766:20180726:165855.262 server #20 started [history syncer #1]
     76769:20180726:165855.263 server #21 started [history syncer #2]
     76771:20180726:165855.263 server #22 started [history syncer #3]
     76773:20180726:165855.264 server #23 started [history syncer #4]
     76775:20180726:165855.264 server #24 started [escalator #1]
     76777:20180726:165855.265 server #26 started [self-monitoring #1]
     76776:20180726:165855.265 server #25 started [proxy poller #1]
    76741:20180726:170007.304 enabling Zabbix agent checks on host "storage-0.localdomain": host became available
     76743:20180726:170008.312 enabling Zabbix agent checks on host "storage-1.localdomain": host became available
     76744:20180726:170009.295 enabling Zabbix agent checks on host "app-0.localdomain": host became available
     76745:20180726:170009.303 enabling Zabbix agent checks on host "computing-0.localdomain": host became available
     76746:20180726:170010.320 enabling Zabbix agent checks on host "computing-1.localdomain": host became available
     76752:20180726:170037.712 cannot send list of active checks to "192.168.50.104": host [192.168.50.104] not found
     76752:20180726:170037.955 cannot send list of active checks to "192.168.50.102": host [192.168.50.102] not found
     76752:20180726:170038.198 cannot send list of active checks to "192.168.50.103": host [192.168.50.103] not found
     76752:20180726:170038.423 cannot send list of active checks to "192.168.50.100": host [192.168.50.100] not found
     76752:20180726:170038.657 cannot send list of active checks to "192.168.50.101": host [192.168.50.101] not found
    All i do is change debug level from empty to 3 and restart server.

    I config ip range to enable auto discovery, the "cannot send list of active checks" maybe caused by it.

    But why host became available after change debug level?

    Is it a bug? Or i miss something import?
    Last edited by daixiang; 26-07-2018, 11:06.
  • aib
    Senior Member
    • Jan 2014
    • 1615

    #2
    Let me guess:
    1) On web-page of your Zabbix server you created a host "MY_STORAGE_SERVER_IS_THE_BEST" with ip-address 192.168.50.100
    2) On storage server "MY_STORAGE_SERVER_IS_THE_BEST" you created zabbix_agent.conf file with following parameters:
    - Hostname=192.168.50.100
    - ServerActive={ip-address of your zabbix server}
    3) After zabbix_agent starts it send the request to Active Zabbix server "Give me a list of Active Checks for 192.168.50.100"
    4) Zabbix server checks the list of hosts and cannot find any hosts with name 192.168.50.100. So, it drops error message in log file about it.

    I assume you have two options:
    a) If you want to remove errors about "cannot send list of active checks..." and wouldn't use any active checks on that servers, just comment out parameter ServerActive= from zabbix_agent.conf files and restart agents
    b) If you are going to use active checks, correct "hostname" parameter in zabbix_agent.conf to real name of existing hosts on web-page of Zabbix server.
    Sincerely yours,
    Aleksey

    Comment

    • daixiang
      Junior Member
      • Jul 2018
      • 9

      #3
      Thanks any way.

      But, my question is as below:

      why hosts shows in the web after change log level?

      Comment

      Working...