Ad Widget

Collapse

Item based on File

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Krustyish
    Junior Member
    • Sep 2016
    • 17

    #1

    Item based on File

    Hello Dear Team!

    I have directory which can contain an arbitrary number of files,
    can i in real time create pair file->item(sure, based on template), after created item I plan use it for get data from "parent for items" files via "vfs.file.regexp"

    Thank you for any idea!
  • glebs.ivanovskis
    Senior Member
    • Jul 2015
    • 237

    #2
    Looks like you need a custom LLD rule based on the output of ls for your directory.

    Comment

    • Krustyish
      Junior Member
      • Sep 2016
      • 17

      #3
      Originally posted by glebs.ivanovskis
      Looks like you need a custom LLD rule based on the output of ls for your directory.
      Thank you Dear Glebs!
      Please, say me, can i use LLD for dynamically create Host based on files, on manners use Zabbix Agent for create Items based on files
      Thank you!

      Comment

      • glebs.ivanovskis
        Senior Member
        • Jul 2015
        • 237

        #4
        I am not 100% sure that I get what you are trying to achieve... But there is such thing as Host Prototypes in LLD, so you can create a host per file.

        Comment

        Working...