Hi All,
I'm able to successful monitor log files send notifications alerts.
Using nodata in the trigger the alert goes clear after 10 minutes if the string patter doesn't appear again in the logs.
I want to have something more sophisticated, for example in /var/log/messages :
If a host losse the connection with a server the application will write in the /var/log/messages "server lost connection" .
If a host finds again the connection with the server the application will write to the /var/log/messages "server connection restored" .
So basically what I want to do in Zabbix is to monitoring the log file and
fire an alert when "server lost connection" is found in the logs and clears the alert only when "server connection restored" is logged.
Is there a way we can do this in Zabbix ? any help ?
Regards,
Nicolas.
I'm able to successful monitor log files send notifications alerts.
Using nodata in the trigger the alert goes clear after 10 minutes if the string patter doesn't appear again in the logs.
I want to have something more sophisticated, for example in /var/log/messages :
If a host losse the connection with a server the application will write in the /var/log/messages "server lost connection" .
If a host finds again the connection with the server the application will write to the /var/log/messages "server connection restored" .
So basically what I want to do in Zabbix is to monitoring the log file and
fire an alert when "server lost connection" is found in the logs and clears the alert only when "server connection restored" is logged.
Is there a way we can do this in Zabbix ? any help ?
Regards,
Nicolas.
Comment