Ad Widget

Collapse

Remote commands on active agent

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • MRedbourne
    Senior Member
    • Feb 2023
    • 103

    #16
    I'd be happy to submit a bug report - unfortunately, I don't think I can. We don't have a support contract with Zabbix. It's been (relatively) stable to date.

    Comment

    • Markku
      Senior Member
      Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
      • Sep 2018
      • 1781

      #17
      You don't need a support contract, just create a user account there, and be mindful of their time: Describe the problem accurately, and provide simple steps how to reproduce the problem. And even better if you can show that the same config worked with 6.x and not working with 7.0 anymore. But based on your description and what it says in the documentation, this sounds like a clear bug.

      Markku

      Comment

      • MRedbourne
        Senior Member
        • Feb 2023
        • 103

        #18
        Ah, perfect. If anyone else has anything else to add (if you can)? [ZBX-24787] Unable to Execute Scripts/Commands from Server to Agent2 (7.0.0) - ZABBIX SUPPORT

        Comment

        • Markku
          Senior Member
          Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
          • Sep 2018
          • 1781

          #19
          I was able to reproduce the problem ("cannot find host AGENT interface") here, so I added my comments in the issue.

          Markku

          Comment

          • Markku
            Senior Member
            Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
            • Sep 2018
            • 1781

            #20
            While at it, I also opened another case about 7.0.0 agent remote command problem: ZBX-24799 ("Cannot execute script. timeout while retrieving result for remote command")

            Markku

            Comment

            • MRedbourne
              Senior Member
              • Feb 2023
              • 103

              #21
              Hey Markku,

              Do you know what the normal turn-around time is for them to investigate and resolve bug reports like this?

              Comment

              • Markku
                Senior Member
                Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
                • Sep 2018
                • 1781

                #22
                Originally posted by MRedbourne
                Do you know what the normal turn-around time is for them to investigate and resolve bug reports like this?
                Well, I would have assumed this kind of problem was resolved quite fast, but the only public direct activity I see in the issue is assignment to a person that hasn't had any public activity in almost three weeks, so maybe the holiday season and other even more prevalent issues affect the task queue.

                I always recommend voting for the issues that really affect the readers. The voter list is not public and requires creating the (free) account in support.zabbix.com. Votes may or may not affect developer team's priorities. Plus paying support customers have better chances getting things forward of course.

                (Update: Sorry, I actually looked at the other issue (created by me) when commenting above, not the one created by you. But no public progress on that issue either during the last 10 days or so.)

                Markku
                Last edited by Markku; 16-07-2024, 08:21.

                Comment

                • aigars.kadikis
                  Senior Member
                  Zabbix Certified SpecialistZabbix Certified Professional
                  • Mar 2018
                  • 208

                  #23
                  I can confirm the problem is more on the side of the Zabbix proxy.
                  With proxy 7.0.2, it will say: "cannot find host AGENT interface".
                  With proxy 7.0.6, it will say: "Zabbix agent interface is not defined for host".

                  With central server 7.0.8 and Zabbix proxy 7.0.7, 7.0.8, it works just like it should. The interface for active checks does not even exist (active checks do not require an interface), but it can still execute remote commands.

                  Please check /etc/zabbix/zabbix_agentd.conf to not use the old setting:
                  RefreshActiveChecks=120
                  Delete this line! So it's using default RefreshActiveChecks=5

                  By using 120 seconds, the proxy will NOT receive an answer in time. The frontend will produce feedback:
                  "timeout while retrieving result for remote command"

                  Probably a good idea to check "ProxyConfigFrequency" in /etc/zabbix/zabbix_proxy.conf, It works with the default setting:
                  ProxyConfigFrequency=10


                  Tested and it works with:
                  Zabbix server 7.0.8
                  Zabbix proxy 7.0.7, 7.0.8
                  Zabbix agentd 7.0.2, 7.0.8

                  Comment

                  • kyus
                    Senior Member
                    • Feb 2024
                    • 171

                    #24
                    Hey! Just to close this thread, this issue was fixed with the release of Zabbix 7.0.4.

                    Comment

                    Working...