Ad Widget

Collapse

Help with Low Level Discovery of file systems

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nicolasg
    Member
    • Apr 2011
    • 50

    #1

    Help with Low Level Discovery of file systems

    Hi,

    I'm using latest version of Zabbix 2.4.3 (Server and Agent) and I need some help to make the LLD file system to work.

    Using the official Template OS Linux I have the bellow default configuration :

    Discovery rule :



    Filters :


    Unfortunately I can see no items discovered by Zabbix, is there something I'm missing in order to make the LLD rules to work ? What I'm trying achieve is to have Zabbix automatically discovering all available partitions in each different node system, creating item metrics and triggers...

    Any help is appreciated.

    Kind regards,
    N.
  • ingus.vilnis
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Mar 2014
    • 908

    #2
    Hi,

    There are some things you can check.

    1. Go to Administration -> General, select Regular expressions in top right dropdown and see if you have a rule named "File systems for discovery".
    By default it should contain a sting like this:
    Code:
    ^(btrfs|ext2|ext3|ext4|jfs|reiser|xfs|ffs|ufs|jfs|jfs2|vxfs|hfs|ntfs|fat32|zfs)$
    2. Then you can retrieve the discovery data from Zabbix server using zabbix_get utility.
    Code:
    zabbix_get -s <IP of host to discover filesystems> -k vfs.fs.discovery
    If you get errors here, check what are they. If you get some data output, make sure the discovered {#FSTYPE} matches any of the file systems defined in regular expression above.

    Best Regards,
    Ingus

    Comment

    • nicolasg
      Member
      • Apr 2011
      • 50

      #3
      Thanks ingus.vilnis, it works now.

      Comment

      Working...