Hi all,
I am beginner with Zabbix
I installed Zabbix server on a Ubuntu machine and two agents (Linux and windows) so far everything is going well ...
I want to go up Zabbix alerts when a string of characters appears in a log.
(actually I already have scripts that monitor applications and logs the results and i would like to use Zabbix to raise the alert of a string appear in one of these logs.
Digging on www I found things like :
(server_xxx: log[/tmp/log_test.txt, ERROR].str(ERROR)=1)
It is not quite what I want.
I d'ont really understand the "synatx" of log [C: \ tmp \ log_test.txt, ERROR]. str (ERROR)
what seems .str(ERROR) in this case ?
I would like an alert for any new case found in the log ...
Did someone use the log[] fonction ?
Thank you,
Chazo
I am beginner with Zabbix
I installed Zabbix server on a Ubuntu machine and two agents (Linux and windows) so far everything is going well ...
I want to go up Zabbix alerts when a string of characters appears in a log.
(actually I already have scripts that monitor applications and logs the results and i would like to use Zabbix to raise the alert of a string appear in one of these logs.
Digging on www I found things like :
(server_xxx: log[/tmp/log_test.txt, ERROR].str(ERROR)=1)
It is not quite what I want.
I d'ont really understand the "synatx" of log [C: \ tmp \ log_test.txt, ERROR]. str (ERROR)
what seems .str(ERROR) in this case ?
I would like an alert for any new case found in the log ...
Did someone use the log[] fonction ?
Thank you,
Chazo
Comment