Ad Widget

Collapse

Problem with setting up SMART monitoring on windows

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • INFinite
    Junior Member
    • Feb 2025
    • 10

    #1

    Problem with setting up SMART monitoring on windows

    Hello.
    I ran into this problem, when setting up SMART monitoring on windows(I tried it on different versions OS windows):
    Code:
    Cannot fetch data.: got error executing worker pool: failed to execute smartctl: "{\r\n \"json_format_version\": [\r\n 1,\r\n 0\r\n ],\r\n \"smartctl\":
    {\r\n \"version\": [\r\n 7,\r\n 4\r\n ],\r\n \"pre_release\": false,\r\n \"svn_revision\": \"5530\",\r\n \"platform_info\": \"x86_64-w64-mingw32-2012r2\",
    \r\n \"build_info\": \"(sf-7.4-1)\",\r\n \"argv\": [\r\n \"smartctl\",\r\n \"-a\",\r\n \"/dev/sda\",\r\n \"-j\"\r\n ],\r\n \"exit_status\": 4\r\n },\r\n \"local_time\":
    {\r\n \"time_t\": 1740725274,\r\n \"asctime\": \"Fri Feb 28 09:47:54 2025 RTZ\"\r\n },\r\n \"device\": {\r\n \"name\": \"/dev/sda\",\r\n \"info_name\":
    \"/dev/sda\",\r\n \"type\": \"scsi\",\r\n \"protocol\": \"SCSI\"\r\n },\r\n \"scsi_vendor\": \"Intel\",\r\n \"scsi_product\": \"Raid 1 Volume\",\r\n
    \"scsi_model_name\": \"Intel Raid 1 Volume\",\r\n \"scsi_revision\": \"1.0.\",\r\n \"scsi_version\": \"SPC-3\",\r\n \"user_capacity\": {\r\n \"blocks\": 111357952,
    \r\n \"bytes\": 57015271424\r\n },\r\n \"logical_block_size\": 512,\r\n \"scsi_lb_provisioning\": {\r\n \"name\": \"thin provisioned\",\r\n \"value\": 2,\r\n
    \"management_enabled\": {\r\n \"name\": \"LBPME\",\r\n \"value\": -1\r\n },\r\n \"read_zeros\": {\r\n \"name\": \"LBPRZ\",\r\n \"value\": 0\r\n }\r\n },\r\n
    \"rotation_rate\": 0,\r\n \"logical_unit_id\": \"0x61fa116d01000000001517ffff0aeb84\",\r\n \"device_type\": {\r\n \"scsi_terminology\":
    \"Peripheral Device Type [PDT]\",\r\n \"scsi_value\": 0,\r\n \"name\": \"disk\"\r\n },\r\n \"smart_support\": {\r\n \"available\": false\r\n },\r\n
    \"temperature\": {\r\n \"current\": 0,\r\n \"drive_trip\": 0\r\n },\r\n \"seagate_farm_log\": {\r\n \"supported\": false\r\n }\r\n}\r": exit status 4.
    The data is coming, but it does not have the correct format.

    Ubuntu 24
    zabbix server 7.2.4
    zabbix agent2 7.2.3
    smartmontools 7.4
    template is SMART by Zabbix agent 2

    Help me please
  • Answer selected by Donkey at 04-03-2025, 18:11.
    INFinite
    Junior Member
    • Feb 2025
    • 10

    Experimentally, I found out that the "SMART by Zabbix agent 2" template works with agent version 6.4.21 and possibly earlier. It does not work with versions 7.0.X or 7.2.X.

    The topic can be closed

    Comment

    • INFinite
      Junior Member
      • Feb 2025
      • 10

      #2
      Experimentally, I found out that the "SMART by Zabbix agent 2" template works with agent version 6.4.21 and possibly earlier. It does not work with versions 7.0.X or 7.2.X.

      The topic can be closed

      Comment

      Working...