I have set up:
ITEM
Name: Application Log
Key: eventlog[Application]
Name: System Log
Key: eventlog[System]
TRIGGER
Name:Application Log ERROR
Expression: {Windows Logging:eventlog[Application]. logseverity( 4 ) }=4
Name: System Log ERROR
Expression: {Windows Logging:eventlog[System]. logseverity( 4 ) }=4
These are from Windows Logging template found on wiki so they should be fine unless i messed them up somehow.
Then i have actions:
Name: Event Application Info
Conditions: Trigger = "Application Log ERROR"
Trigger severity = "High"
Trigger value = "PROBLEM"
The Event System Info action is currently disabled.
The problem:
As long as I have Trigger = "Application Log ERROR" in conditions, Zabbix will not generate any e-mail. If I remove that condition, then, ofcourse, zabbix will e-mail both the application error event (which is fine) and another e-mail with whatever system log message was most recently logged (which I don't need).
How do I configure an action that sends notification only when a specific trigger is activated?
ITEM
Name: Application Log
Key: eventlog[Application]
Name: System Log
Key: eventlog[System]
TRIGGER
Name:Application Log ERROR
Expression: {Windows Logging:eventlog[Application]. logseverity( 4 ) }=4
Name: System Log ERROR
Expression: {Windows Logging:eventlog[System]. logseverity( 4 ) }=4
These are from Windows Logging template found on wiki so they should be fine unless i messed them up somehow.
Then i have actions:
Name: Event Application Info
Conditions: Trigger = "Application Log ERROR"
Trigger severity = "High"
Trigger value = "PROBLEM"
The Event System Info action is currently disabled.
The problem:
As long as I have Trigger = "Application Log ERROR" in conditions, Zabbix will not generate any e-mail. If I remove that condition, then, ofcourse, zabbix will e-mail both the application error event (which is fine) and another e-mail with whatever system log message was most recently logged (which I don't need).
How do I configure an action that sends notification only when a specific trigger is activated?
Comment