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
  3. info about FileSystem.UsedPerc dci from netxms agent

info about FileSystem.UsedPerc dci from netxms agent

Scheduled Pinned Locked Moved Support
4 Posts 2 Posters 31.5k 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.
  • T
    T
    tivanni
    wrote on last edited by
    #1

    Hi guys!

    I have a centos server with agent installed (1.2.13) and I use the agent to get the percentage of used space on a specific file system (using parameter FileSystem.UsedPerc()).

    If I check the filesystem used space using the command "df" i got a value, while FileSystem.UsedPerc return a different value.

    I know that sometimes the output of df is not up to date, but i'd like to know how the agent get the FileSystem.UsedPerc...This filesystem have a huge number of file, so i can't use the command du because it takes about an hour

    Is the value returned from netxms agent more updated of the value obtained through "df"?

    Thank you for the help!

    1 Reply Last reply
    0
    • V
      V
      Victor Kirhenshtein
      wrote on last edited by
      #2

      Hi,

      how big is the difference? Also, in version 1.2.14 there was a fix in Linux agent in file system percentage calculation (before that fix percentage was always rounded down, so 3.99 would become 3.00 for example).

      Best regards,
      Victor

      1 Reply Last reply
      0
      • T
        T
        tivanni
        wrote on last edited by
        #3

        It's fixed to 6%!

        Yesterday Df said that filesystem's used space is 86% while netxms agent report 80%. Today df say 73% and the agent 68%.

        1 Reply Last reply
        0
        • V
          V
          Victor Kirhenshtein
          wrote on last edited by
          #4

          I suppose that df may report percentage of total space - reserved space used (so you actually can see 101% use in df for example). NetXMS agent returns percentage of used total space. You can see the difference by comparing FileSystem.Free/FileSystem.FreePerc with FileSystem.Avail/FileSystem.AvailPerc.

          Best regards,
          Victor

          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