Ad Widget

Collapse

Windows Agent "Mounted filesystem discovery" not finding ReFS formatted volumes

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • brwainer
    Junior Member
    • Jan 2016
    • 3

    #1

    Windows Agent "Mounted filesystem discovery" not finding ReFS formatted volumes

    Hello,

    I am having an issue where the Mounted Filesystem Discovery is finding ALL of my NTFS formatted volumes, and NONE of my ReFS formatted ones. I have searched this forum and the internet in general via Google, but have not seen anyone talking about this issue. My apologies in advance if it has been discussed elsewhere that I did not find.

    I have three Zabbix server installs, all on CentOS 7 minimal, fully updated, with Zabbix Server version 2.4.7. I am monitoring three Windows Server 2012 R2 installations, two physical and one virtual, all fully updated, and with agent version 2.4.4.52334 (per the version builtin to zabbix_agentd.exe).

    Each Windows server is created with the stock "Template OS Windows", with the only changes made to the triggers (change free disk space warning from 20% to 15%).

    Here is a summary of what volumes are present on each server, and whether they are found by the Mounted Filesystem Discovery.
    Server#1: (physical)
    C: - physical, NTFS, detected
    F: - physical, NTFS, detected
    G: - Storage Spaces, NTFS, detected
    M: - Storage Spaces, ReFS, not detected
    O: - Storage Spaces, ReFS, not detected
    Z: - Storage Spaces, ReFS, not detected

    Server#2: (VM)
    C: - Microsoft Virtual Disk, NTFS, detected
    X: - Microsoft Virtual Disk, ReFS, not detected
    Y: - Microsoft Virtual Disk, ReFS, not detected

    Server#3: (physical)
    C: - physical, NTFS, detected
    F: - Storage Spaces, NTFS, detected
    M: - Storage Spaces, ReFS, not detected
    O: - Storage Spaces, ReFS, not detected
    X: - Storage Spaces, NTFS, detected
    Y: - Storage Spaces, ReFS, not detected
    Z: - Storage Spaces, ReFS, not detected

    As I hope you can see, it does not appear to matter what underlying type of drive it is, any ReFS volume is not detected, and any NTFS volume is. Please let me know if there is anything I should do or check before filing a bug report for this issue.
  • Zabbix_User_1138
    Junior Member
    • Jul 2014
    • 21

    #2
    Hi brwainer

    Just add ReFS to the filesystem filter in "Administration -> General -> Regular expressions"
    Edit "File systems for discovery" and add ReFS like this:
    ^(btrfs|ext2|ext3|ext4|jfs|reiser|xfs|ffs|ufs|jfs| jfs2|vxfs|hfs|ntfs|fat32|zfs|refs)$

    Comment

    • brwainer
      Junior Member
      • Jan 2016
      • 3

      #3
      I've added this entry, and we'll seen over the next hour if it picks up the volumes. I'm pretty confident that it will. So my question is, why isn't this in there by default? I'd like to request that it be added, and I consider it a bug that it was missing.

      Comment

      • ingus.vilnis
        Senior Member
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Mar 2014
        • 908

        #4
        Hi,

        Hopefully tour ReFS volumes are discovered successfully now.
        From technical point of view Zabbix did just what it was told to do so this is not a bug.

        However having ReFS in filter "File systems for discovery" would be nice therefore you can create a feature request for next versions.


        Best Regards,
        Ingus

        Comment

        • brwainer
          Junior Member
          • Jan 2016
          • 3

          #5
          Originally posted by ingus.vilnis
          Hi,

          Hopefully tour ReFS volumes are discovered successfully now.
          From technical point of view Zabbix did just what it was told to do so this is not a bug.

          However having ReFS in filter "File systems for discovery" would be nice therefore you can create a feature request for next versions.


          Best Regards,
          Ingus
          Sorry I did forget to come back and say all was well after tweaking the config. I understand that the system is only working as configured, but the default configuration can also be considered part of the programming. To someone who doesn't realize the filesystem discovery is controlled by a RegEx in the server and not anything on the client as I thought it was, this behavior seems to be a bug. I will submit the feature request to have this updated.

          Comment

          • asaveljevs
            Zabbix developer
            • Feb 2010
            • 36

            #6
            The feature request was submitted by the author at https://support.zabbix.com/browse/ZBXNEXT-3122.

            Comment

            • heybeckerj
              Junior Member
              • Apr 2019
              • 1

              #7
              Hello,

              I've followed the instructions given in this thread and still my ReFS volume mounts are not discovered for my hosts
              The regular expression value is set as suggested:
              ^(btrfs|ext2|ext3|ext4|jfs|reiser|xfs|ffs|ufs|jfs| jfs2|vxfs|hfs|ntfs|fat32|zfs|refs)$


              I am running Zabbix Version 4.0.3

              Any assistance will be greatly appreciated

              Comment

              Working...