As I understand fuzzy time compares "X" with the zabbix system time...
With that in mind, Can i use fuzzy time on a file and check to see if its older than 31 days old?
For example..
{Myhost:vfs.file.time[Root\Errorlog.txt].fuzzytime(2678400)}=0
267844 being 31 days in seconds
So would this, "in theory" trigger if errorlog.txt is more than 2678400 seconds differnt than the server time? Because as I also understand it vfs.file.time returns a time that is (in seconds) the time from jan 1st 1970 ? So this is an ever increasing number.
Please please correct me if I am wrong on any of this, I just need some clarity and bounce this off you Zabbix experts! :P
Thanks!
With that in mind, Can i use fuzzy time on a file and check to see if its older than 31 days old?
For example..
{Myhost:vfs.file.time[Root\Errorlog.txt].fuzzytime(2678400)}=0
267844 being 31 days in seconds
So would this, "in theory" trigger if errorlog.txt is more than 2678400 seconds differnt than the server time? Because as I also understand it vfs.file.time returns a time that is (in seconds) the time from jan 1st 1970 ? So this is an ever increasing number.
Please please correct me if I am wrong on any of this, I just need some clarity and bounce this off you Zabbix experts! :P
Thanks!