Ad Widget

Collapse

Zabbix 3.2 - Log monitoring too many alerts for same pattern

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pushpendra.singh
    Junior Member
    • Aug 2017
    • 2

    #1

    Zabbix 3.2 - Log monitoring too many alerts for same pattern

    I am monitoring the log files from zabbix, however, Problem i have is , it is sending too many emails for similar log pattern.

    for example ,

    if ERROR found in a line of logfile then send an email due to which i am getting huge alerts . Is there any way through which i can check if line containing "ERROR" keyword is having different pattern ?

    I am getting three alerts for below three lines but i want one alert. But when their pattern is not same in that case i should be getting three alerts .


    Pattern is same: i should be getting only one email.

    [ERROR] 2018-05-08 03:14:38.957 [stream_4] CSVDataProvider - java.time.format.DateTimeParseException: Text '13/01/2015 00:00:00.000' could not be parsed: Invalid value for MonthOfYear (valid values 1 - 12): 13
    [ERROR] 2018-05-08 03:14:39.957 [stream_4] CSVDataProvider - java.time.format.DateTimeParseException: Text '13/01/2015 00:00:00.000' could not be parsed: Invalid value for MonthOfYear (valid values 1 - 12): 13
    ​​​​​​​[ERROR] 2018-05-08 03:14:40.957 [stream_4] CSVDataProvider - java.time.format.DateTimeParseException: Text '13/01/2015 00:00:00.000' could not be parsed: Invalid value for MonthOfYear (valid values 1 - 12): 13


    for below ​​​​​​​Pattern is not same ==> for which i am ok to get three alerts

    [ERROR] 2018-05-08 03:14:38.957 [stream_4] CSVDataProvider - java.time.format.DateTimeParseException: Text '13/01/2015 00:00:00.000' could not be parsed: Invalid value for MonthOfYear (valid values 1 - 12): 13
    ​​​​​​​[ERROR] 2018-05-08 03:14:39.957 [stream_4] MARKETDataProvider - java.time.format.DateTimeParseException: Text '13/01/2015 00:00:00.000' could not be parsed: Invalid value for MonthOfYear (valid values 1 - 12): 13
    ​​​​​​​[ERROR] 2018-05-08 03:14:40.957 [stream_4] REFRENCEDataProvider - java.time.format.DateTimeParseException: Text '13/01/2015 00:00:00.000' could not be parsed: Invalid value for MonthOfYear (valid values 1 - 12): 13


    Please help me to fix this








Working...