Monitoring file creation in Zabbix. How to make him swear that the file is not created?

Good all the health.
Haven't held in the hands of Zabbix and not set up his year 4. Don't remember.
The problem is this:
There are servers that do backups scripts.
You need to teach Zabbix to monitor a folder on the subject of new files and if not will create a file, immediately cursing the alarm.
June 14th 19 at 20:32
2 answers
June 14th 19 at 20:34
When something is forgotten, then you need to open and read the documentation:
View description of vfs.file.exists. It?
June 14th 19 at 20:36
For vfs.file.exists it is necessary to specify the exact file name. If it is in advance not known, but it is necessary, for example, keep track of the frequency of creating new files - it is easier to monitor the modification time of the parent folder by setting the vfs.file.time(FolderName)
And if the file name is known?!
Precisely how. Creates a backup of, say, the folder "Share" in the file "Share_2017-10-01.tar.gz" for example. Every day the date is shifted.
That this is probably the main problem, how to explain what the name of the file to be created. - Osborne_Okuneva commented on June 14th 19 at 20:39
Then you can do it via UserParameter - config registers the call the. bat file, which will be from the current date to calculate the pattern to look for on it file and to report to Zabbix found or not. - Audrey94 commented on June 14th 19 at 20:42

Find more questions by tags MonitoringZabbix