Hi.
I'm replacing the Nagios by Zabbix. That is why I have a lot of questions here.
In Nagios, I can monitor a log file. When an Error Message show up, one e-mail is send informing something like this:
ERROR found
Error - Erro Searching information from file 1234567 (the line of log that have the ERROR word)
or
ERROR found
Error - java.lang.NullPointerException (the line of log that have the ERROR word)
In zabbix I do this:
Name: Check ERROR on Software log
Type:Zabbix agent (acitve)
key:log[/opt/logs/SystemFIndex.log,ERROR,us-ascii,,,]
Type of Information:Log
And configured the trigger:
{server13:log[/opt/logs/SystemFIndex.log,ERROR,us-ascii,,,].str()}=0
How I make something like Nagios did? When zabbix find out the word ERROR, will inform all the line where the word is.
I'm replacing the Nagios by Zabbix. That is why I have a lot of questions here.
In Nagios, I can monitor a log file. When an Error Message show up, one e-mail is send informing something like this:
ERROR found
Error - Erro Searching information from file 1234567 (the line of log that have the ERROR word)
or
ERROR found
Error - java.lang.NullPointerException (the line of log that have the ERROR word)
In zabbix I do this:
Name: Check ERROR on Software log
Type:Zabbix agent (acitve)
key:log[/opt/logs/SystemFIndex.log,ERROR,us-ascii,,,]
Type of Information:Log
And configured the trigger:
{server13:log[/opt/logs/SystemFIndex.log,ERROR,us-ascii,,,].str()}=0
How I make something like Nagios did? When zabbix find out the word ERROR, will inform all the line where the word is.
Comment