Ad Widget

Collapse

Zabbix Agent 2 looses connection with active checks template

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ActiveAgent
    Member
    • Oct 2021
    • 41

    #1

    Zabbix Agent 2 looses connection with active checks template

    ​ I installed agent 2 on an Ubuntu 21.10 out of the repo (https://repo.zabbix.com/zabbix/6.0/u...u20.04_all.deb). Edited the config as suggested (edited "ServerActive" with IP and Port for active checks), but I don't get a connection:
    Click image for larger version  Name:	firefox_mviXvTvO8I.png Views:	0 Size:	11.6 KB ID:	443078

    I reloaded the config-cache and restarted the proxy.

    When I test the connection from the server/proxy side (both run on the same Ubuntu machine) with "zabbix_get" it's working:
    Click image for larger version  Name:	bsJjA0PZji.png Views:	0 Size:	3.0 KB ID:	443077

    I don't have a firewall on the target machine running yet.

    When I switch the Template to "Linux by Zabbix agent" it's getting a connection right away.

    I also imported the Linux templates for my current server version 6.0 from the github repo - of course from the branch 6.0

    What did I miss?​
    Last edited by ActiveAgent; 12-04-2022, 20:53.
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    Does that mean the ZBX icon doesn't turn green? If there is only an active check, the ZBX icon will not turn green.

    ZBXNEXT-5088 : Set Agent icon color to green on getting "active" data


    If the value of the item cannot be obtained by active check, Zabbix agent side connects to Zabbix server side, so please check the settings such as Firewall on Zabbix server side.

    Also, I don't think there is any guarantee that Ubuntu 20.04 binaries will work properly on Ubuntu 21.04.

    Comment

    • ActiveAgent
      Member
      • Oct 2021
      • 41

      #3
      Thanks Atsushi!

      You´re right. All Checks are Agent acive checks. I changed one to passive and the Icon went green!

      I didn´t know that this only indicates connection for passive checks. Till now I worked with windows templaes and mixed check-types, so it never was an "issue" to me.

      Comment

      Working...