|
From: | MacKenzie, Gordie |
Subject: | local alerts |
Date: | Wed, 28 Mar 2018 14:07:01 +0000 |
Hi, I am configuring alerts for monitoring logfiles. I am currently looking for multiple content in a particular logfile. I would like to be notified at one email address for the occurrence of one string and at the global alert configuration.
Below, I’d like “ERROR” matches to go to the global email. I’d like Exception to go to local alert. Currently, I’m getting both alerts to the local alert only. I can’t add a second “check file” configuration for that logfile (monit errors on that). Is there
a way to do this? #global set alert address@hidden check file mylog.log with path /mylog.log if content = "ERROR" then alert if content = "Exception" then alert alert address@hidden #local alert
Gordie MacKenzie |
Integration Specialist
| Nova Scotia Power
Follow us on
Twitter
|
[Prev in Thread] | Current Thread | [Next in Thread] |