Hi,
I just install Zabbix 5.4 and I would like to setup monitoring & trigger for log file if found specific word like e.g OutOfMemory.
here is my trigger but it does not work and have error.
Trigger: {hostxxx:log[/tmp/test.log,OutOfMemory,,,skip].regexp(OutOfMemory)}=1
Error: Invalid parameter "/1/expression": incorrect expression starting from "{hostxxx:log[/tmp/test.log,OutOfMemory,,,skip].regexp(OutOfMemory)}=1".
seek advice how to fix this?
I just install Zabbix 5.4 and I would like to setup monitoring & trigger for log file if found specific word like e.g OutOfMemory.
here is my trigger but it does not work and have error.
Trigger: {hostxxx:log[/tmp/test.log,OutOfMemory,,,skip].regexp(OutOfMemory)}=1
Error: Invalid parameter "/1/expression": incorrect expression starting from "{hostxxx:log[/tmp/test.log,OutOfMemory,,,skip].regexp(OutOfMemory)}=1".
seek advice how to fix this?
Comment