I need a log file to be monitored. this log has various error codes, like "OK", "FILE NOT EXIST", "HTTP ERROR", etc.
What I want is that when the latest logs contain some keywords "FILE NOT EXIST" or "HTTP ERROR", the trigger will be fired, and send me the alert email.
But what I got is that sometimes the subject of alert email was "PROBLEM" and the item value in message was "xxx[OK]:xxx", zabbix didn't send me the error log, but sometimes it worked well.
Does anyone know it?
What I want is that when the latest logs contain some keywords "FILE NOT EXIST" or "HTTP ERROR", the trigger will be fired, and send me the alert email.
But what I got is that sometimes the subject of alert email was "PROBLEM" and the item value in message was "xxx[OK]:xxx", zabbix didn't send me the error log, but sometimes it worked well.
Does anyone know it?
Comment