Greetings Zabbix Community,
Trying to setup Zabbix to show incomming loggin by syslog log files.
I try to create an trigger which triggers when the last value occurs in the last 5 minutes of x amount of items.
The following expression is created:
Also the following does not work:
I'm sure the count function works like it should be, when i fill in de variable manually the item does trigger.
But when i try to get a value out of an other items which is containing the data is seems to not work.
Could someone tell me if this is even possible? Thanks and greetings.
Trying to setup Zabbix to show incomming loggin by syslog log files.
I try to create an trigger which triggers when the last value occurs in the last 5 minutes of x amount of items.
The following expression is created:
Code:
count(/Syslog server/log[/test.log,"((?:[01]\d|2[0123]):(?:[012345]\d):(?:[012345]\d)).(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})",,,,\2],5m,"like","last(/Syslog server/log[/test.log,"((?:[01]\d|2[0123]):(?:[012345]\d):(?:[012345]\d)).(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})",,,,\2],#1)")>3
Code:
count(/Syslog server/log[/test.log,"((?:[01]\d|2[0123]):(?:[012345]\d):(?:[012345]\d)).(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})",,,,\2],5m,"like","{ITEM.LASTVALUE}")>3
But when i try to get a value out of an other items which is containing the data is seems to not work.
Could someone tell me if this is even possible? Thanks and greetings.
Comment