Ad Widget

Collapse

Fun with vfs.file.time

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dminstrel
    Member
    • Apr 2005
    • 72

    #1

    Fun with vfs.file.time

    Hello all,

    I'm struggling with how to define a trigger using vfs.file.time that would check whether a given file is not older than x number of days.

    This, of course, does not work:

    {myserver:vfs.file.time[/root/myfile.txt,modify].last(0)}<date

    Regards,

    Jonathan
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    {myserver:vfs.file.time[/root/myfile.txt,modify].fuzzytime(60)}=0
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    Working...