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

user parameters do not work with zabbix_agentd -t

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6
    • Fix Version/s: 1.8.3, 1.9.0 (alpha)
    • Component/s: Agent (G)
    • Labels:
      None
    • Environment:
      FreeBSD 7.1, Zabbix trunk

      Description

      The user parameters are broken on trunk. Here is the terminal out of of a local test on a machine.

      ginger# fgrep foo /usr/local/etc/zabbix_agentd.conf
      UserParameter=foo,/bin/echo woot
      ginger# /usr/local/etc/rc.d/zabbix_agentd restart
      Stopping zabbix_agentd.
      Waiting for PIDS: 7713 7714 7715 7716 7717 7718.
      Starting zabbix_agentd.
      ginger# su - zabbix -c '/bin/echo woot'
      woot
      ginger# zabbix_agentd -t foo
      foo [m|ZBX_NOTSUPPORTED]
      ginger# _

      Zabbix 1.4.6 gives me:

      foo [t|woot]

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              kjkoster Kees Jan Koster
            • Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: