Hi all,
I've managed to monitor some application and windows logs using the Zabbix Active Agent. All information from the logs is returned, so that's looking good.
Now I want to setup triggers to get notifications on various conditions. For example I want to get notified when an ERROR or WARNING message comes in.
When I create a trigger based on the string Error, the trigger is fired but removed after a new (Information) line is received. Besides that I don't get the specific error message in the trigger.
What's the best way to deal with this situation ?
- Should I create 2 different items for the logfile for both ERROR and WARNINGS ?
- How can I retrieve the specific ERROR message in the triggername, so It's mentioned in the console directly ?
Besides that I want to count the number of ERROR messages per day in the log. Is that possible and how should I set this up ?
Thanks for any assistance !
I've managed to monitor some application and windows logs using the Zabbix Active Agent. All information from the logs is returned, so that's looking good.
Now I want to setup triggers to get notifications on various conditions. For example I want to get notified when an ERROR or WARNING message comes in.
When I create a trigger based on the string Error, the trigger is fired but removed after a new (Information) line is received. Besides that I don't get the specific error message in the trigger.
What's the best way to deal with this situation ?
- Should I create 2 different items for the logfile for both ERROR and WARNINGS ?
- How can I retrieve the specific ERROR message in the triggername, so It's mentioned in the console directly ?
Besides that I want to count the number of ERROR messages per day in the log. Is that possible and how should I set this up ?
Thanks for any assistance !
Comment