Ad Widget

Collapse

LLD not discovering filesystems

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • clayton940
    Junior Member
    • Jul 2014
    • 21

    #1

    LLD not discovering filesystems

    Hello First Time poster, new user....

    I am using Zabbix 2.0.4 via the appliance. I am running an LLD on an HPUX enviornment. I have modified the default LLD for mounted filesystems and made some changes. What I am trying to do is detect all filesystems except for ones that contain a name we will say the name is "foo" and the filesystem can be anything like this:

    /something/foo
    /something/foo1
    /something/someting/foo2

    etc...

    Here is what my discovery looks like:

    Filter -> Macro {#FSNAME}
    RegExp -> @MyFilesystem


    Here is the regex

    MyFileSystem -> \\foo [Result] is false

    On the zabbix server I can see where it's calling the vfs.fs.discovery and I can run a zabbix_get and return all the FSNAME's but I think I am missing something as I can't get it to return anything for the client being monitored.

    And all the tests on the RegEx seem to pass so I'm not very sure on what is occuring here. Any insight would be appreciated.

    Thanks...
  • clayton940
    Junior Member
    • Jul 2014
    • 21

    #2
    Ok I think I found the issue the RegEx had a typo instead of being:

    \\foo

    it should have been

    \/foo

    Comment

    • jvalenzani
      Member
      Zabbix Certified Specialist
      • Sep 2010
      • 53

      #3
      ^.*\/foo.*$

      Comment

      Working...