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

In zabbix_agent2, key parameters in user parameters are closed with \" \"

    XMLWordPrintable

    Details

    • Type: Problem report
    • Status: Closed
    • Priority: Trivial
    • Resolution: Won't Do
    • Affects Version/s: 5.2.1, 5.2.2
    • Fix Version/s: None
    • Component/s: Agent (G)

      Description

      Steps to reproduce:

       

      user parameter example:

      UserParameter=test1[*], C:\zabbix_agent2\test1.bat "$1"

      test1.bat script:

      @Echo Off
      echo userparam1 - [%~1]

      Result:
      **

      [email protected]:~# zabbix_get -s 192.168.0.1 -p 10150 -k test1[userparam]
      userparam1 - [\"userparam\"]

       

        Attachments

          Activity

            People

            Assignee:
            rvaliahmetovs Renats Valiahmetovs
            Reporter:
            Skamer Max B
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: