-
Change Request
-
Resolution: Unresolved
-
Minor
-
None
-
1.8.10
It is a simple question of Zabbix internal behavior.
The logrt is suported some file name written by regular expression.
Can it be supported directory name that contained regular expression?
----------------------------------------------------------------------------------------
Self test environment
Zabbix server / Agent :1.8.7-2
item : logrt[/var/log/test/....-..-../....-..-..\.log]
trigger :
=1
target file: /var/log/test/YYYY-MM-DD/YYYY-MM-DD.log
(real file name : /var/log/test/2012-03-09/2012-03-09.log)
The permission of target file is 755 ,ownership is zabbix:zabbix.
See attached file "zabbix_agentd.log"
----------------------------------------------------------------------------------------
According to http://fossies.org/dox/zabbix-1.8.10/logfiles_8c_source.html,
the target file that is separated by "Directory" and "File name"
It seems that the rotation log file detection by regular expression works only in "File name".
Is that right?