Check_logfile current date in log file


#1

How to to get current date in format YYYY-MM-DD HH:MM ? I tried python syntax, but it don’t work:

check_logfile file=C:\Users\some\Desktop\yyy.txt column-split=\t "filter=column3 = `now.strftime("%Y-%m-%d")`" "warn=count > '0'"

NSClient++ 4.2.114 on Windows serve r