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

Redundant escaping backslash in wmi.getall key

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 4.4.1
    • None

      Steps to reproduce:

      1. Create and share folder in Windows Server machine (Win 2012 and later). For example folder path is E:\MY_SOFT
      2. Create item in Zabbix with following key: wmi.getall[wmi.getall[root\microsoft\windows\smb,"select Name,Path,CurrentUsers from MSFT_SmbShare"]
      3. See latest data of this key

      Result:

      [
        ...
        {
          "CurrentUsers": 0,
          "Name": "ASUSE_APP",
          "Path": "E:\\\\MY_SOFT"
        }
        ...
      ]

      Expected:

      [ 
        ...
        { 
          "CurrentUsers": 0, 
          "Name": "ASUSE_APP", 
          "Path": "E:\\MY_SOFT" 
        }
        ...
      ]
      

            zabbix.dev Zabbix Development Team
            alex_spq Alex Alexandrov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: