Hi all,
I am creating a log monitoring where one directory name is nearly "random". So for this I want to use logrt, because it supports regular expressions in the path.
This is my item key:
If I test the regular expression on regex101.com it will be a full match.
But in Zabbix 4.0 it will not work:
So how I must quote the regex for zabbix or in general is it possible to use regex in the directory path?
Thanks!
I am creating a log monitoring where one directory name is nearly "random". So for this I want to use logrt, because it supports regular expressions in the path.
This is my item key:
Code:
logrt["/tmp/test-.*/test.logfile","Error"]
But in Zabbix 4.0 it will not work:
Code:
Cannot obtain directory information: [2] No such file or directory
Thanks!
Comment