I need to monitor some files that are dynamically generated everyday.
They all have a dynamic timestamp prefix and a constant suffix.
Something like this:
20220709101112_file_name.txt
With that, I can write a simple script to find and list all the new files.
I could use Zabbix Agent key vfs.file.get to collect the file data, but that key can only check for a single file.
I was wondering if there is a kind of vfs.file.discovery key that uses a pattern to find files.
Is there a key to find files based on regular expressions?
Does anyone else needs something like that?
They all have a dynamic timestamp prefix and a constant suffix.
Something like this:
20220709101112_file_name.txt
With that, I can write a simple script to find and list all the new files.
I could use Zabbix Agent key vfs.file.get to collect the file data, but that key can only check for a single file.
I was wondering if there is a kind of vfs.file.discovery key that uses a pattern to find files.
Is there a key to find files based on regular expressions?
Does anyone else needs something like that?
Comment