-1

i want monitoring event log event id:5002,5004,5007. i have create item: Item when i create trigger is error:Incorrect trigger expression. Check expression part starting from "eventlog[Applications,,,,<5002>,,].last(,86400)}=0". trigger

every day should be check event id: 5002,5004,5007. if this event id dont have is ok

Tarmo
  • 1
  • 1
  • 3

1 Answers1

0

The expression is missing the host reference. The general Zabbix trigger expression/item reference syntax is:

{host:item.function(param)}

What you have is more like:

item.function(param)}

Additionally, consider using the trigger configuration helper, the "Add" button next to the expression field. It will allow to select the item and will build the basic expression for you - you can then update the function, its parameters and other values.

Additionally, your trigger function is wrong. Consider using str(), count() or a similar function - please familiarise yourself with the available Zabbix trigger functions.

Richlv
  • 2,354
  • 1
  • 13
  • 18