Hey everyone,
Im new here and at Zabbix and trying to grasp all of the information.
At my work I need to monitor a text file for a certain line but the text file name change according the day it is made on with a date. as example EODPROCESS-20241120.log
Ive been trying to do an item : vfs.file.contents[C:\Office\Log\EodProcess,EODPROCESS-,,,,,,,86400,]
but as it seems its going for the oldest file and not just the one that have been made today and show an error of too much parameters.
Any idea how should I write it so it will monitor the last file that has been made?
Thanks in advance and to all the community here with all the information you give.
Im new here and at Zabbix and trying to grasp all of the information.
At my work I need to monitor a text file for a certain line but the text file name change according the day it is made on with a date. as example EODPROCESS-20241120.log
Ive been trying to do an item : vfs.file.contents[C:\Office\Log\EodProcess,EODPROCESS-,,,,,,,86400,]
but as it seems its going for the oldest file and not just the one that have been made today and show an error of too much parameters.
Any idea how should I write it so it will monitor the last file that has been made?
Thanks in advance and to all the community here with all the information you give.
Comment