I have seen a few examples and read the documentation but have been unable to get the now function to return a value. I'm using ver 3.0.0 of Zabbix and have tried the following
now
now()
now(0)
last(vfs.file.time[{$RHH.CTREE_BACKUP_FOLDER}\BACKUP.DAT]).now
last(vfs.file.time[{$RHH.CTREE_BACKUP_FOLDER}\BACKUP.DAT]).now()
last(vfs.file.time[{$RHH.CTREE_BACKUP_FOLDER}\BACKUP.DAT]).now(0)
each attempt results in an error similar to the following
Cannot evaluate function "now()": item "RHH.ctree:ctree.sct_trfls" not supported.
Is anyone able to provide an example of how I should be determining the number of seconds since a file was last updated.
Thanks,
Andrew
now
now()
now(0)
last(vfs.file.time[{$RHH.CTREE_BACKUP_FOLDER}\BACKUP.DAT]).now
last(vfs.file.time[{$RHH.CTREE_BACKUP_FOLDER}\BACKUP.DAT]).now()
last(vfs.file.time[{$RHH.CTREE_BACKUP_FOLDER}\BACKUP.DAT]).now(0)
each attempt results in an error similar to the following
Cannot evaluate function "now()": item "RHH.ctree:ctree.sct_trfls" not supported.
Is anyone able to provide an example of how I should be determining the number of seconds since a file was last updated.
Thanks,
Andrew
Comment