A
Size: a a a
A
A
A
J
NK
NK
J
AL
*
$date_blabla_log.txt
.logrt["C:\trading\TradingWise_current\logs\.*_log.txt",".*\[Critical\].*"]
2020-01-09 00:07:03куда бы покопать?
[08.01.20 22:46:40] [Critical] [cppbitmex] Marketdata updates paused
*
1696:20200111:000009.042 the modification time of log file "C:\trading\TradingWise_current\logs\2020_01_10_log.txt" has been updated without changing its size, try checking again later
1696:20200111:000011.074 the modification time of log file "C:\trading\TradingWise_current\logs\2020_01_10_log.txt" has been updated without changing its size, try checking again later
1696:20200111:000011.075 the modification time of log file "C:\trading\TradingWise_current\logs\2020_01_10_log.txt" has been updated without changing its size, try checking again later
1696:20200111:000019.198 after changing modification time the size of log file "C:\trading\TradingWise_current\logs\2020_01_10_log.txt" still has not been updated, consider it to be a new file
1696:20200111:000021.276 after changing modification time the size of log file "C:\trading\TradingWise_current\logs\2020_01_10_log.txt" still has not been updated, consider it to be a new file
1696:20200111:000021.282 after changing modification time the size of log file "C:\trading\TradingWise_current\logs\2020_01_10_log.txt" still has not been updated, consider it to be a new file
И
$date_blabla_log.txt
.logrt["C:\trading\TradingWise_current\logs\.*_log.txt",".*\[Critical\].*"]
2020-01-09 00:07:03куда бы покопать?
[08.01.20 22:46:40] [Critical] [cppbitmex] Marketdata updates paused
logrt["C:\trading\TradingWise_current\logs\.*_log.txt",".*\[Critical\].*",,,skip]
OK
*
logrt["C:\trading\TradingWise_current\logs\.*_log.txt",".*\[Critical\].*",,,skip]
Yes, modification of log file 'mtime' without changing its size (a result of 'touch' command) triggers re-reading of log file from the start. It was designed this way to handle a situation when the log file is overwritten and the size happens to be the same.
Later we learned that 'mtime' and 'size' changes are not atomic - some systems and applications change 'mtime' first and 'size' later. So, we added a delay - once agent sees mtime increase without size increase, it waits until next check - maybe things will stabilize until then. If size has not increased until the next check the re-reading is triggered. This is to always be on the safe side - if in doubt then re-analyze again, do not skip data silently.
*
*
MK
proxy_cookie_path /zabbix /;
вот такая строчка в конфиге nginx, который стоит проксёй перед основным - помогла.*
logrt["C:\trading\TradingWise_current\logs\.*_log.txt",".*\[Critical\].*",,,skip]
И
AK