Ad Widget

Collapse

Active agent unknown status

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • linkspec
    Junior Member
    • Mar 2020
    • 1

    #1

    Active agent unknown status

    I suspect this is a misunderstanding on my part, but I'm confused about the active agent function. I have a small home lab with a mix of proxmox VMs, containers and a NAS, which I'm looking to monitor. I've configured discovery and my devices are showing up in the hosts list.

    My plan was to then work my way through the list installing the agent on each discovered device, adding the appropriate template to each host as I went. However, I've found that this does not work as I expected. If I add the agent, configure it and then add the "Template OS Linux - active agent" to the host object on the server, the device shows up as unknown - the host list does not highlight the 'ZBX' icon and the dashboard 'unknown' count does not update the device. If I add an application template to the host, it then works as expected. If I add the non-active template, it works, but with limited data. As far as I can see, I cannot simply spin up a basic Linux server and monitor it with the active agent.

    Whats throwing me is that according to the documentation, this is how its meant to behave: https://www.zabbix.com/documentation...wn_host_status. So I guess my question is, if my above understanding of how it works is incorrect, then whats the correct way to do this?
  • rcaugustine
    Junior Member
    • Jun 2020
    • 4

    #2
    I am having the exact same issue that you described. Did you ever figure out what the issue was? I am running Zabbix 5.0 on a CentOS 8 box if that helps at all.

    Comment

    • malik.tekin
      Junior Member
      • Jun 2022
      • 2

      #3
      In the active mode, all data processing is performed on the agent, without the interference of pollers (internal server processes). I mean no initial connection from server side in the active mode. So, if there are only active checks, "unknown state" for ZBX makes sense.

      Comment

      • Ranjith.Rokkam
        Junior Member
        • Oct 2023
        • 14

        #4
        HI Team - Can someone help us out on the mentioned Active Check issues,

        Zabbix Icon shows grayed out and showing as active checks unknown.

        Regards,
        Ranjith R

        Comment

        • vijayk
          Senior Member
          • May 2023
          • 305

          #5
          Originally posted by Ranjith.Rokkam
          HI Team - Can someone help us out on the mentioned Active Check issues,

          Zabbix Icon shows grayed out and showing as active checks unknown.

          Regards,
          Ranjith R
          Hi,

          Did you check in agent.config file for below values?

          Server=Zabbix Server
          ServerActive= Zabbix Server
          HostName=SystemHostName

          and in Zabbix->Host, field Hostname is same as Hostname entered in agent.config.

          Comment

          • dimir
            Zabbix developer
            • Apr 2011
            • 1080

            #6
            If you want to get green when using only active checks - remove Agent interface.​

            Comment

            • Ranjith.Rokkam
              Junior Member
              • Oct 2023
              • 14

              #7
              Hi dimir

              Thanks for your quick response, i have validated the below paramters in the server, Service Active is # and hostname is same addedi in frontend
              Server=Zabbix Server
              #ServerActive= Zabbix Server
              HostName=SystemHostName​

              Comment

              • vijayk
                Senior Member
                • May 2023
                • 305

                #8
                Originally posted by Ranjith.Rokkam
                Hi dimir

                Thanks for your quick response, i have validated the below paramters in the server, Service Active is # and hostname is same addedi in frontend
                Server=Zabbix Server
                #ServerActive= Zabbix Server
                HostName=SystemHostName​
                Remove # and enter zabbix server ip there.

                Comment

                • Ranjith.Rokkam
                  Junior Member
                  • Oct 2023
                  • 14

                  #9
                  Hi vijayk

                  Same configuration is there for other servers in same environemnt, those servers not having issues with Agent status but only these servers.

                  My Zabbix Server Version Zabbix 6.2.7.

                  Regards,
                  Ranjith R

                  Comment

                  • vijayk
                    Senior Member
                    • May 2023
                    • 305

                    #10
                    Originally posted by Ranjith.Rokkam
                    Hi vijayk

                    Same configuration is there for other servers in same environemnt, those servers not having issues with Agent status but only these servers.

                    My Zabbix Server Version Zabbix 6.2.7.

                    Regards,
                    Ranjith R
                    Can you share the config file and host screenshot?

                    Comment

                    • brahma08
                      Junior Member
                      • Apr 2025
                      • 3

                      #11
                      hi, problem solved ? I have same issue

                      Comment

                      Working...