Hey,
Im having problems creating simple trigger on zabbix 6.2, when any new data shows up it log file I want to execute trigger.
In zabbix 5.x i did it:
1. item - logrt[/path/to/log/error_files_*]
2. trigger - {host:logrt[/path/to/log/error_files_*].last(#1)}<>0
This works without problems, whenever something new shows up in error_files_* trigger gets executed.
In zabbix 6.2 i did it:
1. item - logrt[/path/to/log/error_files_*]
2. trigger - last(/host/logrt[/path/to/log/error_files_*],#1)
Created trigger based on this https://www.zabbix.com/documentation...ctions/history
But this doesn't work, items is updated with latest entries, but trigger not firing.
Can you please advise a proper trigger in zabbix 6.2 which would execute if any new data shows up in error_files_* logs?
Thanks in advance.
Im having problems creating simple trigger on zabbix 6.2, when any new data shows up it log file I want to execute trigger.
In zabbix 5.x i did it:
1. item - logrt[/path/to/log/error_files_*]
2. trigger - {host:logrt[/path/to/log/error_files_*].last(#1)}<>0
This works without problems, whenever something new shows up in error_files_* trigger gets executed.
In zabbix 6.2 i did it:
1. item - logrt[/path/to/log/error_files_*]
2. trigger - last(/host/logrt[/path/to/log/error_files_*],#1)
Created trigger based on this https://www.zabbix.com/documentation...ctions/history
Example:
=> last(/host/key) → retrieve the last value
=> last(/host/key) → retrieve the last value
Can you please advise a proper trigger in zabbix 6.2 which would execute if any new data shows up in error_files_* logs?
Thanks in advance.
Comment