Ad Widget

Collapse

Two LLD with same key on one node

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sperr0w
    Member
    • Oct 2014
    • 44

    #1

    Two LLD with same key on one node

    Hello!

    may be somebody already solve this issue.

    I need to attach different triggers and metric interval for different filesystems that discovers in LLD rule.

    for example 60sec and Critical threshold for / and 600 sec and Warning threshold for /var.

    In this case I actially need two discovery rule, that will discover me different filesystem.

    I can set up rule to discover different filesystems by using filters, but I cant create two rule with the same key vfs.fs.discovery.

    also it is not possible to use vfs.fs.discovery with [], that could solve problem. For example vfs.fs.discovery[customer_fs], vfs.fs.discovery[admin_fs].

    The only solution I can find right now - is to create custom LLD key for filesystems, but it is not cool.

    May be somebody know other solution?
  • glebs.ivanovskis
    Senior Member
    • Jul 2015
    • 237

    #2
    Dirty workaround is to create Alias in agent's configuration file for vfs.fs.discovery (as many as you like) and use them as keys.

    Comment

    • pfouquet
      Junior Member
      • Jan 2012
      • 10

      #3
      Originally posted by sperr0w
      also it is not possible to use vfs.fs.discovery with [], that could solve problem. For example vfs.fs.discovery[customer_fs], vfs.fs.discovery[admin_fs].
      It should be possible in 3.2 (sponsored dev by my company)

      Comment

      Working...