Ad Widget

Collapse

Zabbix Agent2 SMART monitoring on Win workstations -JSON Go error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • avial
    Junior Member
    • Dec 2022
    • 2

    #1

    Zabbix Agent2 SMART monitoring on Win workstations -JSON Go error

    Hi all! I try to setup SMART monitoring on number of Windows computers in my organisation, and discovery of disks and request with key `smart.disks.get` just returns good JSON with all info, but after that requests about new information on discovered disks such a
    HTML Code:
     zabbix_get -s some-ip -p 10050 -k 'smart.disk.get[/dev/sda,""]'
    fails with error ZBX_NOTSUPPORTED: Cannot fetch data: Cannot unmarshal JSON: json: cannot unmarshal number 2285107743303 into Go struct field rawField.ata_smart_attributes.table.raw.value of type int.

    it is possible to find some workaround ti this?

    default "SMART by Zabbix Agent 2" template
    zabbix server: 6.0.9
    zabbix_agent2: 6.0.9
    smartmintools: 7.0.1-1
  • avial
    Junior Member
    • Dec 2022
    • 2

    #2
    oh, i find it. zabbix agent must be same architecture as monitored host

    Comment

    • LeapAmol
      Junior Member
      • Feb 2023
      • 2

      #3
      Well, I got an issue while using SMART with agent2.

      SMART [sda cciss,0]: Some command to the disk failed
      SMART [sda cciss,0]: Some command to the disk failed

      please help me to fix this.

      Comment

      • LeapAmol
        Junior Member
        • Feb 2023
        • 2

        #4
        Click image for larger version

Name:	image.png
Views:	235
Size:	8.7 KB
ID:	460038
        Here are the errors ​

        Comment

        Working...