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

      Steps to reproduce:

       

      user parameter example:

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

      test1.bat script:

      @Echo Off
      echo userparam1 - [%~1]

      Result:
      **

      root@ZABBIX:~# zabbix_get -s 192.168.0.1 -p 10150 -k test1[userparam]
      userparam1 - [\"userparam\"]

       

            rvaliahmetovs Renats Valiahmetovs (Inactive)
            Skamer Max B
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: