Hello,
I have Zabbix Agent version 3.4 running on a Server 2012R2 machine. The machine runs a DFS backlog report every day at 9am. The report is a simple text file that contains the date and the backlog count. I would like for Zabbix to pull the count from the text file and alert me if the count goes above 100.
The text file is located at C:\DFSLog.txt
This file contains the following:
3/14/2018 9:00:10 AM servername 0
So I need to get this 0 value on my zabbix server.
So I created an item in Zabbix under the host where the report is located Named "DFS", type "Zabbix Agent", key vfs.file.regexp["C:\DFSLog.txt",], text.
Is this possible with regexp?
Thanks!
I have Zabbix Agent version 3.4 running on a Server 2012R2 machine. The machine runs a DFS backlog report every day at 9am. The report is a simple text file that contains the date and the backlog count. I would like for Zabbix to pull the count from the text file and alert me if the count goes above 100.
The text file is located at C:\DFSLog.txt
This file contains the following:
3/14/2018 9:00:10 AM servername 0
So I need to get this 0 value on my zabbix server.
So I created an item in Zabbix under the host where the report is located Named "DFS", type "Zabbix Agent", key vfs.file.regexp["C:\DFSLog.txt",], text.
Is this possible with regexp?
Thanks!
Comment