Good morning,
I have create a trigger that would check if a log file of windows application (c: \ Program Files \ DisplayUnit \ DisplayUnit.log) there is the word TIMEOUT, if find the word for more than two times over the past 5 minutes a time of 20 hours the event is raised.
The string that I created is this:
{DU2_5:log[c:\ProgramFiles\DisplayUnit\DisplayUnit.log].count(300,TIMEOUT,eq,1200)}>2
this trigger diplay this "Trigger expression updated. No status update so far".
The item is:
Host: DU_5
Name: Check_logFile_TIMEOUT
Type: Zabbix Agent
Key: log[c:\ProgramFiles\DisplayUnit\DisplayUnit.log]
Host interface: 172.30.x.x
Type of information: log
Update interval (in sec): 30
Keep history (in days): 7
Log time format: yyyy/MM/ddphh.mm.ss
Applications: None
Description:Check log file in Display Units
Status: Enable
Any suggestions?
I have create a trigger that would check if a log file of windows application (c: \ Program Files \ DisplayUnit \ DisplayUnit.log) there is the word TIMEOUT, if find the word for more than two times over the past 5 minutes a time of 20 hours the event is raised.
The string that I created is this:
{DU2_5:log[c:\ProgramFiles\DisplayUnit\DisplayUnit.log].count(300,TIMEOUT,eq,1200)}>2
this trigger diplay this "Trigger expression updated. No status update so far".
The item is:
Host: DU_5
Name: Check_logFile_TIMEOUT
Type: Zabbix Agent
Key: log[c:\ProgramFiles\DisplayUnit\DisplayUnit.log]
Host interface: 172.30.x.x
Type of information: log
Update interval (in sec): 30
Keep history (in days): 7
Log time format: yyyy/MM/ddphh.mm.ss
Applications: None
Description:Check log file in Display Units
Status: Enable
Any suggestions?
Comment