Real time log file monitoring


#1

Hi, We are using 0.5.0.62 32bit and it’s possible to define file option with date in filename and what should be format definition in ini file? We have file with e.g. test_MM-DD-YYYY.log And do you have idea how I can send message which generate warning and append to this output specific row before e.g. append third line to the output before line with “hello warn” in log file?

[/settings/logfile/real-time/checks/sample] ;critical = line like 'crit’ destination = FILE,NSCA ;%Y.%m.%d %H:%M:%S file = d:\test_%mm_%dd-%YYYY.log filter = line like 'hello’ warning = line like ‘warn’

Thanks, Jan


#2

Not currently no, please open a ticket on github to request that feature…