Hi,
I need to make a trigger on Zabbix that will send an Email when a specific file in specific folder with the current day exists or not.
So I tried the command :
Zabbix-get -s x.x.x.x(remote machine ip ) -k "vfs.file.exists[c:\tmp\14-11-25.zip]
This return 1 which means the file exists and it's OK.
However, this is not good enough because I need to check it daily.
Meaning I need to check whether file have been received everyday.
In other words, I need to make sure that a zip file with the current date has arrived to specific folder. Moreover the format of the file is yy-mm-dd.zip and cannot be changed.
Any idea how to accomplish that?
Thanks in advance
I need to make a trigger on Zabbix that will send an Email when a specific file in specific folder with the current day exists or not.
So I tried the command :
Zabbix-get -s x.x.x.x(remote machine ip ) -k "vfs.file.exists[c:\tmp\14-11-25.zip]
This return 1 which means the file exists and it's OK.
However, this is not good enough because I need to check it daily.
Meaning I need to check whether file have been received everyday.
In other words, I need to make sure that a zip file with the current date has arrived to specific folder. Moreover the format of the file is yy-mm-dd.zip and cannot be changed.
Any idea how to accomplish that?
Thanks in advance
Comment