Hello team;
I'm creating an monitoring process to detect a phrase in a log file, actually, the trigger is activated when Zabbix detect the regexp, now, our engineering team needs to, if the phrase shows in our logs almost 100 times by minute, the trigger is activated.
Here is my trigger:
{server02.server.com:logrt["/var/log/web/api/api_[0-9]_Production.log","Error to call the function"].iregexp(Error to call the function,60)}=1 and {server02.server.com:logrt["/var/log/web/api/api_[0-9]_Production.log","Error to call the function"].iregexp(Error to call the function,#100)}=1
Regards from Colombia.
Cristian.
I'm creating an monitoring process to detect a phrase in a log file, actually, the trigger is activated when Zabbix detect the regexp, now, our engineering team needs to, if the phrase shows in our logs almost 100 times by minute, the trigger is activated.
Here is my trigger:
{server02.server.com:logrt["/var/log/web/api/api_[0-9]_Production.log","Error to call the function"].iregexp(Error to call the function,60)}=1 and {server02.server.com:logrt["/var/log/web/api/api_[0-9]_Production.log","Error to call the function"].iregexp(Error to call the function,#100)}=1
Regards from Colombia.
Cristian.