Ad Widget

Collapse

Trigger for logile monitoring with a lots of errors

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Tristan
    Senior Member
    • Feb 2008
    • 110

    #1

    Trigger for logile monitoring with a lots of errors

    Hello,

    i have a logfile and a trigger.

    The logfile is from a java based application, with writes a error to the log if the database is down. The problem is, is that it does it many times.

    The result is that i get many "Database down messages". Is het possible to change the trigger so that i get on message, until the trigger is cleared or after 15 minutes?

    This is my trigger:
    {template_javapp Webserver:log[/opt/javaapp/java/logs/sbm.log].str("[sjavadd][JDBC Driver]Object has been closed")}=1
  • Tristan
    Senior Member
    • Feb 2008
    • 110

    #2
    I have a solution

    different approach:
    https://www.zabbix.com/forum/showthr...=trigger+count and check the last post from Jerrylenk

    Check the logfile for a string. When the string is founds the nodata=1 trigger runs!

    Comment

    Working...