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. How to get specific partition free space rather than filesystem on Netxms

How to get specific partition free space rather than filesystem on Netxms

Scheduled Pinned Locked Moved Support
3 Posts 2 Posters 39.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.
  • A
    A
    alireza.stack
    wrote on last edited by
    #1

    In Netxms dashboard I used the below parameter to get / free space:

    FileSystem.Free(/)
    Now I want to get a specific partition's free space as below:

    But it gives incorrect free space. How to get /var free space?

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

      Hi,

      FileSystem.Free(/var) will collect free space for /var partition if it's really a separate partition mounted on /var. If it is just a directory on root partition, it will return free space on roou partition. Check with mount command what are actual mount points on your system.

      Best regards,
      Victor

      1 Reply Last reply
      0
      • A
        A
        alireza.stack
        wrote on last edited by
        #3

        Actually it is not a directory. I used df -h to see all available partitions. /var is one of them. I've got some new information! There are some NFS on /var partition! I think netxms cannot get correct available space due to NFS in /var....

        I used instance discovery with FileSystem.MountPoints and I could see that there are some nfs inside of /var.
        What should I do now?

        Instance discovery list all partitions, but with error. The below picture shows just a portion of partitions. /var is part of them.

        Filesystem                                                  Size        Used      Avail        Use%          Mounted on
        172.16.131.2:/var/storage/files/inbox          45G        18G        25G          42%            /var/storage/files/inbox

        FileSystem.Free(/var/storage/files/inbox) shows 29G!
        FileSystem.Avail(/var/storage/files/inbox) shows 26G!


        Screen Shot 2015-08-23 at 9.13.59 AM.png

        Screen Shot 2015-08-23 at 9.34.06 AM.png

        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