Ad Widget

Collapse

How to log a file with a date in it's name?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ThomasLevandovsky
    Junior Member
    • May 2018
    • 7

    #1

    How to log a file with a date in it's name?

    Hi,

    I would like to read a logfile with a date in it's name. (everyday new one is created in the same directory)
    The file goes like "constant_name_YYYYMMDD". I've tried to use the logrt function but I think I've messed up with attributes.
    I would like to also add it as a Macro to my Template: (screen in the attachement)

    My Zabbix Agent version is 3.2.7.2


  • HaveDill
    Senior Member
    • Sep 2014
    • 103

    #2
    You can use wildcards. Use logrt[contstant_name_*,,,,skip,]

    Comment

    Working...