Ad Widget

Collapse

web frontend display mystery character when run 'ipconfig' on windows agent

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bixsix
    Junior Member
    • Jan 2021
    • 5

    #1

    web frontend display mystery character when run 'ipconfig' on windows agent

    hey guys, when I set a new item that want to get ip infomation from my win agent, i met problem show as below:

    Deploy structure: CentOS7 Server + Win10 Agent
    Mode: Active Only

    Here is item screenshots:

    Click image for larger version

Name:	Snipaste_2021-01-08_22-23-39.png
Views:	222
Size:	30.7 KB
ID:	416432


    win10 agent zabbix_agent2.conf:
    Click image for larger version

Name:	333333.png
Views:	194
Size:	98.7 KB
ID:	416434


    and result on web Latest data, most of characters display not correctlly:
    Click image for larger version

Name:	222.png
Views:	168
Size:	32.4 KB
ID:	416433




    Can some friends tell me what happened, is it encoding problem, or others?
  • markfree
    Senior Member
    • Apr 2019
    • 868

    #2
    Your CMD console must be using a different encoding from Zabbix.
    If I'm not mistaken Zabbix expects UTF-8 by default.

    See if this discussion makes sense.

    Try switching your "type of information" to "log" and see if it helps.

    Comment

    • bixsix
      Junior Member
      • Jan 2021
      • 5

      #3
      markfree very thanks for the reply! it's indeed CMD console enconding problem. the latest data display properly now after CMD code page set to utf8.
      reference: https://stackoverflow.com/questions/...ershell-window

      Comment

      Working...