Ad Widget

Collapse

vfs.file.time with wildcards

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • thebossbaby
    Junior Member
    • Jul 2019
    • 11

    #1

    vfs.file.time with wildcards

    Hello. Is there a way to monitor last modified activity for all files in a directory?

    I'm interested in monitoring a directory for any new log files that have been created in the last 24 hours. I understand that you can monitor single files and their last modified date using vfs.file.time but this item does not appear to accept wildcards (e.g. //home/logs/*.log/)
  • Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    #2
    Use vfs.dir.count[dir,<regex_incl>,<regex_excl>,<types_incl>,<types_ excl>,<max_depth>,<min_size>,<max_size>,<min_age>, <max_age>]

    Comment

    Working...