Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

S

sonadorje

@sonadorje
Unfollow Follow
About
Posts
1
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Get S.M.A.R.T. value through smartmontool
    S sonadorje
    Support

    Expert:
      This is the detail of configure smartmontool.
      1.how to configure agent's file at client?

    ExternalParametersProvider = C:\netxms\Smart.cmd:3600
    ExternalParameter = Read_Error_Rate:cmd.exe /c C:\NetXMS\SMART-01.cmd
    ExternalParameter = Spin_Up_Time:cmd.exe /c C:\NetXMS\SMART-03.cmd
    ExternalParameter = Reallocated_Sector_Ct:cmd.exe /c C:\NetXMS\SMART-05.cmd
    ExternalParameter = Seek_Error_Rate:cmd.exe /c C:\NetXMS\SMART-07.cmd
    ExternalParameter = Spin_Retry_Count:cmd.exe /c C:\NetXMS\SMART-10.cmd
    ExternalParameter = Calibration_Retry_Count:cmd.exe /c C:\NetXMS\SMART-11.cmd
    ExternalParameter = G-Sense_Error_Rate:cmd.exe /c C:\NetXMS\SMART-191.cmd
    ExternalParameter = Reallocated_Event_Count:cmd.exe /c C:\NetXMS\SMART-196.cmd
    ExternalParameter = Current_Pending_Sector:cmd.exe /c C:\NetXMS\SMART-197.cmd
    ExternalParameter = UDMA_CRC_Error_Count:cmd.exe /c C:\NetXMS\SMART-199.cmd
    ExternalParameter = Multi_Zone_Error_Rate:cmd.exe /c C:\NetXMS\SMART-200.cmd

     
    smart.cmd

    @echo off
    C:\smartmontools\bin\smartctl.exe -A -f brief sda > C:\netxms\SmartTest.txt

    SMART-01.cmd code

    @echo off
    C:\NetXMS\Smartinfo "C:\netxms\SmartTest.txt" -Raw_Read_Error_Rate

    the smartinfo is a tools writed by myself,it read value from smartTest.txt that smartctl output.

    2.how to create a DCI and get return value?
      after create a DCI,in the transformation write

    int32($1)
    

     


    2016-06-13_09h58_57.png

    2016-06-13_10h16_10.png

    2016-06-13_10h16_41.png

    SmartInfo.zip

  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups