Ad Widget

Collapse

log file monitoring , item keys

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • maroctech
    Junior Member
    • Aug 2011
    • 10

    #1

    log file monitoring , item keys

    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 ??
  • Tractorboy
    Member
    • Oct 2010
    • 98

    #2
    Are you capturing the data?

    Is your item capturing the data?

    If not then that may be the bast place to start investigating

    Comment

    Working...