Ad Widget

Collapse

error json: cannot unmarshal number into Go struct field Request.data.delay

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bartman10
    Junior Member
    • Aug 2022
    • 8

    #1

    error json: cannot unmarshal number into Go struct field Request.data.delay

    Windows 2019 Agent 5 sending logs to Zabbix 4 and Zabbix 5 server using PSK encryption. Works with Linux clients v5
    On Win clients we see the error below in the Zabbix 4 server.


    cannot parse list of active checks from [clientcomputer.com:10051]: json: cannot unmarshal number into Go struct field Request.data.delay of type string
  • bartman10
    Junior Member
    • Aug 2022
    • 8

    #2
    It seems Server 4.0 needs agents V1. So you can use Agent 5.0 v1 and it'll work with Server 4.0 and 5.0

    Comment

    • NgRox
      Member
      • Jun 2022
      • 44

      #3
      Originally posted by bartman10
      Windows 2019 Agent 5 sending logs to Zabbix 4 and Zabbix 5 server using PSK encryption. Works with Linux clients v5
      On Win clients we see the error below in the Zabbix 4 server.


      cannot parse list of active checks from [clientcomputer.com:10051]: json: cannot unmarshal number into Go struct field Request.data.delay of type string
      json: cannot unmarshal number into Go struct field Request.data.delay of type string

      Esse erro ocorre quando o Zabbix Agent não consegue analisar corretamente a lista de verificações ativas enviadas pelo Zabbix Server. A mensagem de erro indica que houve uma falha ao converter um número em uma estrutura de dados esperada pelo Zabbix Agent.

      A causa mais comum desse erro é a incompatibilidade de versões entre o Zabbix Agent e o Zabbix Server. Se você estiver executando uma versão mais antiga do Zabbix Agent que não suporta o formato de dados enviado pelo Zabbix Server mais recente, essa conversão falhará.

      A forma de resolver é utilizar a versão do Agent compatível com a do Zabbix, no seu caso, se usar a versão 5.0 ainda funciona, mas mesmo assim recomendo a 4.0, se utilizar agent2 receberá sempre esse erro.

      Valeu!​

      Comment

      Working...