Hello all ,
I need your help with logrt.
So I have updated my zabbix agents on 2 of my servers to v3.4 and now my logrt is not working on them. On the rest servers which I have v3.2 its working fine.
see below my Item and Trigger... Please note that the log files I am monitoring have this format: 20170911.log and every day it changes to the next day 20170912.log ...20170913.log etc etc.
The error I get is:
3752:20170911:093116.157 active check "logrt[C:\Program Files (x86)\MetaTrader Data Center Demo1\logs\*.*,,,,skip,]" is not supported: Cannot compile a regular expression describing filename pattern: ? * + invalid at offset 0
If there is a different way on which I can monitor these kind of files (20170912.log ...20170913.log etc etc.) I will appreciate it if you share it with me.
This is my ITEM
This is my Trigger
Thanks
I need your help with logrt.
So I have updated my zabbix agents on 2 of my servers to v3.4 and now my logrt is not working on them. On the rest servers which I have v3.2 its working fine.
see below my Item and Trigger... Please note that the log files I am monitoring have this format: 20170911.log and every day it changes to the next day 20170912.log ...20170913.log etc etc.
The error I get is:
3752:20170911:093116.157 active check "logrt[C:\Program Files (x86)\MetaTrader Data Center Demo1\logs\*.*,,,,skip,]" is not supported: Cannot compile a regular expression describing filename pattern: ? * + invalid at offset 0
If there is a different way on which I can monitor these kind of files (20170912.log ...20170913.log etc etc.) I will appreciate it if you share it with me.
This is my ITEM
Code:
logrt[C:\Program Files (x86)\MetaTrader Data Center Demo1\logs\*.*,,,,skip,]
Code:
Problem Expression: {serv1:logrt[C:\Program Files (x86)\MetaTrader Data Center
Demo1\logs\*.*,,,,skip,].str(Datafeed: no connection )}=1
Recovery Expression: {serv1:logrt[C:\Program Files (x86)\MetaTrader Data Center
Demo1\logs\*.*,,,,skip,].str(Datafeed: started)}=1
Thanks
Comment