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

Target list is redundant in Action -> Operation for remote command executed on server

XMLWordPrintable

      There is an option to select targets for remote commands executed on server (in Action -> Operations):

      When multiple hosts are specified it results multiple same command executions, and all macros are being expanded for "Current host" context.

      Documentation states that "A command on a host is executed only once, even if the host matches more than once (e.g. from several host groups; individually and from a host group)" and "host level macros are checked first".

      So as far as I understand, there should be:
      A change in macro expansion logic so this feature can be used to specify host-specific macro in remote command
      or
      Target list should be removed from remote commands executed on server as all commands are executed in "current host context"

        1. target_list.png
          21 kB
          Vjaceslavs Bogdanovs

            alexei Alexei Vladishev
            vjaceslavs Vjaceslavs Bogdanovs
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: