Let's start with the simpler case, monitoring a single file. To do so, we could create a couple of test files. To keep things a bit organized, let's create a directory, /tmp/zabbix_logmon/, on A test host and create two files in there, logfile1 and logfile2. For both files, use the same content as this:
2018-08-13 13:01:03 a log entry2018-08-13 13:02:04 second log entry2018-08-13 13:03:05 third log entry
With the files in place, let's proceed to creating items:
- Navigate to Configuration | Hosts, click on Items next to A test host, then click on Create item. Fill in the ...