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

  1. Home
  2. Support (Russian)
  3. Параметр PhysicalDisk.SmartAttr

Параметр PhysicalDisk.SmartAttr

Scheduled Pinned Locked Moved Support (Russian)
6 Posts 3 Posters 58.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S
    S
    Stanislav
    wrote on last edited by
    #1

    Использую метрику PhysicalDisk.SmartAttr(/dev/pd1, Current_Pending_Sector) и в ответ получаю одни и те же данные (200). Такое ощущение что значение метрики берутся не из того value (возвращает всегда 200 а должен 34).
    Что я делаю не так?


    Данные взятые через скрипт.jpg

    Данные DCI.jpg

    DCI Physical_disk_smrt_attr.jpg

    1 Reply Last reply
    0
    • S
      S
      Stanislav
      wrote on last edited by
      #2

      Приложу скриншоты с Victoria, Crystaldiskinfo, GsmartControl в подтверждение что smart параметр должен возвращать значение 34 а не 200


      Данные GsmartControl.jpg

      Данные Victoria.jpg

      Данные Crystaldisk info.jpg

      1 Reply Last reply
      0
      • F
        F
        Filipp Sudanov
        wrote on last edited by
        #3

        Да, сейчас мы читаем только нормализованное значение, а нужны raw. Сделал тикет: https://github.com/netxms/netxms/issues/3199

        1 Reply Last reply
        0
        • S
          S
          Stanislav
          wrote on last edited by
          #4

          Спасибо. Буду ждать

          1 Reply Last reply
          0
          • A
            A
            Alex Kirhenshtein
            wrote on last edited by
            #5

            Реализовано в 6.1.2. Нужная метрика:

            PhysicalDisk.SmartAttrRaw(/dev/pd1, Current_Pending_Sector)
            

            По тикету https://github.com/netxms/netxms/issues/3199 добавлены четыре метрики с тем же набором аргументов, что у SmartAttr: SmartAttrRaw (raw/value), SmartAttrRawString (raw/string, для составных raw вида "8 177 10"), SmartAttrWorst (worst), SmartAttrThreshold (thresh).

            SmartAttr не изменялся и возвращает нормализованное value — это и есть 200. Нормализованное значение вычисляется по формуле производителя, у Current_Pending_Sector база 200, и оно остаётся неизменным, пока атрибут не приблизится к threshold. Для трендов и thresholds следует использовать SmartAttrRaw.

            Note: worst, thresh и raw присутствуют только в секции ata_smart_attributes, то есть для ATA/SATA. В выводе smartctl для NVMe этих полей нет — доступен только SmartAttr с именами полей из nvme_smart_health_information_log.

            Указание атрибута по числовому SMART ID (197 вместо Current_Pending_Sector) доступно начиная с 6.2.0, в 6.1.x работает только имя.

            1 Reply Last reply
            0
            • S
              S
              Stanislav
              wrote on last edited by
              #6

              Опробую. Отпишу

              1 Reply Last reply
              0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • 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