[ovirt-users] Can't send emails

RASTELLI Alessandro alessandro.rastelli at skytv.it
Wed Feb 18 03:58:44 EST 2015


It seems to me that the trigger GLUSTER_BRICK_STATUS_CHANGED only works from “unknown” to “up” but not viceversa (which would be more useful)
Can you confirm this?
There are other triggers for notifying a host down?
thanks
A.

From: Tim Macy [mailto:macytd at gmail.com]
Sent: martedì 17 febbraio 2015 18:10
To: RASTELLI Alessandro
Cc: users
Subject: Re: [ovirt-users] Can't send emails

Confirm that the ovirt-engine-notifier service is running.  By default it is set disabled/off.

ovirt-engine-notifier   0:off    1:off    2:off    3:off    4:off    5:off    6:off

On Tue, Feb 17, 2015 at 11:50 AM, RASTELLI Alessandro <alessandro.rastelli at skytv.it<mailto:alessandro.rastelli at skytv.it>> wrote:
Hi,
I can’t send event-related emails from oVirt.
I configured /usr/share/ovirt-engine/services/ovirt-engine-notifier/ovirt-engine-notifier.conf as follows and restarted ovirt-engine:

#--------------#
# Event Filter #
#--------------#

# Filter logic.
#
# First match algorithm for include/exclude messages.
# Entry is message|*(subscriber|*)
# * = all messages/all subscribers.
# * as a subscriber should be used only for exclude.
#
# Message constants can be found at:
# /usr/share/doc/ovirt-engine/AuditLogMessages.properties
#
# examples:
# FILTER="include:VDC_START(smtp:mail at example.com<mailto:smtp%3Amail at example.com>) ${FILTER}"
# FILTER="exclude:VDC_START include:*(smtp:mail1 at gmail.com<mailto:smtp%3Amail1 at gmail.com>) ${FILTER}"
#
# The final filter list contains FILTER  as well as 'event_subscriber' table records.
# database record are considered first.
#FILTER="exclude:*"
FILTER="include:*(smtp:xxx.xxx at skytv.it<mailto:smtp%3Axxx.xxx at skytv.it>)"

#---------------------#
# EMAIL Notifications #
#---------------------#

# The SMTP mail server address. Required.
MAIL_SERVER=192.168.xxx.xxx

# The SMTP port (usually 25 for plain SMTP, 465 for SMTP with SSL, 587 for SMTP with TLS)
MAIL_PORT=25

# Required if SSL or TLS enabled to authenticate the user. Used also to specify 'from' user address if mail server
# supports, when MAIL_FROM is not set. Address is in RFC822 format
MAIL_USER=

# Required to authenticate the user if mail server requires authentication or if SSL or TLS is enabled
SENSITIVE_KEYS="${SENSITIVE_KEYS},MAIL_PASSWORD"
MAIL_PASSWORD=

# Indicates type of encryption (none, ssl or tls) should be used to communicate with mail server.
MAIL_SMTP_ENCRYPTION=none
# If set to true, sends a message in HTML format.
HTML_MESSAGE_FORMAT=false

# Specifies 'from' address on sent mail in RFC822 format, if supported by mail server.
MAIL_FROM=alarm.ovirt at int.sky.it<mailto:alarm.ovirt at int.sky.it>

# Specifies 'reply-to' address on sent mail in RFC822 format.
MAIL_REPLY_TO=

# Interval to send smtp messages per # of IDLE_INTERVAL
MAIL_SEND_INTERVAL=1

# Amount of times to attempt sending an email before failing.
MAIL_RETRIES=4

Do I need to make something else?
Thank you
Alessandro

_______________________________________________
Users mailing list
Users at ovirt.org<mailto:Users at ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20150218/ef73bcb2/attachment-0001.html>


More information about the Users mailing list