Hi ,I'm working in Zabbix 1.8, I want a key for an item of "log files" type like this :
log["/home/user/file.log","pattern_to_match","UTF-8",100]
since I am working under windows n trying to monitor the file "Yassine.log"
I tried many expessions :
log["C:\Yassine.log","error","UTF-8",100]
log["C:\Yassine.log","error","ASCII",100]
Now if I choose to use a "Log Trigger" and not creating a new one , the Trigger includes the fonction iregexp like this :
(({dx2300:log["C:\Yassine.log","error","UTF-8",100].iregexp(({dx2300:log[C:\Yassine.log])})#0)
And I can't use another fonction like str() or nodata() .
do u have a better item key idea ??
log["/home/user/file.log","pattern_to_match","UTF-8",100]
since I am working under windows n trying to monitor the file "Yassine.log"
I tried many expessions :
log["C:\Yassine.log","error","UTF-8",100]
log["C:\Yassine.log","error","ASCII",100]
Now if I choose to use a "Log Trigger" and not creating a new one , the Trigger includes the fonction iregexp like this :
(({dx2300:log["C:\Yassine.log","error","UTF-8",100].iregexp(({dx2300:log[C:\Yassine.log])})#0)
And I can't use another fonction like str() or nodata() .
do u have a better item key idea ??
Comment