Ad Widget

Collapse

Zabbix and ZFS on Linux

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chrisfb
    Junior Member
    • May 2013
    • 10

    #1

    Zabbix and ZFS on Linux

    Hi,

    For some reason my Zabbix doesn't see ZFS mounts but zabbix-agent get see them:

    Code:
    vfs.fs.discovery                              [s|{
            "data":[
    
    [B][CUT][/B]
    
                    {
                            "{#FSNAME}":"\/ZFS",
                            "{#FSTYPE}":"zfs"},
                    {
                            "{#FSNAME}":"\/ZFS\/elasticsearch",
                            "{#FSTYPE}":"zfs"},
                    {
                            "{#FSNAME}":"\/ZFS\/mongodb",
                            "{#FSTYPE}":"zfs"},
                    {
                            "{#FSNAME}":"\/ZFS\/backup",
                            "{#FSTYPE}":"zfs"}]}]

    Code:
    Zabbix agent v2.0.5 (revision 33558) (12 February 2013)
    Compilation time: Feb 13 2013 20:29:50
    What are my other options?

    Thanks
    Chris
  • tchjts1
    Senior Member
    • May 2008
    • 1605

    #2
    In the frontend go to Administration --> General and select Regular Expressions from the dropdown at the top right. Add zfs to this string...

    ยป ^(btrfs|ext2|ext3|ext4|jfs|reiser|xfs|ffs|ufs|jfs| jfs2|vxfs|hfs|ntfs|fat32)$ [Result is TRUE]

    Comment

    • chrisfb
      Junior Member
      • May 2013
      • 10

      #3
      Hi!

      I've done it (google ;-) )and... it took some (LONG!) time to update "Filesystems" on monitored host.

      I've tried decreasing time for re-discovery of not supported things but that didn't worked too well ether hence my post.

      When it finally started working, my thread wasn't visible to me so I couldn't reply/delete

      Anyway, thank you very much for your quick help. Fantastic support!


      Thanks
      Chris

      Comment

      • tchjts1
        Senior Member
        • May 2008
        • 1605

        #4
        No problem.

        Discovery rules can sometimes take upwards of 1 hour to take effect with any changes you make.

        Decreasing discovery time of unsupported items will not affect this, as you have found out.

        Comment

        Working...