Ad Widget

Collapse

Zabbix Agent no active checks on server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ahmedsobeeh
    Junior Member
    • Nov 2020
    • 2

    #1

    Zabbix Agent no active checks on server

    i installed zabbix_server (Zabbix) 5.0.5 on centos 8
    everything is working fine
    but the agents cannot register on the server

    telnet from host to Zabbix server is ok
    telnet from server to host is ok

    I have 4 servers with the same issue
    configuration on agent side is ok and hostname defined correctly same as in zabbix server

    getting an error from agent log with same as attached

    i know that you will say the issue in hostname
    but i have configured the hostname same as server, I took it copy past from the server




    21035:20201117:171847.741 active check configuration update from [*.*.*.*:10051] is working again
    21029:20201117:173800.180 Got signal [signal:15(SIGTERM),sender_pid:23334,sender_uid:111 ,reason:0]. Exiting ...
    21029:20201117:173800.182 Zabbix Agent stopped. Zabbix 5.0.5 (revision eaa427cf19).
    23340:20201117:173800.199 Starting Zabbix Agent [demos]. Zabbix 5.0.5 (revision eaa427cf19).
    23340:20201117:173800.199 **** Enabled features ****
    23340:20201117:173800.199 IPv6 support: YES
    23340:20201117:173800.199 TLS support: YES
    23340:20201117:173800.199 **************************
    23340:20201117:173800.199 using configuration file: /etc/zabbix/zabbix_agentd.conf
    23340:20201117:173800.200 agent #0 started [main process]
    23341:20201117:173800.200 agent #1 started [collector]
    23342:20201117:173800.201 agent #2 started[listener #1]
    23343:20201117:173800.201 agent #3 started[listener #2]
    23345:20201117:173800.202 agent #5 started [active checks #1]
    23344:20201117:173800.204 agent #4 started[listener #3]
    23345:20201117:174200.265 no active checks on server [*.*.*.*:10051]: host [demos] not found
    23345:20201117:174400.299 no active checks on server [*.*.*.*:10051]: host [demos] not found
    23345:20201117:174600.325 no active checks on server [*.*.*.*:10051]: host [demos] not found
    23345:20201117:174800.352 no active checks on server [*.*.*.*:10051]: host [demos] not found
    23345:20201117:175000.377 no active checks on server [*.*.*.*:10051]: host [demos] not found
    23345:20201117:175200.403 no active checks on server [*.*.*.*:10051]: host [demos] not found
    23345:20201117:175400.427 no active checks on server [*.*.*.*:10051]: host [demos] not found
    23345:20201117:175600.453 no active checks on server [*.*.*.*:10051]: host [demos] not found
    23345:20201117:175800.478 no active checks on server [*.*.*.*:10051]: host [demos] not found
    23340:20201117:180252.445 Got signal [signal:15(SIGTERM),sender_pid:26452,sender_uid:111 ,reason:0]. Exiting ...
    23340:20201117:180252.446 Zabbix Agent stopped. Zabbix 5.0.5 (revision eaa427cf19).
    26456:20201117:180252.464 Starting Zabbix Agent [demos]. Zabbix 5.0.5 (revision eaa427cf19).
    26456:20201117:180252.464 **** Enabled features ****
    26456:20201117:180252.464 IPv6 support: YES
    26456:20201117:180252.464 TLS support: YES
    26456:20201117:180252.464 **************************
    26456:20201117:180252.464 using configuration file: /etc/zabbix/zabbix_agentd.conf
    26456:20201117:180252.464 agent #0 started [main process]
    26457:20201117:180252.465 agent #1 started [collector]
    26459:20201117:180252.465 agent #3 started[listener #2]
    26461:20201117:180252.466 agent #5 started [active checks #1]
    26460:20201117:180252.468 agent #4 started[listener #3]
    26458:20201117:180252.468 agent #2 started[listener #1]
    26456:20201117:180419.155 Got signal [signal:15(SIGTERM),sender_pid:26966,sender_uid:111 ,reason:0]. Exiting ...
    26456:20201117:180419.156 Zabbix Agent stopped. Zabbix 5.0.5 (revision eaa427cf19).
    26969:20201117:180419.174 Starting Zabbix Agent [demos]. Zabbix 5.0.5 (revision eaa427cf19).
    26969:20201117:180419.174 **** Enabled features ****
    26969:20201117:180419.174 IPv6 support: YES
    26969:20201117:180419.174 TLS support: YES
    26969:20201117:180419.174 **************************
    26969:20201117:180419.174 using configuration file: /etc/zabbix/zabbix_agentd.conf
    26969:20201117:180419.175 agent #0 started [main process]
    26971:20201117:180419.175 agent #1 started [collector]
    26972:20201117:180419.176 agent #2 started[listener #1]
    26975:20201117:180419.176 agent #5 started [active checks #1]
    26973:20201117:180419.178 agent #3 started[listener #2]
    26974:20201117:180419.178 agent #4 started[listener #3]
    26969:20201117:180508.951 Got signal [signal:15(SIGTERM),sender_pid:27290,sender_uid:111 ,reason:0]. Exiting ...
    26969:20201117:180508.953 Zabbix Agent stopped. Zabbix 5.0.5 (revision eaa427cf19).
    27293:20201117:180508.975 Starting Zabbix Agent [demos]. Zabbix 5.0.5 (revision eaa427cf19).
    27293:20201117:180508.975 **** Enabled features ****
    27293:20201117:180508.975 IPv6 support: YES
    27293:20201117:180508.975 TLS support: YES
    27293:20201117:180508.975 **************************
    27293:20201117:180508.975 using configuration file: /etc/zabbix/zabbix_agentd.conf
    27293:20201117:180508.976 agent #0 started [main process]
    27294:20201117:180508.976 agent #1 started [collector]
    27296:20201117:180508.977 agent #3 started[listener #2]
    27298:20201117:180508.977 agent #5 started [active checks #1]
    27297:20201117:180508.980 agent #4 started[listener #3]
    27295:20201117:180508.980 agent #2 started[listener #1]
    27298:20201117:180708.020 no active checks on server [*.*.*.*:10051]: host [demos] not found
    27298:20201117:180908.050 no active checks on server [*.*.*.*:10051]: host [demos] not found
    27298:20201117:181108.077 no active checks on server [*.*.*.*:10051]: host [demos] not found
    27298:20201117:181308.102 no active checks on server [*.*.*.*:10051]: host [demos] not found
    27298:20201117:181508.129 no active checks on server [*.*.*.*:10051]: host [demos] not found
    27298:20201117:181708.154 no active checks on server [*.*.*.*:10051]: host [demos] not found
    27298:20201117:181908.181 no active checks on server [*.*.*.*:10051]: host [demos] not found
    27298:20201117:182108.213 no active checks on server [*.*.*.*:10051]: host [demos] not found
    27298:20201117:182308.240 no active checks on server [*.*.*.*:10051]: host [demos] not found
    27298:20201117:182508.265 no active checks on server [*.*.*.*:10051]: host [demos] not found
    27298:20201117:182708.296 no active checks on server [*.*.*.*:10051]: host [demos] not found
    27298:20201117:182908.325 no active checks on server [*.*.*.*:10051]: host [demos] not found
    27298:20201117:183108.355 no active checks on server [*.*.*.*:10051]: host [demos] not found
    27298:20201117:183308.383 no active checks on server [*.*.*.*:10051]: host [demos] not found
    27298:20201117:183508.503 no active checks on server [*.*.*.*:10051]: host [demos] not found
    27298:20201117:183708.536 no active checks on server [*.*.*.*:10051]: host [demos] not found
    27298:20201117:183908.564 no active checks on server [*.*.*.*:10051]: host [demos] not found
    27298:20201117:184108.589 no active checks on server [*.*.*.*:10051]: host [demos] not found
    27298:20201117:184308.623 no active checks on server [*.*.*.*:10051]: host [demos] not found
    27293:20201117:185123.023 Got signal [signal:15(SIGTERM),sender_pid:30838,sender_uid:111 ,reason:0]. Exiting ...
  • MadMax-007
    Junior Member
    • Nov 2020
    • 2

    #2
    This happens when you didn't set the Host Name correctly inside the Zabbix - Configuration - Hosts - { your host} - Host Name field.
    Make sure every hosts you want to monitor has an unique host name definied in Zabbix configuration and within the units (computer/server/unit) itself too.

    Comment

    • Hamardaban
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • May 2019
      • 2713

      #3
      https://www.zabbix.com/documentation...fig/hosts/host
      Host name Enter a unique host name. Alphanumerics, spaces, dots, dashes and underscores are allowed. However, leading and trailing spaces are disallowed.
      Note: With Zabbix agent running on the host you are configuring, the agent configuration fileparameter Hostname must have the same value as the host name entered here. The name in the parameter is needed in the processing of active checks.
      Last edited by Hamardaban; 18-11-2020, 19:06.

      Comment


      • ahmedsobeeh
        ahmedsobeeh commented
        Editing a comment
        I know that you were going to say that but to avoid this issue I used automatic registration and the same
        automatic registration the system inset its own hostname
    • Hamardaban
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • May 2019
      • 2713

      #4
      Well that you know! Make sure that everything works correctly during auto-registration.
      I hope the server address in agent config is not *.*.*.* but a normal ip address?

      Comment

      • ahmedsobeeh
        Junior Member
        • Nov 2020
        • 2

        #5
        This issue has been solved
        the issue was in the templet
        as when I used Linux zabbix agent templet it worked fine
        when tried the active did not work

        Comment

        Working...