Ad Widget

Collapse

[Trigger] Check if file is changed in the last hour

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • icetree
    Junior Member
    • Jul 2010
    • 2

    #1

    [Trigger] Check if file is changed in the last hour

    Hi,

    I'm trying to monitor a file with zabbix.
    I want to check if the file is changed in the last hour, if not then the trigger must come in action.

    I created an item that makes a checksum of the file (vfs.file.cksum).

    But i am having trouble creating the proper trigger.

    Does anyone know what the proper trigger is to monitor the file.

    This is what i have so far, but this one does not work.

    {TESTSERVER:vfs.file.cksum[c:\testfile.txt].change(0)}>0&{TESTSERVER:vfs.file.cksum[c:\testfile.txt].min(3600)}>0
    Last edited by icetree; 16-07-2010, 09:18.
  • icetree
    Junior Member
    • Jul 2010
    • 2

    #2
    Does any one know the correct trigger for this problem ?

    Comment

    Working...