Ad Widget

Collapse

Monitor File Change

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • brekler88
    Junior Member
    • Jul 2015
    • 7

    #1

    Monitor File Change

    Hello, i have a question, is it possible to monitor when a file STOP being changed ?

    For example, i have a file here (log) that when stops changing means the service has a problem, so i need to check every X minutes if the file is changing.

    I used the "passwd" logic, but have no idea how to do the trigger.

    The item i did this:

    vfs.file.cksum[E:\Sistemas\Gecex\Gecex_Prod\Gecex\servico.log]

    and the trigger this

    {fsserver:vfs.file.cksum[E:\Sistemas\Gecex\Gecex_Prod\Gecex\servico.log].diff(0)}>0

    Doing this i will have an incident all the time.

    Any ideas how i can do this ?

Working...