Ad Widget

Collapse

Always failed with first line using zabbix_sender on windows

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bensonZabbix
    Junior Member
    • Oct 2019
    • 2

    #1

    Always failed with first line using zabbix_sender on windows

    I am trying using zabbix_sender to communication with zabbix server on windows 10. But I always get the folliowing error:
    ================================================
    PS C:\> C:\zabbix_agents-4.4.0-win-amd64\bin\zabbix_sender.exe -z sazbxqa01 -i C:\temp\a.txt -vv
    zabbix_sender.exe [13280]: DEBUG: answer [{"response":"success","info":"processed: 1; failed: 1; total: 2; seconds spent: 0.000135"}]
    Response from "sazbxqa01:10051": "processed: 1; failed: 1; total: 2; seconds spent: 0.000135"
    sent: 2; skipped: 0; total: 2
    PS C:\>
    ================================================

    There should be no eror in the text file because I copy the first line to the second. Here is the content. I have attached the snapshot to this post.
    ================================================
    "SU_Cluster01" Littelfuse.VMWare.Cluster.DrsEnabled True
    "SU_Cluster01" Littelfuse.VMWare.Cluster.DrsEnabled True
    ================================================

    I have tried remove the \r\n from the end of the second line, but still sama erorr.
    Any idea about it?
    Please help. Thanks

    Benson
Working...