Ad Widget

Collapse

logrt item with changeable path

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Denis.Barbu
    Junior Member
    • Feb 2023
    • 7

    #1

    logrt item with changeable path

    Hi, can someone help me with this

    i have an item :

    Code:
    logrt["l:\CreatioLog\Creatio\0\Log\^\d{4}_\d{2}_\d{2}\Integration\EgovClient.log","StatusCode"]
    it`s not working

    get in log

    Code:
    there are no recently modified files matching "^\d{4}_\d{2}_\d{2}\Integration\EgovClient.log" in "l:\CreatioLog\Creatio\0\Log\"
    what i`m doing wrong
  • Denis.Barbu
    Junior Member
    • Feb 2023
    • 7

    #2

    The most important thing I want to understand is, if zabbix can read logs with path that changes its name​

    Comment

    • Hamardaban
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • May 2019
      • 2713

      #3
      Why not just read the documentation?



      https://www.zabbix.com/documentation...utmaxdelayopti onspersistent-dir

      Parameters:
      • file regexp - the absolute path to file and the file name described by a regular expression. Note that only the file name is a regular expression.

      Comment

      • Denis.Barbu
        Junior Member
        • Feb 2023
        • 7

        #4
        Originally posted by Hamardaban
        Why not just read the documentation?
        First of all thanks for anser,
        Second, the reason why i ask this is..

        read a lots off article or, topics in forum that ppl try to do this, and give some models..

        Comment

      Working...