Hi,
logrt will not match with a regexp.
with this example:
logrt["{$PGLOGDIR}/postgresql-.*\.log","PANIC|FATAL|ERROR|[Ee]rror"]
i get this in error in zabbix-agent logfile:
87681:20140821:142054.145 there are no files matching 'postgresql-.*\.log' in '/var/log/pg_log/'
the path ist ok, also the access rights:
[root@zabbix-m01 /var/log/pg_log]# ls total 5 -rw-r--r-- 1 pgsql pgsql 265 Aug 21 13:55 postgresql-2014-08-21_135543.log
the regexp self is ok, testet with:
http://www.myregextester.com/index.php
any help here ?