Hi all,
I have a problem with the creation of a trigger that checks if a word was written within a certain time in a log.
I have this item and this trigger:
- logrt[/var/log/test.log,Evento terminato \:,,,skip,,,]
- {Template Test Log:logrt[/var/log/test.log,Evento terminato \:,,,skip,,,].nodata(1h)}=1 and {Template Test Log:logrt[/var/log/test.log,Evento terminato \:,,,skip,,,].time()}=004515
I would like Zabbix to verify the absence in the last hour of the string "Evento terminato :" in the log at 00:45, triggering the alarm.
I check the item in "Latest data" and it works correctly.
What am I doing wrong ?
Thanks a lot,
Vittorio
I have a problem with the creation of a trigger that checks if a word was written within a certain time in a log.
I have this item and this trigger:
- logrt[/var/log/test.log,Evento terminato \:,,,skip,,,]
- {Template Test Log:logrt[/var/log/test.log,Evento terminato \:,,,skip,,,].nodata(1h)}=1 and {Template Test Log:logrt[/var/log/test.log,Evento terminato \:,,,skip,,,].time()}=004515
I would like Zabbix to verify the absence in the last hour of the string "Evento terminato :" in the log at 00:45, triggering the alarm.
I check the item in "Latest data" and it works correctly.
What am I doing wrong ?
Thanks a lot,
Vittorio
Comment