Hi, I am monitoring a log file with Zabbix, but doesn't work. I am trying get a alert when the word "teste" show in log file.
In log, I get the following error
My .conf file
In attachament, print of my item.
In log, I get the following error
Code:
12680:20160829:202116.197 In process_logrt() is_logrt:0 filename:'D:\Zabbix\log.log' lastlogsize:87 mtime:0 12680:20160829:202116.197 In add_logfile() filename:'D:\Zabbix\log.log' mtime:1472505260 size:92 12680:20160829:202116.198 add_logfile() logfiles:00000000018C80B0 logfiles_alloc:64 12680:20160829:202116.198 End of add_logfile() 12680:20160829:202116.200 log files reside on 'NTFS' file system 12680:20160829:202116.200 setup_old2new: is_same_file(D:\Zabbix\log.log, D:\Zabbix\log.log) = 1 12680:20160829:202116.201 process_logrt() old file list: 12680:20160829:202116.201 nr:0 filename:'D:\Zabbix\log.log' mtime:1472505260 size:92 processed_size:87 seq:0 incomplete:1 dev:3658511862 ino_hi:0 ino_lo:868350303152376292 md5size:92 md5buf:89a297dc8898773d06c8404fdf2fcb21 12680:20160829:202116.202 process_logrt() new file list: (mtime:0 lastlogsize:87 start_idx:0) 12680:20160829:202116.202 nr:0 filename:'D:\Zabbix\log.log' mtime:1472505260 size:92 processed_size:87 seq:0 incomplete:1 dev:3658511862 ino_hi:0 ino_lo:868350303152376292 md5size:92 md5buf:89a297dc8898773d06c8404fdf2fcb21 12680:20160829:202116.203 End of process_logrt():SUCCEED 12680:20160829:202116.203 In need_meta_update() key:log["D:\Zabbix\log.log","teste"] 12680:20160829:202116.204 End of need_meta_update():FAIL
My .conf file
Code:
LogFile=D:\Zabbix\zabbix_agentd2.log ListenPort=10050 Server=10.26.230.151 HostnameItem=system.hostname[host] Hostname=tst-sps-04 DebugLevel=4 ServerActive=10.26.230.151
In attachament, print of my item.
Comment