Ad Widget

Collapse

"there are no recently modified files matching" on logrt windows

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Enricosx
    Junior Member
    • May 2023
    • 3

    #1

    "there are no recently modified files matching" on logrt windows

    hi,
    i'm new.

    i use:
    • zabbix 6.4 on ubuntu server
    • agent 2 on windows 11 64 pro
    i want monitoring
    C:\Users\Enrico\AppData\Roaming\S3Browser\logs
    s3browser-win32-2023-04-29-log.txt
    s3browser-win32-2023-05-14-log.txt
    s3browser-win32-........-log.txt​

    i create this item
    Click image for larger version

Name:	2023-05-14 09_41_19-Zabbix Server_ Configurazione item.jpg
Views:	660
Size:	90.1 KB
ID:	464378



    i create new line in "C:\Users\Enrico\AppData\Roaming\S3Browser\log s\s3 browser-win32-2023-05-14-log.txt"

    [I] [2023-05-14 09:15:55] Successfully deleted abaco/tmp/64864084+84 (9) TaskID: 629
    [I] [2023-05-14 09:15:55] Synchronization completed. TaskID: 609
    [I] [2023-05-14 09:15:55] prova
    [I] [2023-05-14 09:23:55] test
    [I] [2023-05-14 09:33:55] CIAO CIAO CIAO​

    but agent log write

    2023/05/14 09:43:33.016990 there are no recently modified files matching "s3browser-win32-*-log.txt" in "C:\Users\Enrico\AppData\Roaming\S3Browser\log s"

    What am I doing wrong?
    Thanks.
  • Answer selected by Enricosx at 14-05-2023, 19:49.
    Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    This is because your expression does not correctly describe the file name.
    You mast use a regular expression to describe the files
    Code:
    "C:\Users\Enrico\AppData\Roaming\S3Browser\logs\^s3browser-win32-.*-log.txt$"

    Comment

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

      #2
      This is because your expression does not correctly describe the file name.
      You mast use a regular expression to describe the files
      Code:
      "C:\Users\Enrico\AppData\Roaming\S3Browser\logs\^s3browser-win32-.*-log.txt$"

      Comment

      Working...