|
Re: Global set alert does not work with included files: msg#00029monitoring.monit.general
Hello, i looked on it but i don't understand what is your problem. The examples don't contain mentioned 'address@xxxxxxxxx', thus i'm not sure what was your intent. When you set global alert, monit will use it for any corresponding event for any service. Your statement: set alert francois@xxxxxxxxxxxx should cause monit to deliver any event type alert for any service to 'francois@xxxxxxxxxxxx' address. Because the outgoing 'from:' was not specified, monit will use 'monit@$HOST' as outgoing address. Alert statement definition which is local (i.e. defined directly in particular service check) has precedence over global, in the case that the recipient match. Because you used such a configuration, the line in: check process Mysql ... ... alert francois@xxxxxxxxxxxx with mail-format { from: alerte@xxxxxxxxxxxx } will override the global alert for the same recipient - the only difference is the outgoing address. Maybe your qmail doesn't allow the outgoing address of the form 'monit@$HOST' where $HOST is result of gethostname() call or just 'localhost'? Martin Francois FOURRIER wrote: Hello everyone, -- To unsubscribe: http://lists.nongnu.org/mailman/listinfo/monit-general |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Any changes to the "restarts within" syntax: 00029, Andrew Cant |
|---|---|
| Next by Date: | Re: Any changes to the "restarts within" syntax: 00029, Martin Pala |
| Previous by Thread: | Any changes to the "restarts within" syntaxi: 00029, Andrew Cant |
| Next by Thread: | mysql protocol problems - monit 4.5.1: 00029, unruhtech |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |