Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-25322

Unable to run Remote Command as Trigger Action Operation while in a Proxy Group

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 7.0.6rc1, 7.2.0beta1
    • None
    • Proxy (P)
    • None
    • S24-W44/45, S24-W46/47
    • 0.5

      Zabbix Server 7.0.4/Proxy 7.0.3

      I have a set of hosts being monitored by a Proxy Group.  I set up a new Script as a Remote Command (SSH with sshkey).  I tested the Script as a Manual Host Action and it works fine.  Cloned the Script and set as an Action Operation and added to the Trigger Action.  The action is to restart a service if it is detected down.

      As a test, I stop the service on a test system and wait for Zabbix to see it.  The service down is detected, but the Remote Command action Fails with the message "Host is monitored by proxy group, but its proxy assignment is still pending."  The proxy assignment appears unchanged from what I can tell.  If I change the Host from being monitored by the Group to being monitored directly by that same Proxy that had been selected, it works.  Change back to Group (same proxy is selected) and run the test again and Fails with the assignment pending error.  Tested with another Host in the same Proxy Group, but assigned to another Proxy, same error.

      I think this is a bug.

        1. zbx25322-1.png
          44 kB
          Tomasz Grzechulski

            wiper Andris Zeila
            dcskinner Dennis Skinner
            Team A
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: