Hi All,
I'm running Zabbix 1.8.14 (agent & server) and can't make the logrt[] to work..
I want to catch the string "Could not connect to any master nodes" but the log file name is not a standard name and for this reason I'm trying to use logrt with a regex patter to catch the string in log files that will be like :
/var/log/123kjvdkfj34kj34.log
/var/log/dfkj34kjfdksflj.log
Here is the Item in Zabbix I have created:
I can't see any error messages in the Agent logs and the item is not visible when I go to the dashboard -> latest data...
Any ideas what's wrong ?
Regards,
Nicolas.
I'm running Zabbix 1.8.14 (agent & server) and can't make the logrt[] to work..
I want to catch the string "Could not connect to any master nodes" but the log file name is not a standard name and for this reason I'm trying to use logrt with a regex patter to catch the string in log files that will be like :
/var/log/123kjvdkfj34kj34.log
/var/log/dfkj34kjfdksflj.log
Here is the Item in Zabbix I have created:
Code:
Type: Zabbix Agent (active) Key: logrt["/var/log/^.*\.log$","Could not connect to any master nodes",,] Type of information : Log
Any ideas what's wrong ?
Regards,
Nicolas.
Comment